C# Class FluentHttp.Authenticators.OAuth2AuthorizationRequestHeaderBearerAuthenticator

http://tools.ietf.org/html/draft-ietf-oauth-v2-bearer-05#section-2.1
Inheritance: OAuth2BearerAuthenticator
Afficher le fichier Open project: prabirshrestha/FluentHttp

Méthodes publiques

Méthode Description
Authenticate ( FluentHttpRequest fluentHttpRequest ) : void

Authenticate the fluent http request using OAuth2 authorization header bearer_token.

OAuth2AuthorizationRequestHeaderBearerAuthenticator ( string bearerToken ) : System

Initializes a new instance of the OAuth2AuthorizationRequestHeaderBearerAuthenticator class.

Method Details

Authenticate() public méthode

Authenticate the fluent http request using OAuth2 authorization header bearer_token.
public Authenticate ( FluentHttpRequest fluentHttpRequest ) : void
fluentHttpRequest FluentHttpRequest The fluent http request.
Résultat void

OAuth2AuthorizationRequestHeaderBearerAuthenticator() public méthode

Initializes a new instance of the OAuth2AuthorizationRequestHeaderBearerAuthenticator class.
public OAuth2AuthorizationRequestHeaderBearerAuthenticator ( string bearerToken ) : System
bearerToken string The oauth 2 bearer_token.
Résultat System