View Source
  Interface IBasicAuthService
  
  
  
  
  Assembly: Umbraco.Core.dll
  Syntax
  
    public interface IBasicAuthService
   
  Methods
  
  
    View Source
  
  HasCorrectSharedSecret(IDictionary<String, StringValues>)
  
  
  Declaration
  
    virtual bool HasCorrectSharedSecret(IDictionary<string, StringValues> headers)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | IDictionary<System.String, StringValues> | headers |  | 
    
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Boolean |  | 
    
  
  
    View Source
  
  IsBasicAuthEnabled()
  
  
  Declaration
  
    bool IsBasicAuthEnabled()
   
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Boolean |  | 
    
  
  
    View Source
  
  IsIpAllowListed(IPAddress)
  
  
  Declaration
  
    bool IsIpAllowListed(IPAddress clientIpAddress)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Net.IPAddress | clientIpAddress |  | 
    
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Boolean |  | 
    
  
  
    View Source
  
  IsRedirectToLoginPageEnabled()
  
  
  Declaration
  
    virtual bool IsRedirectToLoginPageEnabled()
   
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Boolean |  |