Sprache

IAuthenticationRefreshFeature.RefreshAuthenticationAsync Methode

Definition

Sendet eine Aktualisierungsanforderung an den Server mit neuen Authentifizierungsanmeldeinformationen. Gibt die aktualisierte Tokenlebensdauer oder null zurück, falls nicht angegeben.

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))

Parameter

cancellationToken
CancellationToken

Gibt zurück

Gilt für: