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

Interface to the keystore for authentication
Inheritance: IApplicationAuthenticationProvider
Mostra file Open project: Azure/azure-powershell

Public Methods

Method Description
AuthenticateAsync ( string clientId, string audience, Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext context ) : Task

Authenticate using the secret for the specified client from the key store

KeyStoreApplicationCredentialProvider ( string tenant ) : Microsoft.IdentityModel.Clients.ActiveDirectory

Create a credential provider

Method Details

AuthenticateAsync() public method

Authenticate using the secret for the specified client from the key store
public AuthenticateAsync ( string clientId, string audience, Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext context ) : Task
clientId string The active directory client id for the application.
audience string The intended audience for authentication
context Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext The AD AuthenticationContext to use
return Task

KeyStoreApplicationCredentialProvider() public method

Create a credential provider
public KeyStoreApplicationCredentialProvider ( string tenant ) : Microsoft.IdentityModel.Clients.ActiveDirectory
tenant string
return Microsoft.IdentityModel.Clients.ActiveDirectory