C# Class FluentHttp.Authenticators.OAuth2AuthorizationRequestHeaderBearerAuthenticator

http://tools.ietf.org/html/draft-ietf-oauth-v2-bearer-05#section-2.1
Inheritance: OAuth2BearerAuthenticator
显示文件 Open project: prabirshrestha/FluentHttp

Public Methods

Method 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 method

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

OAuth2AuthorizationRequestHeaderBearerAuthenticator() public method

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