C# 클래스 OAuth2.Client.Impl.CarePassClient

상속: OAuth2.Client.OAuth2Client
파일 보기 프로젝트 열기: carepass/code-samples

공개 메소드들

메소드 설명
CarePassClient ( IRequestFactory factory, IClientConfiguration configuration ) : Newtonsoft.Json.Linq

보호된 메소드들

메소드 설명
AfterGetAccessToken ( IRestResponse response ) : void

Called just after obtaining response with access token from third-party service. Allows to read extra data returned along with access token.

BeforeGetUserInfo ( IRestRequest request ) : void

Called just before issuing request to service when everything is ready. Allows to add extra parameters to request or do any other needed preparations.

ParseUserInfo ( string content ) : OAuth2.Models.UserInfo

메소드 상세

AfterGetAccessToken() 보호된 메소드

Called just after obtaining response with access token from third-party service. Allows to read extra data returned along with access token.
protected AfterGetAccessToken ( IRestResponse response ) : void
response IRestResponse
리턴 void

BeforeGetUserInfo() 보호된 메소드

Called just before issuing request to service when everything is ready. Allows to add extra parameters to request or do any other needed preparations.
protected BeforeGetUserInfo ( IRestRequest request ) : void
request IRestRequest
리턴 void

CarePassClient() 공개 메소드

public CarePassClient ( IRequestFactory factory, IClientConfiguration configuration ) : Newtonsoft.Json.Linq
factory IRequestFactory
configuration IClientConfiguration
리턴 Newtonsoft.Json.Linq

ParseUserInfo() 보호된 메소드

protected ParseUserInfo ( string content ) : OAuth2.Models.UserInfo
content string
리턴 OAuth2.Models.UserInfo