Dela via


TokenOptions Class

Definition

Options for user tokens.

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

Constructors

TokenOptions()

Fields

DefaultAuthenticatorProvider

Default token provider name used by the AuthenticatorTokenProvider.

DefaultEmailProvider

Default token provider name used by the email provider.

DefaultPhoneProvider

Default token provider name used by the phone provider.

DefaultProvider

Default token provider name used by email confirmation, password reset, and change email.

Properties

AuthenticatorIssuer

Gets or sets the issuer used for the authenticator issuer.

AuthenticatorTokenProvider

Gets or sets the AuthenticatorTokenProvider used to validate two factor sign ins with an authenticator.

ChangeEmailTokenProvider

Gets or sets the ChangeEmailTokenProvider used to generate tokens used in email change confirmation emails.

ChangePhoneNumberTokenProvider

Gets or sets the ChangePhoneNumberTokenProvider used to generate tokens used when changing phone numbers.

EmailConfirmationTokenProvider

Gets or sets the token provider used to generate tokens used in account confirmation emails.

PasswordResetTokenProvider

Gets or sets the IUserTwoFactorTokenProvider<TUser> used to generate tokens used in password reset emails.

ProviderMap

Will be used to construct UserTokenProviders with the key used as the providerName.

Applies to