IAuthenticator.GetTokenAsync(Boolean) Metodo

Definizione

Acquisisce il token di sicurezza.

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>
Public Function GetTokenAsync (Optional forceRefresh As Boolean = false) As Task(Of AuthenticatorResult)

Parametri

forceRefresh
Boolean

Indica al metodo di acquisire un nuovo token indipendentemente dalla scadenza.

Restituisce

Un oggetto Task<TResult>.

Si applica a