C# 클래스 RestSharp.OAuth2AuthorizationRequestHeaderAuthenticator

The OAuth 2 authenticator using the authorization request header field.
Based on http://tools.ietf.org/html/draft-ietf-oauth-v2-10#section-5.1.1
상속: OAuth2Authenticator
파일 보기 프로젝트 열기: nicwise/RestSharp 1 사용 예제들

공개 메소드들

메소드 설명
Authenticate ( IRestClient client, IRestRequest request ) : void
OAuth2AuthorizationRequestHeaderAuthenticator ( string accessToken ) : System

Initializes a new instance of the OAuth2AuthorizationRequestHeaderAuthenticator class.

메소드 상세

Authenticate() 공개 메소드

public Authenticate ( IRestClient client, IRestRequest request ) : void
client IRestClient
request IRestRequest
리턴 void

OAuth2AuthorizationRequestHeaderAuthenticator() 공개 메소드

Initializes a new instance of the OAuth2AuthorizationRequestHeaderAuthenticator class.
public OAuth2AuthorizationRequestHeaderAuthenticator ( string accessToken ) : System
accessToken string /// The access token. ///
리턴 System