AuthenticationTokenExtensions 类

定义

用于在 中存储身份验证令牌的 AuthenticationProperties扩展方法。

public ref class AuthenticationTokenExtensions abstract sealed
public static class AuthenticationTokenExtensions
type AuthenticationTokenExtensions = class
Public Module AuthenticationTokenExtensions
继承
AuthenticationTokenExtensions

方法

GetTokenAsync(AuthenticationManager, String)

用于在 中存储身份验证令牌的 AuthenticationProperties扩展方法。

GetTokenAsync(AuthenticationManager, String, String)

用于在 中存储身份验证令牌的 AuthenticationProperties扩展方法。

GetTokenAsync(IAuthenticationService, HttpContext, String)

使用指定的身份验证方案对请求进行身份验证,并返回令牌的值。

GetTokenAsync(IAuthenticationService, HttpContext, String, String)

使用指定的身份验证方案对请求进行身份验证,并返回令牌的值。

GetTokens(AuthenticationProperties)

返回属性中包含的所有 AuthenticationToken 实例。

GetTokens(AuthenticationProperties)

用于在 中存储身份验证令牌的 AuthenticationProperties扩展方法。

GetTokenValue(AuthenticationProperties, String)

返回标记的值。

GetTokenValue(AuthenticationProperties, String)

用于在 中存储身份验证令牌的 AuthenticationProperties扩展方法。

StoreTokens(AuthenticationProperties, IEnumerable<AuthenticationToken>)

在删除任何旧令牌后存储一组身份验证令牌。

StoreTokens(AuthenticationProperties, IEnumerable<AuthenticationToken>)

用于在 中存储身份验证令牌的 AuthenticationProperties扩展方法。

UpdateTokenValue(AuthenticationProperties, String, String)

汇报令牌的值(如果已存在)。

UpdateTokenValue(AuthenticationProperties, String, String)

用于在 中存储身份验证令牌的 AuthenticationProperties扩展方法。

适用于