Search Results for

    Show / Hide Table of Contents
    View Source

    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 Source

    ConfigureBackOfficeCookieOptions(IServiceProvider, IUmbracoContextAccessor, IOptions<SecuritySettings>, IOptions<GlobalSettings>, IHostingEnvironment, IRuntimeState, IDataProtectionProvider, IUserService, IIpResolver, ISystemClock, UmbracoRequestPaths, IBasicAuthService)

    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, ISystemClock systemClock, UmbracoRequestPaths umbracoRequestPaths, IBasicAuthService basicAuthService)
    Parameters
    Type Name Description
    IServiceProvider serviceProvider

    The

    IUmbracoContextAccessor umbracoContextAccessor

    The

    Microsoft.Extensions.Options.IOptions<SecuritySettings> securitySettings

    The options

    Microsoft.Extensions.Options.IOptions<GlobalSettings> globalSettings

    The options

    IHostingEnvironment hostingEnvironment

    The

    IRuntimeState runtimeState

    The

    Microsoft.AspNetCore.DataProtection.IDataProtectionProvider dataProtection

    The Microsoft.AspNetCore.DataProtection.IDataProtectionProvider

    IUserService userService

    The

    IIpResolver ipResolver

    The

    Microsoft.AspNetCore.Authentication.ISystemClock systemClock

    The Microsoft.AspNetCore.Authentication.ISystemClock

    UmbracoRequestPaths umbracoRequestPaths

    The

    IBasicAuthService basicAuthService

    The

    Methods

    View Source

    Configure(CookieAuthenticationOptions)

    Declaration
    public void Configure(CookieAuthenticationOptions options)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions options
    View Source

    Configure(String, CookieAuthenticationOptions)

    Declaration
    public void Configure(string name, CookieAuthenticationOptions options)
    Parameters
    Type Name Description
    System.String name
    Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions options
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ConfigureBackOfficeCookieOptions(IServiceProvider, IUmbracoContextAccessor, IOptions<SecuritySettings>, IOptions<GlobalSettings>, IHostingEnvironment, IRuntimeState, IDataProtectionProvider, IUserService, IIpResolver, ISystemClock, UmbracoRequestPaths, IBasicAuthService)
    • Methods
      • Configure(CookieAuthenticationOptions)
      • Configure(String, CookieAuthenticationOptions)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX