Lingua

HttpConnection.IAuthenticationRefreshFeature.RefreshAuthenticationAsync Metodo

Definizione

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

Valori restituiti

Implementazioni

Si applica a