Lingua

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.

public System.Threading.Tasks.Task<TimeSpan?> RefreshAuthenticationAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member RefreshAuthenticationAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Nullable<TimeSpan>>
Public Function RefreshAuthenticationAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Nullable(Of TimeSpan))

Parametri

cancellationToken
CancellationToken

Valori restituiti

Si applica a