Language

HttpConnection.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.

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

Parameters

cancellationToken
CancellationToken

Returns

Implements

Applies to