blob: fa23dc2861540d703c3d2d62f0954596ae721480 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
using DotNetOAuth.Messages;
using DotNetOAuth.Messaging;
/// <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; }
}
|