Class ConfigureBackOfficeCookieOptions
Used to configure Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions for the back office authentication type
Inheritance
System.Object
Namespace: Umbraco.Cms.Web.BackOffice.Security
Assembly: Umbraco.Web.BackOffice.dll
Syntax
public class ConfigureBackOfficeCookieOptions : IConfigureNamedOptions<CookieAuthenticationOptions>, IConfigureOptions<CookieAuthenticationOptions>
Constructors
View SourceConfigureBackOfficeCookieOptions(IServiceProvider, IUmbracoContextAccessor, IOptions<SecuritySettings>, IOptions<GlobalSettings>, IHostingEnvironment, IRuntimeState, IDataProtectionProvider, IUserService, IIpResolver, TimeProvider, UmbracoRequestPaths, IBasicAuthService, IOptions<BackOfficeAuthenticationTypeSettings>)
Initializes a new instance of the ConfigureBackOfficeCookieOptions class.
Declaration
public ConfigureBackOfficeCookieOptions(IServiceProvider serviceProvider, IUmbracoContextAccessor umbracoContextAccessor, IOptions<SecuritySettings> securitySettings, IOptions<GlobalSettings> globalSettings, IHostingEnvironment hostingEnvironment, IRuntimeState runtimeState, IDataProtectionProvider dataProtection, IUserService userService, IIpResolver ipResolver, TimeProvider timeProvider, UmbracoRequestPaths umbracoRequestPaths, IBasicAuthService basicAuthService, IOptions<BackOfficeAuthenticationTypeSettings> backOfficeAuthenticationTypeSettings)
Parameters
Type | Name | Description |
---|---|---|
IServiceProvider | serviceProvider | The |
IUmbracoContextAccessor | umbracoContextAccessor | The |
Microsoft.Extensions.Options.IOptions<SecuritySettings> | securitySettings | The |
Microsoft.Extensions.Options.IOptions<GlobalSettings> | globalSettings | The |
IHostingEnvironment | hostingEnvironment | The |
IRuntimeState | runtimeState | The |
Microsoft.AspNetCore.DataProtection.IDataProtectionProvider | dataProtection | The Microsoft.AspNetCore.DataProtection.IDataProtectionProvider |
IUserService | userService | The |
IIpResolver | ipResolver | The |
TimeProvider | timeProvider | The |
UmbracoRequestPaths | umbracoRequestPaths | The |
IBasicAuthService | basicAuthService | The |
Microsoft.Extensions.Options.IOptions<BackOfficeAuthenticationTypeSettings> | backOfficeAuthenticationTypeSettings |
Methods
View SourceConfigure(CookieAuthenticationOptions)
Declaration
public void Configure(CookieAuthenticationOptions options)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions | options |
Configure(String, CookieAuthenticationOptions)
Declaration
public void Configure(string name, CookieAuthenticationOptions options)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions | options |