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

Yandex authentication client.
상속: OAuth2Client
파일 보기 프로젝트 열기: titarenko/OAuth2

공개 메소드들

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

Initializes a new instance of the YandexClient class.

보호된 메소드들

메소드 설명
BeforeGetUserInfo ( BeforeAfterRequestArgs args ) : 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 ( BeforeAfterRequestArgs args ) : void
args BeforeAfterRequestArgs
리턴 void

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

YandexClient() 공개 메소드

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