C# Class WindowsAzure.Acs.Oauth2.Client.WinRT.SimpleOAuth2Client

SimpleOAuth2Client.
Afficher le fichier Open project: maartenba/WindowsAzure.Acs.Oauth2

Méthodes publiques

Méthode Description
AppendAccessTokenToAsync ( HttpClient client ) : System.Threading.Tasks.Task

Appends the access token to.

AuthorizeAsync ( string refreshToken ) : System.Threading.Tasks.Task

Authorizes the specified refresh token.

BuildAuthorizationUri ( ) : Uri

Builds the authorization URI.

SimpleOAuth2Client ( Uri authorizeUri, Uri accessTokenUri, string clientId, string clientSecret, string scope, Uri redirectUri ) : System

Initializes a new instance of the SimpleOAuth2Client class.

Private Methods

Méthode Description
BuildAccessTokenRequest ( string refreshToken ) : AccessTokenRequest

Method Details

AppendAccessTokenToAsync() public méthode

Appends the access token to.
public AppendAccessTokenToAsync ( HttpClient client ) : System.Threading.Tasks.Task
client System.Net.Http.HttpClient The client.
Résultat System.Threading.Tasks.Task

AuthorizeAsync() public méthode

Authorizes the specified refresh token.
public AuthorizeAsync ( string refreshToken ) : System.Threading.Tasks.Task
refreshToken string The refresh token.
Résultat System.Threading.Tasks.Task

BuildAuthorizationUri() public méthode

Builds the authorization URI.
public BuildAuthorizationUri ( ) : Uri
Résultat System.Uri

SimpleOAuth2Client() public méthode

Initializes a new instance of the SimpleOAuth2Client class.
public SimpleOAuth2Client ( Uri authorizeUri, Uri accessTokenUri, string clientId, string clientSecret, string scope, Uri redirectUri ) : System
authorizeUri System.Uri The authorize URI.
accessTokenUri System.Uri The access token URI.
clientId string The client id.
clientSecret string The client secret.
scope string The scope.
redirectUri System.Uri The redirect URI.
Résultat System