C# Класс Microsoft.Azure.Commands.Common.Authentication.KeyStoreApplicationCredentialProvider

Interface to the keystore for authentication
Наследование: IApplicationAuthenticationProvider
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

AuthenticateAsync() публичный Метод

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
Результат Task

KeyStoreApplicationCredentialProvider() публичный Метод

Create a credential provider
public KeyStoreApplicationCredentialProvider ( string tenant ) : Microsoft.IdentityModel.Clients.ActiveDirectory
tenant string
Результат Microsoft.IdentityModel.Clients.ActiveDirectory