Class ConfigureBackOfficeCookieOptions
- Namespace
- Umbraco.Cms.Web.BackOffice.Security
- Assembly
- Umbraco.Web.BackOffice.dll
Used to configure CookieAuthenticationOptions for the back office authentication type
public class ConfigureBackOfficeCookieOptions : IConfigureNamedOptions<CookieAuthenticationOptions>, IConfigureOptions<CookieAuthenticationOptions>
- Inheritance
-
ConfigureBackOfficeCookieOptions
- Implements
- Inherited Members
Constructors
ConfigureBackOfficeCookieOptions(IServiceProvider, IUmbracoContextAccessor, IOptions<SecuritySettings>, IOptions<GlobalSettings>, IHostingEnvironment, IRuntimeState, IDataProtectionProvider, IUserService, IIpResolver, ISystemClock, UmbracoRequestPaths, IBasicAuthService)
Initializes a new instance of the ConfigureBackOfficeCookieOptions class.
public ConfigureBackOfficeCookieOptions(IServiceProvider serviceProvider, IUmbracoContextAccessor umbracoContextAccessor, IOptions<SecuritySettings> securitySettings, IOptions<GlobalSettings> globalSettings, IHostingEnvironment hostingEnvironment, IRuntimeState runtimeState, IDataProtectionProvider dataProtection, IUserService userService, IIpResolver ipResolver, ISystemClock systemClock, UmbracoRequestPaths umbracoRequestPaths, IBasicAuthService basicAuthService)
Parameters
serviceProviderIServiceProviderThe IServiceProvider
umbracoContextAccessorIUmbracoContextAccessorThe Umbraco.Cms.Core.Web.IUmbracoContextAccessor
securitySettingsIOptions<SecuritySettings>The Umbraco.Cms.Core.Configuration.Models.SecuritySettings options
globalSettingsIOptions<GlobalSettings>The Umbraco.Cms.Core.Configuration.Models.GlobalSettings options
hostingEnvironmentIHostingEnvironmentThe Umbraco.Cms.Core.Hosting.IHostingEnvironment
runtimeStateIRuntimeStateThe Umbraco.Cms.Core.Services.IRuntimeState
dataProtectionIDataProtectionProvideruserServiceIUserServiceThe Umbraco.Cms.Core.Services.IUserService
ipResolverIIpResolverThe Umbraco.Cms.Core.Net.IIpResolver
systemClockISystemClockThe ISystemClock
umbracoRequestPathsUmbracoRequestPathsThe Umbraco.Cms.Core.Routing.UmbracoRequestPaths
basicAuthServiceIBasicAuthServiceThe Umbraco.Cms.Core.Services.IBasicAuthService
Methods
Configure(CookieAuthenticationOptions)
public void Configure(CookieAuthenticationOptions options)
Parameters
optionsCookieAuthenticationOptions
Configure(string?, CookieAuthenticationOptions)
public void Configure(string? name, CookieAuthenticationOptions options)
Parameters
namestringoptionsCookieAuthenticationOptions