| 34 | |
| 35 | |
| 36 | class AuthenticatorManagerProcess : public Process<AuthenticatorManagerProcess> |
| 37 | { |
| 38 | public: |
| 39 | AuthenticatorManagerProcess(); |
| 40 | |
| 41 | Future<Nothing> setAuthenticator( |
| 42 | const string& realm, |
| 43 | Owned<Authenticator> authenticator); |
| 44 | |
| 45 | Future<Nothing> unsetAuthenticator( |
| 46 | const string& realm); |
| 47 | |
| 48 | Future<Option<AuthenticationResult>> authenticate( |
| 49 | const Request& request, |
| 50 | const string& realm); |
| 51 | |
| 52 | private: |
| 53 | hashmap<string, Owned<Authenticator>> authenticators_; |
| 54 | }; |
| 55 | |
| 56 | |
| 57 | AuthenticatorManagerProcess::AuthenticatorManagerProcess() |
nothing calls this directly
no outgoing calls
no test coverage detected