#include <SchemesConfig.h>

Collaboration diagram for Auth::SchemesConfig:

Public Member Functions

 SchemesConfig (const char *s, const bool q)
 
void expand ()
 

Public Attributes

Auth::ConfigVector authConfigs
 corresponding vector of Auth::Config objects More...
 
const char * rawSchemes
 optimization for storing schemes.c_str() More...
 

Private Attributes

SBuf schemes
 raw auth schemes list (may have duplicates) More...
 
const bool quoted
 

Detailed Description

Stores authentication schemes list, configured by auth_schemes directive.

Definition at line 23 of file SchemesConfig.h.

Constructor & Destructor Documentation

◆ SchemesConfig()

Auth::SchemesConfig::SchemesConfig ( const char *  s,
const bool  q 
)
inline

Definition at line 26 of file SchemesConfig.h.

Member Function Documentation

◆ expand()

void Auth::SchemesConfig::expand ( )

Expands special "ALL" scheme name (if provided), removes duplicates and fills authConfigs vector.

Definition at line 26 of file SchemesConfig.cc.

References addUnique(), authConfigs, SBuf::c_str(), Auth::SchemeConfig::GetParsed(), CharacterSet::HTAB, SBuf::isEmpty(), quoted, Parser::Tokenizer::remaining(), schemes, Parser::Tokenizer::skipAllTrailing(), CharacterSet::SP, and Parser::Tokenizer::token().

Member Data Documentation

◆ authConfigs

Auth::ConfigVector Auth::SchemesConfig::authConfigs

Definition at line 33 of file SchemesConfig.h.

Referenced by expand().

◆ quoted

const bool Auth::SchemesConfig::quoted
private

Definition at line 38 of file SchemesConfig.h.

Referenced by expand().

◆ rawSchemes

const char* Auth::SchemesConfig::rawSchemes

Definition at line 42 of file SchemesConfig.h.

◆ schemes

SBuf Auth::SchemesConfig::schemes
private

Definition at line 37 of file SchemesConfig.h.

Referenced by expand().


The documentation for this class was generated from the following files:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors