HttpConnection.IAuthenticationRefreshFeature.RefreshAuthenticationAsync Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Invia una richiesta di aggiornamento al server con nuove credenziali di autenticazione. Restituisce la durata del token aggiornata o null, se non specificato.
System.Threading.Tasks.Task<TimeSpan?> IAuthenticationRefreshFeature.RefreshAuthenticationAsync(System.Threading.CancellationToken cancellationToken);
abstract member Microsoft.AspNetCore.Connections.Features.IAuthenticationRefreshFeature.RefreshAuthenticationAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Nullable<TimeSpan>>
override this.Microsoft.AspNetCore.Connections.Features.IAuthenticationRefreshFeature.RefreshAuthenticationAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Nullable<TimeSpan>>
Function RefreshAuthenticationAsync (cancellationToken As CancellationToken) As Task(Of Nullable(Of TimeSpan)) Implements IAuthenticationRefreshFeature.RefreshAuthenticationAsync
Parametri
- cancellationToken
- CancellationToken