PasswordHasher<TUser>(IOptions<PasswordHasherOptions>) Constructor

Definition

Creates a new instance of 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)

Parameters

optionsAccessor
IOptions<PasswordHasherOptions>

The options for this instance.

Applies to