IdentityBuilderExtensions.AddDefaultTokenProviders(IdentityBuilder) 方法

定义

添加用于为重置密码、更改电子邮件和更改电话号码操作以及生成双重身份验证令牌生成令牌的默认令牌提供程序。

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

参数

builder
IdentityBuilder

当前的 IdentityBuilder 实例。

返回

当前的 IdentityBuilder 实例。

适用于