Language

AuthenticationRefreshContext Class

Definition

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 true.

PreviousUser

The ClaimsPrincipal currently associated with the connection (before this refresh is applied).

Applies to