blob: 7043a2f9b98a5b436f1799524ba322318e78b309 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
//-----------------------------------------------------------------------
// <copyright file="ConsumerDescription.cs" company="Andrew Arnott">
// Copyright (c) Andrew Arnott. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace DotNetOAuth.Test.OAuth {
/// <summary>
/// Information necessary to initialize a <see cref="Consumer"/>,
/// and to tell a <see cref="ServiceProvider"/> about it.
/// </summary>
/// <remarks>
/// Immutable.
/// </remarks>
internal class ConsumerDescription {
/// <summary>
/// Initializes a new instance of the <see cref="ConsumerDescription"/> class.
/// </summary>
/// <param name="key">The consumer key.</param>
/// <param name="secret">The consumer secret.</param>
internal ConsumerDescription(string key, string secret) {
this.ConsumerKey = key;
this.ConsumerSecret = secret;
}
/// <summary>
/// Gets the consumer key.
/// </summary>
/// <value>The consumer key.</value>
internal string ConsumerKey { get; private set; }
/// <summary>
/// Gets the consumer secret.
/// </summary>
/// <value>The consumer secret.</value>
internal string ConsumerSecret { get; private set; }
}
}
|