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

Interface to the certificate store for authentication
Inheritance: IApplicationAuthenticationProvider
Afficher le fichier Open project: Azure/azure-powershell

Méthodes publiques

Méthode 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 méthode

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

CertificateApplicationCredentialProvider() public méthode

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