共用方式為


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>

這個實例的選項。

適用於