Class ConfigureBackOfficeCookieOptions
Used to configure
Inheritance
System.Object
Namespace: Umbraco.Cms.Api.Management.Configuration
Assembly: Umbraco.Cms.Api.Management.dll
Syntax
public class ConfigureBackOfficeCookieOptions : IConfigureNamedOptions<CookieAuthenticationOptions>
Constructors
View SourceConfigureBackOfficeCookieOptions(IOptions<SecuritySettings>, IOptions<GlobalSettings>, IRuntimeState, IDataProtectionProvider, IUserService, IIpResolver, TimeProvider)
Initializes a new instance of the ConfigureBackOfficeCookieOptions class.
Declaration
public ConfigureBackOfficeCookieOptions(IOptions<SecuritySettings> securitySettings, IOptions<GlobalSettings> globalSettings, IRuntimeState runtimeState, IDataProtectionProvider dataProtection, IUserService userService, IIpResolver ipResolver, TimeProvider timeProvider)
Parameters
| Type | Name | Description |
|---|---|---|
| IOptions<SecuritySettings> | securitySettings | The |
| IOptions<GlobalSettings> | globalSettings | The |
| IRuntimeState | runtimeState | The |
| IDataProtectionProvider | dataProtection | The |
| IUserService | userService | The |
| IIpResolver | ipResolver | The |
| TimeProvider | timeProvider | The |
Methods
View SourceConfigure(CookieAuthenticationOptions)
Declaration
public void Configure(CookieAuthenticationOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| CookieAuthenticationOptions | options |
Configure(String, CookieAuthenticationOptions)
Declaration
public void Configure(string name, CookieAuthenticationOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | |
| CookieAuthenticationOptions | options |