MCPcopy Create free account
hub / github.com/3rdparty/libprocess / BasicAuthenticatorProcess

Class BasicAuthenticatorProcess

src/authenticator.cpp:60–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58
59
60class BasicAuthenticatorProcess : public Process<BasicAuthenticatorProcess>
61{
62public:
63 BasicAuthenticatorProcess(
64 const string& realm,
65 const hashmap<string, string>& credentials);
66
67 virtual Future<AuthenticationResult> authenticate(
68 const http::Request& request);
69
70private:
71 const string realm_;
72 const hashmap<string, string> credentials_;
73};
74
75
76BasicAuthenticatorProcess::BasicAuthenticatorProcess(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected