Udostępnij przez


UsernamePasswordAuthenticator Class

Definition

Authenticate username + password scenarios

public class UsernamePasswordAuthenticator : Microsoft.Azure.Commands.Common.Authentication.DelegatingAuthenticator
type UsernamePasswordAuthenticator = class
    inherit DelegatingAuthenticator
Public Class UsernamePasswordAuthenticator
Inherits DelegatingAuthenticator
Inheritance
UsernamePasswordAuthenticator

Constructors

Name Description
UsernamePasswordAuthenticator(Boolean)

Fields

Name Description
AdfsTenant (Inherited from DelegatingAuthenticator)
CheckTokenCachePersistanceEnabled (Inherited from DelegatingAuthenticator)
OrganizationsTenant (Inherited from DelegatingAuthenticator)
telemetry (Inherited from DelegatingAuthenticator)

Properties

Name Description
AuthenticationCancellationToken (Inherited from DelegatingAuthenticator)
Next (Inherited from DelegatingAuthenticator)

Methods

Name Description
Authenticate(AuthenticationParameters, CancellationToken)
Authenticate(AuthenticationParameters) (Inherited from DelegatingAuthenticator)
CanAuthenticate(AuthenticationParameters)
CollectTelemetry(TokenCredential, TokenCredentialOptions) (Inherited from DelegatingAuthenticator)
GetDataForTelemetry() (Inherited from DelegatingAuthenticator)
TryAuthenticate(AuthenticationParameters, CancellationToken, Task<IAccessToken>) (Inherited from DelegatingAuthenticator)
TryAuthenticate(AuthenticationParameters, Task<IAccessToken>) (Inherited from DelegatingAuthenticator)

Applies to