Method | Description | |
---|---|---|
ApproveAuthorizationRequest ( DotNetOpenAuth.OAuth2.Messages.EndUserAuthorizationRequest authorizationRequest, string userName, IEnumerable |
Approves an authorization request and sends an HTTP response to the user agent to redirect the user back to the Client.
|
|
AuthorizationServer ( IAuthorizationServer authorizationServer ) : System |
Initializes a new instance of the AuthorizationServer class.
|
|
HandleTokenRequest ( System.Web.HttpRequestBase request = null ) : DotNetOpenAuth.Messaging.OutgoingWebResponse |
Handles an incoming request to the authorization server's token endpoint.
|
|
PrepareApproveAuthorizationRequest ( DotNetOpenAuth.OAuth2.Messages.EndUserAuthorizationRequest authorizationRequest, string userName, IEnumerable |
Approves an authorization request.
|
|
PrepareRejectAuthorizationRequest ( DotNetOpenAuth.OAuth2.Messages.EndUserAuthorizationRequest authorizationRequest, |
Prepares a response to inform the Client that the user has rejected the Client's authorization request.
|
|
RejectAuthorizationRequest ( EndUserAuthorizationRequest authorizationRequest, Uri callback = null ) : void |
Rejects an authorization request and sends an HTTP response to the user agent to redirect the user back to the Client.
|
Method | Description | |
---|---|---|
GetCallback ( DotNetOpenAuth.OAuth2.Messages.EndUserAuthorizationRequest authorizationRequest ) : |
Gets the redirect URL to use for a particular authorization request.
|
Method | Description | |
---|---|---|
PrepareAccessTokenResponse ( DotNetOpenAuth.OAuth2.Messages.AccessTokenRequestBase request, bool includeRefreshToken = true ) : DotNetOpenAuth.OAuth2.Messages.AccessTokenSuccessResponse |
Prepares the response to an access token request.
|
|
ReadAuthorizationRequest ( System.Web.HttpRequestBase request = null ) : DotNetOpenAuth.OAuth2.Messages.EndUserAuthorizationRequest |
public ApproveAuthorizationRequest ( DotNetOpenAuth.OAuth2.Messages.EndUserAuthorizationRequest authorizationRequest, string userName, IEnumerable |
||
authorizationRequest | DotNetOpenAuth.OAuth2.Messages.EndUserAuthorizationRequest | The authorization request to approve. |
userName | string | The username of the account that approved the request (or whose data will be accessed by the client). |
scopes | IEnumerable |
The scope of access the client should be granted. If |
callback | The Client callback URL to use when formulating the redirect to send the user agent back to the Client. | |
return | void |
public AuthorizationServer ( IAuthorizationServer authorizationServer ) : System | ||
authorizationServer | IAuthorizationServer | The authorization server. |
return | System |
protected GetCallback ( DotNetOpenAuth.OAuth2.Messages.EndUserAuthorizationRequest authorizationRequest ) : |
||
authorizationRequest | DotNetOpenAuth.OAuth2.Messages.EndUserAuthorizationRequest | The authorization request. |
return |
public HandleTokenRequest ( System.Web.HttpRequestBase request = null ) : DotNetOpenAuth.Messaging.OutgoingWebResponse | ||
request | System.Web.HttpRequestBase | The HTTP request. |
return | DotNetOpenAuth.Messaging.OutgoingWebResponse |
public PrepareApproveAuthorizationRequest ( DotNetOpenAuth.OAuth2.Messages.EndUserAuthorizationRequest authorizationRequest, string userName, IEnumerable |
||
authorizationRequest | DotNetOpenAuth.OAuth2.Messages.EndUserAuthorizationRequest | The authorization request to approve. |
userName | string | The username of the account that approved the request (or whose data will be accessed by the client). |
scopes | IEnumerable |
The scope of access the client should be granted. If |
callback | The Client callback URL to use when formulating the redirect to send the user agent back to the Client. | |
return | DotNetOpenAuth.OAuth2.Messages.EndUserAuthorizationSuccessResponseBase |
public PrepareRejectAuthorizationRequest ( DotNetOpenAuth.OAuth2.Messages.EndUserAuthorizationRequest authorizationRequest, |
||
authorizationRequest | DotNetOpenAuth.OAuth2.Messages.EndUserAuthorizationRequest | The authorization request. |
callback | The Client callback URL to use when formulating the redirect to send the user agent back to the Client. | |
return | DotNetOpenAuth.OAuth2.Messages.EndUserAuthorizationFailedResponse |
public RejectAuthorizationRequest ( EndUserAuthorizationRequest authorizationRequest, Uri callback = null ) : void | ||
authorizationRequest | EndUserAuthorizationRequest | The authorization request to disapprove. |
callback | Uri | The Client callback URL to use when formulating the redirect to send the user agent back to the Client. |
return | void |