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

Mail.Ru authentication client.
상속: OAuth2Client
파일 보기 프로젝트 열기: carepass/code-samples

공개 메소드들

메소드 설명
MailRuClient ( IRequestFactory factory, IClientConfiguration configuration ) : System.Linq

Initializes a new instance of the MailRuClient class.

보호된 메소드들

메소드 설명
BeforeGetUserInfo ( IRestRequest request ) : void

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

ParseUserInfo ( string content ) : OAuth2.Models.UserInfo

Should return parsed UserInfo from content received from third-party service.

메소드 상세

BeforeGetUserInfo() 보호된 메소드

Called just before issuing request to third-party 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

MailRuClient() 공개 메소드

Initializes a new instance of the MailRuClient class.
public MailRuClient ( IRequestFactory factory, IClientConfiguration configuration ) : System.Linq
factory IRequestFactory The factory.
configuration IClientConfiguration The configuration.
리턴 System.Linq

ParseUserInfo() 보호된 메소드

Should return parsed UserInfo from content received from third-party service.
protected ParseUserInfo ( string content ) : OAuth2.Models.UserInfo
content string The content which is received from third-party service.
리턴 OAuth2.Models.UserInfo