Class ConfigureSecurityStampOptions
Inheritance
System.Object
Namespace: Umbraco.Cms.Web.Common.Security
Assembly: Umbraco.Web.Common.dll
Syntax
public class ConfigureSecurityStampOptions : IConfigureOptions<SecurityStampValidatorOptions>
Constructors
View SourceConfigureSecurityStampOptions()
Declaration
public ConfigureSecurityStampOptions()
ConfigureSecurityStampOptions(IOptions<SecuritySettings>)
Declaration
public ConfigureSecurityStampOptions(IOptions<SecuritySettings> securitySettings)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Extensions.Options.IOptions<SecuritySettings> | securitySettings |
Methods
View SourceConfigure(SecurityStampValidatorOptions)
Declaration
public void Configure(SecurityStampValidatorOptions options)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Identity.SecurityStampValidatorOptions | options |
ConfigureOptions(SecurityStampValidatorOptions)
Declaration
public static void ConfigureOptions(SecurityStampValidatorOptions options)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Identity.SecurityStampValidatorOptions | options |
ConfigureOptions(SecurityStampValidatorOptions, SecuritySettings)
Configures security stamp options and ensures any custom claims set on the identity are persisted to the new identity when it's refreshed.
Declaration
public static void ConfigureOptions(SecurityStampValidatorOptions options, SecuritySettings securitySettings)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Identity.SecurityStampValidatorOptions | options | Options for Microsoft.AspNetCore.Identity.ISecurityStampValidator. |
SecuritySettings | securitySettings | The |