Share via


IdentityBuilderExtensions.AddDefaultTokenProviders(IdentityBuilder) Method

Definition

Adds the default token providers used to generate tokens for reset passwords, change email and change telephone number operations, and for two factor authentication token generation.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Identity::IdentityBuilder ^ AddDefaultTokenProviders(Microsoft::AspNetCore::Identity::IdentityBuilder ^ builder);
public static Microsoft.AspNetCore.Identity.IdentityBuilder AddDefaultTokenProviders (this Microsoft.AspNetCore.Identity.IdentityBuilder builder);
static member AddDefaultTokenProviders : Microsoft.AspNetCore.Identity.IdentityBuilder -> Microsoft.AspNetCore.Identity.IdentityBuilder
<Extension()>
Public Function AddDefaultTokenProviders (builder As IdentityBuilder) As IdentityBuilder

Parameters

builder
IdentityBuilder

The current IdentityBuilder instance.

Returns

The current IdentityBuilder instance.

Applies to