C# Class DotNetOpenAuth.AspNet.Clients.GitHubClient

GitHub authentication client.
Inheritance: DotNetOpenAuth.AspNet.Clients.OAuth2Client
Show file Open project: NorDroN/DotNetOpenAuth.AspNet.Extensions

Public Methods

Method Description
GitHubClient ( string appId, string appSecret ) : DotNetOpenAuth.AspNet.Internal

Initializes a new instance of the GitHubClient class.

Protected Methods

Method Description
GetServiceLoginUrl ( Uri returnUrl ) : Uri

The get service login url.

GetUserData ( string accessToken ) : string>.IDictionary

The get user data.

QueryAccessToken ( Uri returnUrl, string authorizationCode ) : string

Obtains an access token given an authorization code and callback URL.

Method Details

GetServiceLoginUrl() protected method

The get service login url.
protected GetServiceLoginUrl ( Uri returnUrl ) : Uri
returnUrl System.Uri /// The return url. ///
return System.Uri

GetUserData() protected method

The get user data.
protected GetUserData ( string accessToken ) : string>.IDictionary
accessToken string /// The access token. ///
return string>.IDictionary

GitHubClient() public method

Initializes a new instance of the GitHubClient class.
public GitHubClient ( string appId, string appSecret ) : DotNetOpenAuth.AspNet.Internal
appId string /// The app id. ///
appSecret string /// The app secret. ///
return DotNetOpenAuth.AspNet.Internal

QueryAccessToken() protected method

Obtains an access token given an authorization code and callback URL.
protected QueryAccessToken ( Uri returnUrl, string authorizationCode ) : string
returnUrl System.Uri /// The return url. ///
authorizationCode string /// The authorization code. ///
return string