Méthode | Description | |
---|---|---|
AddAuthenticationStep ( IAuthenticationStep step ) : void | ||
Dispose ( ) : void | ||
GetTokenFromAuthorizationHeader ( |
Gets the access token from the Authorization header of the incoming request.
|
|
GetTokenFromQueryString ( |
Gets the access token from the querystring of the incoming request.
|
|
Init ( System.Web.HttpApplication context ) : void | ||
SetAuthenticationPipeline ( IEnumerable |
Méthode | Description | |
---|---|---|
ReadAndValidateToken ( string accessToken, WindowsAzure.Acs.Oauth2.ResourceServer.ResourceAccessErrorResponse &error ) : bool |
This method parses the incoming token and validates it.
|
|
TryReadAccessToken ( |
This method looks for the access token in the incoming request.
|
Méthode | Description | |
---|---|---|
AuthenticateRequest ( object sender, |
public AddAuthenticationStep ( IAuthenticationStep step ) : void | ||
step | IAuthenticationStep | |
Résultat | void |
public GetTokenFromAuthorizationHeader ( |
||
request | The Http request message. | |
Résultat | string |
public GetTokenFromQueryString ( |
||
request | The Http request message. | |
Résultat | string |
public Init ( System.Web.HttpApplication context ) : void | ||
context | System.Web.HttpApplication | |
Résultat | void |
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. |
Résultat | bool |
public SetAuthenticationPipeline ( IEnumerable |
||
pipeline | IEnumerable |
|
Résultat | void |
protected TryReadAccessToken ( |
||
request | The incoming request message. | |
accessToken | string | This out parameter contains the access token if found. |
Résultat | bool |