Table of Contents

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

serviceProvider IServiceProvider

The IServiceProvider

umbracoContextAccessor IUmbracoContextAccessor

The Umbraco.Cms.Core.Web.IUmbracoContextAccessor

securitySettings IOptions<SecuritySettings>

The Umbraco.Cms.Core.Configuration.Models.SecuritySettings options

globalSettings IOptions<GlobalSettings>

The Umbraco.Cms.Core.Configuration.Models.GlobalSettings options

hostingEnvironment IHostingEnvironment

The Umbraco.Cms.Core.Hosting.IHostingEnvironment

runtimeState IRuntimeState

The Umbraco.Cms.Core.Services.IRuntimeState

dataProtection IDataProtectionProvider

The IDataProtectionProvider

userService IUserService

The Umbraco.Cms.Core.Services.IUserService

ipResolver IIpResolver

The Umbraco.Cms.Core.Net.IIpResolver

systemClock ISystemClock

The ISystemClock

umbracoRequestPaths UmbracoRequestPaths

The Umbraco.Cms.Core.Routing.UmbracoRequestPaths

basicAuthService IBasicAuthService

The Umbraco.Cms.Core.Services.IBasicAuthService

Methods

Configure(CookieAuthenticationOptions)

public void Configure(CookieAuthenticationOptions options)

Parameters

options CookieAuthenticationOptions

Configure(string?, CookieAuthenticationOptions)

public void Configure(string? name, CookieAuthenticationOptions options)

Parameters

name string
options CookieAuthenticationOptions