C# Class GithubOAuthClient.GithubClient

Inheritance: DotNetOpenAuth.AspNet.Clients.OAuth2Client
Show file Open project: vladciobanu/GithubOAuthClient

Public Methods

Method Description
GithubClient ( string appId, string appSecret ) : System

Protected Methods

Method Description
GetServiceLoginUrl ( Uri returnUrl ) : Uri
GetUserData ( string accessToken ) : string>.IDictionary
QueryAccessToken ( Uri returnUrl, string authorizationCode ) : string

Method Details

GetServiceLoginUrl() protected method

protected GetServiceLoginUrl ( Uri returnUrl ) : Uri
returnUrl System.Uri
return System.Uri

GetUserData() protected method

protected GetUserData ( string accessToken ) : string>.IDictionary
accessToken string
return string>.IDictionary

GithubClient() public method

public GithubClient ( string appId, string appSecret ) : System
appId string
appSecret string
return System

QueryAccessToken() protected method

protected QueryAccessToken ( Uri returnUrl, string authorizationCode ) : string
returnUrl System.Uri
authorizationCode string
return string