blob: b33a734997289aec4f206686eec15e8e8c88a69f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
using DotNetOpenAuth.Messaging;
using DotNetOpenAuth.OAuth.Messages;
/// <summary>
/// A custom web app version of the message sent to request an unauthorized token.
/// </summary>
public class RequestScopedTokenMessage : UnauthorizedTokenRequest {
/// <summary>
/// Initializes a new instance of the <see cref="RequestScopedTokenMessage"/> class.
/// </summary>
/// <param name="endpoint">The endpoint that will receive the message.</param>
public RequestScopedTokenMessage(MessageReceivingEndpoint endpoint) : base(endpoint) {
}
/// <summary>
/// Gets or sets the scope of the access being requested.
/// </summary>
[MessagePart("scope", IsRequired = true)]
public string Scope { get; set; }
}
|