IAuthenticationRefreshFeature.RefreshAuthenticationAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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