C# 클래스 Microsoft.WindowsAzure.Commands.Common.Test.Mocks.MockCertificateAuthenticationFactory

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

공개 메소드들

메소드 설명
Authenticate ( AzureAccount account, AzureEnvironment environment, string tenant, SecureString password, ShowDialog promptBehavior, AzureEnvironment resourceId = AzureEnvironment.Endpoint.ActiveDirectoryServiceEndpointResourceId ) : IAccessToken
Authenticate ( AzureAccount account, AzureEnvironment environment, string tenant, SecureString password, ShowDialog promptBehavior, IdentityModel tokenCache, AzureEnvironment resourceId = AzureEnvironment.Endpoint.ActiveDirectoryServiceEndpointResourceId ) : IAccessToken
GetServiceClientCredentials ( AzureContext context ) : Microsoft.Rest.ServiceClientCredentials
GetServiceClientCredentials ( AzureContext context, AzureEnvironment targetEndpoint ) : Rest.ServiceClientCredentials
GetSubscriptionCloudCredentials ( AzureContext context ) : Microsoft.Azure.SubscriptionCloudCredentials
GetSubscriptionCloudCredentials ( AzureContext context, AzureEnvironment targetEndpoint ) : Microsoft.Azure.SubscriptionCloudCredentials
MockCertificateAuthenticationFactory ( ) : Microsoft.Azure
MockCertificateAuthenticationFactory ( string userId, X509Certificate2 certificate ) : Microsoft.Azure

메소드 상세

Authenticate() 공개 메소드

public Authenticate ( AzureAccount account, AzureEnvironment environment, string tenant, SecureString password, ShowDialog promptBehavior, AzureEnvironment resourceId = AzureEnvironment.Endpoint.ActiveDirectoryServiceEndpointResourceId ) : IAccessToken
account Microsoft.Azure.Commands.Common.Authentication.Models.AzureAccount
environment Microsoft.Azure.Commands.Common.Authentication.Models.AzureEnvironment
tenant string
password System.Security.SecureString
promptBehavior ShowDialog
resourceId Microsoft.Azure.Commands.Common.Authentication.Models.AzureEnvironment
리턴 IAccessToken

Authenticate() 공개 메소드

public Authenticate ( AzureAccount account, AzureEnvironment environment, string tenant, SecureString password, ShowDialog promptBehavior, IdentityModel tokenCache, AzureEnvironment resourceId = AzureEnvironment.Endpoint.ActiveDirectoryServiceEndpointResourceId ) : IAccessToken
account Microsoft.Azure.Commands.Common.Authentication.Models.AzureAccount
environment Microsoft.Azure.Commands.Common.Authentication.Models.AzureEnvironment
tenant string
password System.Security.SecureString
promptBehavior ShowDialog
tokenCache IdentityModel
resourceId Microsoft.Azure.Commands.Common.Authentication.Models.AzureEnvironment
리턴 IAccessToken

GetServiceClientCredentials() 공개 메소드

public GetServiceClientCredentials ( AzureContext context ) : Microsoft.Rest.ServiceClientCredentials
context Microsoft.Azure.Commands.Common.Authentication.Models.AzureContext
리턴 Microsoft.Rest.ServiceClientCredentials

GetServiceClientCredentials() 공개 메소드

public GetServiceClientCredentials ( AzureContext context, AzureEnvironment targetEndpoint ) : Rest.ServiceClientCredentials
context Microsoft.Azure.Commands.Common.Authentication.Models.AzureContext
targetEndpoint Microsoft.Azure.Commands.Common.Authentication.Models.AzureEnvironment
리턴 Rest.ServiceClientCredentials

GetSubscriptionCloudCredentials() 공개 메소드

public GetSubscriptionCloudCredentials ( AzureContext context ) : Microsoft.Azure.SubscriptionCloudCredentials
context Microsoft.Azure.Commands.Common.Authentication.Models.AzureContext
리턴 Microsoft.Azure.SubscriptionCloudCredentials

GetSubscriptionCloudCredentials() 공개 메소드

public GetSubscriptionCloudCredentials ( AzureContext context, AzureEnvironment targetEndpoint ) : Microsoft.Azure.SubscriptionCloudCredentials
context Microsoft.Azure.Commands.Common.Authentication.Models.AzureContext
targetEndpoint Microsoft.Azure.Commands.Common.Authentication.Models.AzureEnvironment
리턴 Microsoft.Azure.SubscriptionCloudCredentials

MockCertificateAuthenticationFactory() 공개 메소드

public MockCertificateAuthenticationFactory ( ) : Microsoft.Azure
리턴 Microsoft.Azure

MockCertificateAuthenticationFactory() 공개 메소드

public MockCertificateAuthenticationFactory ( string userId, X509Certificate2 certificate ) : Microsoft.Azure
userId string
certificate System.Security.Cryptography.X509Certificates.X509Certificate2
리턴 Microsoft.Azure