Partilhar via


ManagedIdentityAuthenticator.GetTokenAsync(Boolean) Método

Definição

Adquire o token de segurança.

public System.Threading.Tasks.Task<Microsoft.Bot.Connector.Authentication.AuthenticatorResult> GetTokenAsync (bool forceRefresh = false);
abstract member GetTokenAsync : bool -> System.Threading.Tasks.Task<Microsoft.Bot.Connector.Authentication.AuthenticatorResult>
override this.GetTokenAsync : bool -> System.Threading.Tasks.Task<Microsoft.Bot.Connector.Authentication.AuthenticatorResult>
Public Function GetTokenAsync (Optional forceRefresh As Boolean = false) As Task(Of AuthenticatorResult)

Parâmetros

forceRefresh
Boolean

Indica ao método para adquirir um novo token, independentemente da expiração.

Devoluções

Um Task<TResult> objeto.

Implementações

Aplica-se a