Molybden API
Loading...
Searching...
No Matches
molybden::HttpAuthPrefs Class Referenceabstract

The HTTP authorization preferences. More...

#include <http_auth_prefs.hpp>

Public Member Functions

virtual std::shared_ptr< Networknetwork ()=0
 The network of these authorization preferences.
 
virtual std::string serverWhitelist ()=0
 Returns the server HTTP authorization whitelist as a string with comma/semicolon separated server URLs.
 
virtual void setServerWhitelist (const std::string &server_whitelist)=0
 Configures the server HTTP authorization whitelist.
 
virtual std::string delegateWhitelist ()=0
 Returns the HTTP network delegate authorization whitelist as a string with comma/semicolon separated server URLs.
 
virtual void setDelegateWhitelist (const std::string &delegate_whitelist)=0
 Configures the HTTP network delegate authorization whitelist.
 

Detailed Description

The HTTP authorization preferences.

Member Function Documentation

◆ setDelegateWhitelist()

virtual void molybden::HttpAuthPrefs::setDelegateWhitelist ( const std::string &  delegate_whitelist)
pure virtual

Configures the HTTP network delegate authorization whitelist.

By default, the network delegate whitelist is empty.

Parameters
delegate_whitelistthe network delegate whitelist as a string with comma/semicolon separated server URLs. For example: "*example.com,*foobar.com,*baz".

◆ setServerWhitelist()

virtual void molybden::HttpAuthPrefs::setServerWhitelist ( const std::string &  server_whitelist)
pure virtual

Configures the server HTTP authorization whitelist.

By default, the server whitelist is empty.

Parameters
server_whitelistthe server whitelist as a string with the comma/semicolon separated server URLs. For example: "*example.com,*foobar.com,*baz".

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