C# Class Microsoft.Azure.Commands.Common.Authentication.AdalTokenProvider

A token provider that uses ADAL to retrieve tokens from Azure Active Directory
Inheritance: ITokenProvider
Afficher le fichier Open project: Azure/azure-powershell

Méthodes publiques

Méthode Description
AdalTokenProvider ( ) : Microsoft.Azure.Commands.Common.Authentication.Models
AdalTokenProvider ( IWin32Window parentWindow ) : Microsoft.Azure.Commands.Common.Authentication.Models
GetAccessToken ( AdalConfiguration config, ShowDialog promptBehavior, string userId, SecureString password, AzureAccount credentialType ) : IAccessToken
GetAccessTokenWithCertificate ( AdalConfiguration config, string clientId, string certificate, AzureAccount credentialType ) : IAccessToken

Method Details

AdalTokenProvider() public méthode

public AdalTokenProvider ( ) : Microsoft.Azure.Commands.Common.Authentication.Models
Résultat Microsoft.Azure.Commands.Common.Authentication.Models

AdalTokenProvider() public méthode

public AdalTokenProvider ( IWin32Window parentWindow ) : Microsoft.Azure.Commands.Common.Authentication.Models
parentWindow IWin32Window
Résultat Microsoft.Azure.Commands.Common.Authentication.Models

GetAccessToken() public méthode

public GetAccessToken ( AdalConfiguration config, ShowDialog promptBehavior, string userId, SecureString password, AzureAccount credentialType ) : IAccessToken
config AdalConfiguration
promptBehavior ShowDialog
userId string
password System.Security.SecureString
credentialType Microsoft.Azure.Commands.Common.Authentication.Models.AzureAccount
Résultat IAccessToken

GetAccessTokenWithCertificate() public méthode

public GetAccessTokenWithCertificate ( AdalConfiguration config, string clientId, string certificate, AzureAccount credentialType ) : IAccessToken
config AdalConfiguration
clientId string
certificate string
credentialType Microsoft.Azure.Commands.Common.Authentication.Models.AzureAccount
Résultat IAccessToken