AuthenticationProperties 类

定义

用于存储有关身份验证会话的状态值的字典。

public ref class AuthenticationProperties
public class AuthenticationProperties
type AuthenticationProperties = class
Public Class AuthenticationProperties
继承
AuthenticationProperties

构造函数

名称 说明
AuthenticationProperties()

初始化 AuthenticationProperties 类的新实例。

AuthenticationProperties(IDictionary<String,String>)

初始化 AuthenticationProperties 类的新实例。

属性

名称 说明
AllowRefresh

获取或设置是否应允许刷新身份验证会话。

ExpiresUtc

获取或设置身份验证票证的过期时间。

IsPersistent

获取或设置是否在多次请求后保留身份验证会话。

IssuedUtc

获取或设置身份验证票证的颁发时间。

Items

有关身份验证会话的状态值。

RedirectUri

获取或设置要用作 HTTP 重定向响应值的完整路径或绝对 URI。

扩展方法

名称 说明
GetTokens(AuthenticationProperties)

用于存储有关身份验证会话的状态值的字典。

GetTokenValue(AuthenticationProperties, String)

用于存储有关身份验证会话的状态值的字典。

StoreTokens(AuthenticationProperties, IEnumerable<AuthenticationToken>)

用于存储有关身份验证会话的状态值的字典。

UpdateTokenValue(AuthenticationProperties, String, String)

用于存储有关身份验证会话的状态值的字典。

适用于