Language

HttpConnectionDispatcherOptions.EnableAuthenticationRefresh Property

Definition

When set to true, enables the /refresh endpoint that allows clients to refresh their authentication token without disconnecting. The server will re-authenticate the request and update the connection's ClaimsPrincipal.

public bool EnableAuthenticationRefresh { get; set; }
member this.EnableAuthenticationRefresh : bool with get, set
Public Property EnableAuthenticationRefresh As Boolean

Property Value

Remarks

It is recommended to also enable CloseOnAuthenticationExpiration so that the connection is closed if authentication is not refreshed before it expires.

Applies to