C# 클래스 RestSharp.OAuth2Authenticator

Base class for OAuth 2 Authenticators.
Since there are many ways to authenticate in OAuth2, this is used as a base class to differentiate between other authenticators. Any other OAuth2 authenticators must derive from this abstract class.
상속: IAuthenticator
파일 보기 프로젝트 열기: nicwise/RestSharp 1 사용 예제들

공개 메소드들

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

Initializes a new instance of the OAuth2Authenticator class.

메소드 상세

Authenticate() 공개 추상적인 메소드

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

OAuth2Authenticator() 공개 메소드

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