AuthenticationRefreshContext 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.
Provides information about an in-flight authentication refresh to a OnAuthenticationRefresh callback so the application can accept or reject the refresh.
public sealed class AuthenticationRefreshContext
type AuthenticationRefreshContext = class
Public NotInheritable Class AuthenticationRefreshContext
- Inheritance
-
AuthenticationRefreshContext
Constructors
| Name | Description |
|---|---|
| AuthenticationRefreshContext() | |
Properties
| Name | Description |
|---|---|
| ConnectionId |
The id of the connection being refreshed. |
| HttpContext |
The HttpContext for the refresh request. |
| NewExpiration |
The new authentication expiration time, or MaxValue when the authentication ticket has no expiration. |
| NewUser |
The ClaimsPrincipal produced by re-authenticating the refresh request.
This is the principal that will replace PreviousUser on the connection
if the callback returns |
| PreviousUser |
The ClaimsPrincipal currently associated with the connection (before this refresh is applied). |