C# 클래스 Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication.AdalTokenProvider

A token provider that uses ADAL to retrieve tokens from Azure Active Directory
상속: ITokenProvider
파일 보기 프로젝트 열기: AzureRT/azure-sdk-tools 1 사용 예제들

공개 메소드들

메소드 설명
AdalTokenProvider ( ) : System
AdalTokenProvider ( IWin32Window parentWindow, string>.IDictionary tokenCache ) : System
GetCachedToken ( WindowsAzureSubscription subscription, string userId ) : IAccessToken
GetNewToken ( WindowsAzureEnvironment environment ) : IAccessToken
GetNewToken ( WindowsAzureSubscription subscription, string userId ) : IAccessToken

비공개 메소드들

메소드 설명
AcquireToken ( AdalConfiguration config, string userId = null ) : AuthenticationResult
ClearCookies ( ) : void
CreateContext ( AdalConfiguration config ) : AuthenticationContext
DecodeCachedAuthResult ( TokenCacheKey key ) : AuthenticationResult

Decode cache contents into something we can feed to AuthenticationResult.Deserialize. WARNING: This will be deprecated eventually by ADAL team and replaced by something supported.

GetExceptionMessage ( Exception ex ) : string
GetRefreshToken ( AdalAccessToken token ) : string
IsExpired ( AdalAccessToken token ) : bool
Renew ( AdalAccessToken token ) : void

메소드 상세

AdalTokenProvider() 공개 메소드

public AdalTokenProvider ( ) : System
리턴 System

AdalTokenProvider() 공개 메소드

public AdalTokenProvider ( IWin32Window parentWindow, string>.IDictionary tokenCache ) : System
parentWindow IWin32Window
tokenCache string>.IDictionary
리턴 System

GetCachedToken() 공개 메소드

public GetCachedToken ( WindowsAzureSubscription subscription, string userId ) : IAccessToken
subscription WindowsAzureSubscription
userId string
리턴 IAccessToken

GetNewToken() 공개 메소드

public GetNewToken ( WindowsAzureEnvironment environment ) : IAccessToken
environment WindowsAzureEnvironment
리턴 IAccessToken

GetNewToken() 공개 메소드

public GetNewToken ( WindowsAzureSubscription subscription, string userId ) : IAccessToken
subscription WindowsAzureSubscription
userId string
리턴 IAccessToken