C# Class DotNetOpenAuth.AspNet.Clients.OdnoklassnikiClient

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

Public Methods

Method Description
OdnoklassnikiClient ( string appId, string appPublic, string appSecret ) : DotNetOpenAuth.AspNet.Extentions

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

OdnoklassnikiClient() public method

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

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