Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

AuthenticationProperties Class

Definition

Namespace:
Microsoft.AspNetCore.Http.Authentication
Assembly:
Microsoft.AspNetCore.Http.Abstractions.dll
Package:
Microsoft.AspNetCore.Http.Abstractions v1.0.0
Package:
Microsoft.AspNetCore.Http.Abstractions v1.1.0
Package:
Microsoft.AspNetCore.Http.Abstractions v2.0.0
Package:
Microsoft.AspNetCore.Http.Abstractions v2.1.0
Package:
Microsoft.AspNetCore.Http.Abstractions v2.2.0
Source:
AuthenticationProperties.cs
Source:
AuthenticationProperties.cs

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.

Dictionary used to store state values about the authentication session.

public ref class AuthenticationProperties
public class AuthenticationProperties
type AuthenticationProperties = class
Public Class AuthenticationProperties
Inheritance
AuthenticationProperties

Constructors

Name Description
AuthenticationProperties()

Initializes a new instance of the AuthenticationProperties class

AuthenticationProperties(IDictionary<String,String>)

Initializes a new instance of the AuthenticationProperties class

Properties

Name Description
AllowRefresh

Gets or sets if refreshing the authentication session should be allowed.

ExpiresUtc

Gets or sets the time at which the authentication ticket expires.

IsPersistent

Gets or sets whether the authentication session is persisted across multiple requests.

IssuedUtc

Gets or sets the time at which the authentication ticket was issued.

Items

State values about the authentication session.

RedirectUri

Gets or sets the full path or absolute URI to be used as an HTTP redirect response value.

Extension Methods

Name Description
GetTokens(AuthenticationProperties)
GetTokenValue(AuthenticationProperties, String)
StoreTokens(AuthenticationProperties, IEnumerable<AuthenticationToken>)
UpdateTokenValue(AuthenticationProperties, String, String)

Applies to


Feedback

Was this page helpful?