AuthenticationRefreshOptions Class
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.
Configures automatic authentication token refresh for a HubConnection.
public sealed class AuthenticationRefreshOptions
type AuthenticationRefreshOptions = class
Public NotInheritable Class AuthenticationRefreshOptions
- Inheritance
-
AuthenticationRefreshOptions
Constructors
| Name | Description |
|---|---|
| AuthenticationRefreshOptions() | |
Properties
| Name | Description |
|---|---|
| EnableAutoRefresh |
Enables automatic token refresh before the server-reported token expiration.
Default is |
| OnAuthenticationRefreshed |
Optional callback invoked after a successful authentication refresh. |
| OnAuthenticationRefreshFailed |
Optional callback invoked when an authentication refresh attempt fails. |
| RefreshBeforeExpiration |
How far before the server-reported token expiration the client should refresh.
The client schedules refresh at: |