共用方式為


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

UsernamePasswordAuthenticator(Boolean)

Fields

AdfsTenant (Inherited from DelegatingAuthenticator)
OrganizationsTenant (Inherited from DelegatingAuthenticator)

Properties

AuthenticationCancellationToken (Inherited from DelegatingAuthenticator)
Next (Inherited from DelegatingAuthenticator)

Methods

Authenticate(AuthenticationParameters, CancellationToken)
Authenticate(AuthenticationParameters) (Inherited from DelegatingAuthenticator)
CanAuthenticate(AuthenticationParameters)
TryAuthenticate(AuthenticationParameters, CancellationToken, Task<IAccessToken>) (Inherited from DelegatingAuthenticator)
TryAuthenticate(AuthenticationParameters, Task<IAccessToken>) (Inherited from DelegatingAuthenticator)

Applies to