PasswordHasher<TUser>(IOptions<PasswordHasherOptions>) 构造函数

定义

创建 PasswordHasher<TUser> 的新实例。

public PasswordHasher (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Identity.PasswordHasherOptions> optionsAccessor = default);
public PasswordHasher (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Identity.PasswordHasherOptions>? optionsAccessor = default);
new Microsoft.AspNetCore.Identity.PasswordHasher<'User (requires 'User : null)> : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Identity.PasswordHasherOptions> -> Microsoft.AspNetCore.Identity.PasswordHasher<'User (requires 'User : null)>
Public Sub New (Optional optionsAccessor As IOptions(Of PasswordHasherOptions) = Nothing)

参数

optionsAccessor
IOptions<PasswordHasherOptions>

此实例的选项。

适用于