AuthenticationProperties Class

Dictionary used to store state values about the authentication session.

Namespace
Microsoft.AspNetCore.Http.Authentication
Assemblies
  • Microsoft.AspNetCore.Http.Abstractions

Syntax

public class AuthenticationProperties
class Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties

Constructors

AuthenticationProperties()

Initializes a new instance of the Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties class

public AuthenticationProperties()
AuthenticationProperties(System.Collections.Generic.IDictionary<System.String, System.String>)

Initializes a new instance of the Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties class

public AuthenticationProperties(IDictionary<string, string> items)

Properties

Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties.AllowRefresh

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

Return type:System.Nullable<System.Boolean>
public bool ? AllowRefresh { get; set; }
Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties.ExpiresUtc

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

Return type:System.Nullable<System.DateTimeOffset>
public DateTimeOffset? ExpiresUtc { get; set; }
Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties.IsPersistent

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

Return type:System.Boolean
public bool IsPersistent { get; set; }
Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties.IssuedUtc

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

Return type:System.Nullable<System.DateTimeOffset>
public DateTimeOffset? IssuedUtc { get; set; }
Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties.Items

State values about the authentication session.

Return type:System.Collections.Generic.IDictionary<System.String>
public IDictionary<string, string> Items { get; }
Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties.RedirectUri

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

Return type:System.String
public string RedirectUri { get; set; }