Partager via


DeviceCodeAuthenticator.Authenticate Method

Definition

public override System.Threading.Tasks.Task<Microsoft.Azure.Commands.Common.Authentication.IAccessToken> Authenticate (Microsoft.Azure.Commands.Common.Authentication.AuthenticationParameters parameters, System.Threading.CancellationToken cancellationToken);
override this.Authenticate : Microsoft.Azure.Commands.Common.Authentication.AuthenticationParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Commands.Common.Authentication.IAccessToken>
Public Overrides Function Authenticate (parameters As AuthenticationParameters, cancellationToken As CancellationToken) As Task(Of IAccessToken)

Parameters

cancellationToken
CancellationToken

Returns

Applies to