C# 클래스 Microsoft.Azure.Commands.Common.Authentication.ServicePrincipalTokenProvider

상속: ITokenProvider
파일 보기 프로젝트 열기: Azure/azure-powershell

공개 메소드들

메소드 설명
GetAccessToken ( AdalConfiguration config, ShowDialog promptBehavior, string userId, SecureString password, AzureAccount credentialType ) : IAccessToken
GetAccessTokenWithCertificate ( AdalConfiguration config, string clientId, string certificateThumbprint, AzureAccount credentialType ) : IAccessToken

비공개 메소드들

메소드 설명
AcquireTokenWithCertificate ( AdalConfiguration config, string appId, string thumbprint ) : AuthenticationResult
AcquireTokenWithSecret ( AdalConfiguration config, string appId, SecureString appKey ) : AuthenticationResult
GetContext ( AdalConfiguration config ) : Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext
LoadAppKey ( string appId, string tenantId ) : SecureString
RenewWithCertificate ( AdalConfiguration config, string appId, string thumbprint ) : AuthenticationResult
RenewWithSecret ( AdalConfiguration config, string appId ) : AuthenticationResult
StoreAppKey ( string appId, string tenantId, SecureString appKey ) : void

메소드 상세

GetAccessToken() 공개 메소드

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
리턴 IAccessToken

GetAccessTokenWithCertificate() 공개 메소드

public GetAccessTokenWithCertificate ( AdalConfiguration config, string clientId, string certificateThumbprint, AzureAccount credentialType ) : IAccessToken
config AdalConfiguration
clientId string
certificateThumbprint string
credentialType Microsoft.Azure.Commands.Common.Authentication.Models.AzureAccount
리턴 IAccessToken