C# 클래스 WindowsAzure.Acs.Oauth2.Client.WinRT.SimpleOAuth2Client

SimpleOAuth2Client.
파일 보기 프로젝트 열기: maartenba/WindowsAzure.Acs.Oauth2

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
BuildAccessTokenRequest ( string refreshToken ) : AccessTokenRequest

메소드 상세

AppendAccessTokenToAsync() 공개 메소드

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

AuthorizeAsync() 공개 메소드

Authorizes the specified refresh token.
public AuthorizeAsync ( string refreshToken ) : System.Threading.Tasks.Task
refreshToken string The refresh token.
리턴 System.Threading.Tasks.Task

BuildAuthorizationUri() 공개 메소드

Builds the authorization URI.
public BuildAuthorizationUri ( ) : Uri
리턴 System.Uri

SimpleOAuth2Client() 공개 메소드

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.
리턴 System