Search Results for

    Show / Hide Table of Contents
    View Source

    Class BasicAuthService

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Services.Implement
    Assembly: Umbraco.Core.dll
    Syntax
    public class BasicAuthService : IBasicAuthService

    Constructors

    View Source

    BasicAuthService(IOptionsMonitor<BasicAuthSettings>)

    Declaration
    public BasicAuthService(IOptionsMonitor<BasicAuthSettings> optionsMonitor)
    Parameters
    Type Name Description
    IOptionsMonitor<BasicAuthSettings> optionsMonitor
    View Source

    BasicAuthService(IOptionsMonitor<BasicAuthSettings>, IIpAddressUtilities)

    Declaration
    public BasicAuthService(IOptionsMonitor<BasicAuthSettings> optionsMonitor, IIpAddressUtilities ipAddressUtilities)
    Parameters
    Type Name Description
    IOptionsMonitor<BasicAuthSettings> optionsMonitor
    IIpAddressUtilities ipAddressUtilities

    Methods

    View Source

    HasCorrectSharedSecret(IDictionary<String, StringValues>)

    Declaration
    public bool HasCorrectSharedSecret(IDictionary<string, StringValues> headers)
    Parameters
    Type Name Description
    IDictionary<System.String, StringValues> headers
    Returns
    Type Description
    System.Boolean
    View Source

    IsBasicAuthEnabled()

    Declaration
    public bool IsBasicAuthEnabled()
    Returns
    Type Description
    System.Boolean
    View Source

    IsIpAllowListed(IPAddress)

    Declaration
    public bool IsIpAllowListed(IPAddress clientIpAddress)
    Parameters
    Type Name Description
    System.Net.IPAddress clientIpAddress
    Returns
    Type Description
    System.Boolean
    View Source

    IsRedirectToLoginPageEnabled()

    Declaration
    public bool IsRedirectToLoginPageEnabled()
    Returns
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • BasicAuthService(IOptionsMonitor<BasicAuthSettings>)
      • BasicAuthService(IOptionsMonitor<BasicAuthSettings>, IIpAddressUtilities)
    • Methods
      • HasCorrectSharedSecret(IDictionary<String, StringValues>)
      • IsBasicAuthEnabled()
      • IsIpAllowListed(IPAddress)
      • IsRedirectToLoginPageEnabled()
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX