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

Interface to the certificate store for authentication
Inheritance: IApplicationAuthenticationProvider
Mostrar archivo Open project: Azure/azure-powershell

Public Methods

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

Authenticate using certificate thumbprint from the datastore

CertificateApplicationCredentialProvider ( string certificateThumbprint ) : Microsoft.IdentityModel.Clients.ActiveDirectory

Create a certificate provider

Method Details

AuthenticateAsync() public method

Authenticate using certificate thumbprint from the datastore
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

CertificateApplicationCredentialProvider() public method

Create a certificate provider
public CertificateApplicationCredentialProvider ( string certificateThumbprint ) : Microsoft.IdentityModel.Clients.ActiveDirectory
certificateThumbprint string
return Microsoft.IdentityModel.Clients.ActiveDirectory