Delen via


AuthenticationTokenExtensions Class

Definition

Extension methods for storing authentication tokens in AuthenticationProperties.

public ref class AuthenticationTokenExtensions abstract sealed
public static class AuthenticationTokenExtensions
type AuthenticationTokenExtensions = class
Public Module AuthenticationTokenExtensions
Inheritance
AuthenticationTokenExtensions

Methods

GetTokenAsync(AuthenticationManager, String, String)
GetTokenAsync(AuthenticationManager, String)
GetTokenAsync(IAuthenticationService, HttpContext, String, String)

Authenticates the request using the specified authentication scheme and returns the value for the token.

GetTokenAsync(IAuthenticationService, HttpContext, String)

Authenticates the request using the specified authentication scheme and returns the value for the token.

GetTokens(AuthenticationProperties)

Returns all of the AuthenticationToken instances contained in the properties.

GetTokens(AuthenticationProperties)
GetTokenValue(AuthenticationProperties, String)

Returns the value of a token.

GetTokenValue(AuthenticationProperties, String)
StoreTokens(AuthenticationProperties, IEnumerable<AuthenticationToken>)

Stores a set of authentication tokens, after removing any old tokens.

StoreTokens(AuthenticationProperties, IEnumerable<AuthenticationToken>)
UpdateTokenValue(AuthenticationProperties, String, String)

Updates the value of a token if already present.

UpdateTokenValue(AuthenticationProperties, String, String)

Applies to