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

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

공개 메소드들

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

Initializes a new instance of the FoursquareClient 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

FoursquareClient() 공개 메소드

Initializes a new instance of the FoursquareClient class.
public FoursquareClient ( IRequestFactory factory, IClientConfiguration configuration ) : Newtonsoft.Json.Linq
factory IRequestFactory The factory.
configuration IClientConfiguration The configuration.
리턴 Newtonsoft.Json.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