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, 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 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

    TimeProvider timeProvider

    The

    UmbracoRequestPaths umbracoRequestPaths

    The

    IBasicAuthService basicAuthService

    The

    Microsoft.Extensions.Options.IOptions<BackOfficeAuthenticationTypeSettings> backOfficeAuthenticationTypeSettings

    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, TimeProvider, UmbracoRequestPaths, IBasicAuthService, IOptions<BackOfficeAuthenticationTypeSettings>)
    • Methods
      • Configure(CookieAuthenticationOptions)
      • Configure(String, CookieAuthenticationOptions)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX