Language

IAuthenticationRefreshFeature.RefreshAuthenticationAsync Method

Definition

Sends a refresh request to the server with new authentication credentials. Returns the updated token lifetime, or null if not provided.

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

Parameters

cancellationToken
CancellationToken

Returns

Applies to