* Implements the "Basic" authentication scheme using a * fixed set of credentials. */
| 132 | * fixed set of credentials. |
| 133 | */ |
| 134 | class BasicAuthenticator : public Authenticator |
| 135 | { |
| 136 | public: |
| 137 | BasicAuthenticator( |
| 138 | const std::string& realm, |
| 139 | const hashmap<std::string, std::string>& credentials); |
| 140 | |
| 141 | ~BasicAuthenticator() override; |
| 142 | |
| 143 | Future<AuthenticationResult> authenticate( |
| 144 | const http::Request& request) override; |
| 145 | |
| 146 | std::string scheme() const override; |
| 147 | |
| 148 | private: |
| 149 | Owned<BasicAuthenticatorProcess> process_; |
| 150 | }; |
| 151 | |
| 152 | |
| 153 | #ifdef USE_SSL_SOCKET |
nothing calls this directly
no outgoing calls
no test coverage detected