HttpConnectionDispatcherOptions.OnAuthenticationRefresh Property
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.
An optional callback invoked when the /refresh endpoint has successfully re-authenticated
the request but before the connection's user is replaced. Return true to accept the new
principal, or false to reject the refresh. When rejected, the endpoint responds with
HTTP 403 and the connection's current user remains in place.
public Func<Microsoft.AspNetCore.Http.Connections.AuthenticationRefreshContext,System.Threading.Tasks.ValueTask<bool>>? OnAuthenticationRefresh { get; set; }
member this.OnAuthenticationRefresh : Func<Microsoft.AspNetCore.Http.Connections.AuthenticationRefreshContext, System.Threading.Tasks.ValueTask<bool>> with get, set
Public Property OnAuthenticationRefresh As Func(Of AuthenticationRefreshContext, ValueTask(Of Boolean))