PasswordHasher<TUser>(IOptions<PasswordHasherOptions>) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.