using DotNetOpenAuth.Messaging; using DotNetOpenAuth.OAuth.Messages; /// /// A custom web app version of the message sent to request an unauthorized token. /// public class RequestScopedTokenMessage : UnauthorizedTokenRequest { /// /// Initializes a new instance of the class. /// /// The endpoint that will receive the message. public RequestScopedTokenMessage(MessageReceivingEndpoint endpoint) : base(endpoint) { } /// /// Gets or sets the scope of the access being requested. /// [MessagePart("scope", IsRequired = true)] public string Scope { get; set; } }