C# Class Microsoft.Azure.Commands.Common.Authentication.Factories.AuthenticationFactory

Inheritance: IAuthenticationFactory
Afficher le fichier Open project: Azure/azure-powershell Class Usage Examples

Méthodes publiques

Méthode Description
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, TokenCache tokenCache, AzureEnvironment resourceId = AzureEnvironment.Endpoint.ActiveDirectoryServiceEndpointResourceId ) : IAccessToken
AuthenticationFactory ( ) : Hyak.Common
GetServiceClientCredentials ( AzureContext context ) : ServiceClientCredentials
GetServiceClientCredentials ( AzureContext context, AzureEnvironment targetEndpoint ) : ServiceClientCredentials
GetSubscriptionCloudCredentials ( AzureContext context ) : SubscriptionCloudCredentials
GetSubscriptionCloudCredentials ( AzureContext context, AzureEnvironment targetEndpoint ) : SubscriptionCloudCredentials

Private Methods

Méthode Description
GetAdalConfiguration ( AzureEnvironment environment, string tenantId, AzureEnvironment resourceId, TokenCache tokenCache ) : AdalConfiguration

Method Details

Authenticate() public méthode

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
Résultat IAccessToken

Authenticate() public méthode

public Authenticate ( AzureAccount account, AzureEnvironment environment, string tenant, SecureString password, ShowDialog promptBehavior, TokenCache 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 Microsoft.IdentityModel.Clients.ActiveDirectory.TokenCache
resourceId Microsoft.Azure.Commands.Common.Authentication.Models.AzureEnvironment
Résultat IAccessToken

AuthenticationFactory() public méthode

public AuthenticationFactory ( ) : Hyak.Common
Résultat Hyak.Common

GetServiceClientCredentials() public méthode

public GetServiceClientCredentials ( AzureContext context ) : ServiceClientCredentials
context Microsoft.Azure.Commands.Common.Authentication.Models.AzureContext
Résultat ServiceClientCredentials

GetServiceClientCredentials() public méthode

public GetServiceClientCredentials ( AzureContext context, AzureEnvironment targetEndpoint ) : ServiceClientCredentials
context Microsoft.Azure.Commands.Common.Authentication.Models.AzureContext
targetEndpoint Microsoft.Azure.Commands.Common.Authentication.Models.AzureEnvironment
Résultat ServiceClientCredentials

GetSubscriptionCloudCredentials() public méthode

public GetSubscriptionCloudCredentials ( AzureContext context ) : SubscriptionCloudCredentials
context Microsoft.Azure.Commands.Common.Authentication.Models.AzureContext
Résultat SubscriptionCloudCredentials

GetSubscriptionCloudCredentials() public méthode

public GetSubscriptionCloudCredentials ( AzureContext context, AzureEnvironment targetEndpoint ) : SubscriptionCloudCredentials
context Microsoft.Azure.Commands.Common.Authentication.Models.AzureContext
targetEndpoint Microsoft.Azure.Commands.Common.Authentication.Models.AzureEnvironment
Résultat SubscriptionCloudCredentials