Method | Description | |
---|---|---|
AddAuthenticationStep ( IAuthenticationStep step ) : void | ||
GetTokenFromAuthorizationHeader ( |
Gets the access token from the Authorization header of the incoming request.
|
|
OAuth2MessageHandler ( ) : System | ||
OAuth2MessageHandler ( string realm, string issuer, string tokenSigningKey ) : System | ||
SetAuthenticationPipeline ( IEnumerable |
Method | Description | |
---|---|---|
ReadAndValidateToken ( string accessToken, WindowsAzure.Acs.Oauth2.ResourceServer.ResourceAccessErrorResponse &error ) : bool |
This method parses the incoming token and validates it.
|
|
SendAsync ( |
||
TryReadAccessToken ( |
This method looks for the access token in the incoming request.
|
public AddAuthenticationStep ( IAuthenticationStep step ) : void | ||
step | IAuthenticationStep | |
return | void |
public GetTokenFromAuthorizationHeader ( |
||
request | The Http request message. | |
return | string |
public OAuth2MessageHandler ( string realm, string issuer, string tokenSigningKey ) : System | ||
realm | string | |
issuer | string | |
tokenSigningKey | string | |
return | System |
protected ReadAndValidateToken ( string accessToken, WindowsAzure.Acs.Oauth2.ResourceServer.ResourceAccessErrorResponse &error ) : bool | ||
accessToken | string | The incoming access token. |
error | WindowsAzure.Acs.Oauth2.ResourceServer.ResourceAccessErrorResponse | This out paramter is set if any error occurs. |
return | bool |
protected SendAsync ( |
||
request | ||
cancellationToken | ||
return | Task |
public SetAuthenticationPipeline ( IEnumerable |
||
pipeline | IEnumerable |
|
return | void |
protected TryReadAccessToken ( |
||
request | The incoming request message. | |
accessToken | string | This out parameter contains the access token if found. |
return | bool |