Apache Mesos
|
Classes | |
struct | AuthenticationResult |
Represents the result of authenticating a request. More... | |
class | Authenticator |
The Authenticator interface allows us to implement different authenticators based on the scheme (e.g. More... | |
class | AuthenticatorManager |
class | BasicAuthenticator |
Implements the "Basic" authentication scheme using a fixed set of credentials. More... | |
class | JWT |
A JSON Web Token (JWT) implementation. More... | |
class | JWTError |
struct | Principal |
Contains information associated with an authenticated principal. More... | |
Functions | |
std::ostream & | operator<< (std::ostream &stream, const Principal &principal) |
Future< Nothing > | setAuthenticator (const std::string &realm, Owned< Authenticator > authenticator) |
Sets (or overwrites) the authenticator for the realm. More... | |
Future< Nothing > | unsetAuthenticator (const std::string &realm) |
Unsets the authenticator for the realm. More... | |
std::ostream & | operator<< (std::ostream &stream, const JWT &jwt) |
std::ostream& process::http::authentication::operator<< | ( | std::ostream & | stream, |
const Principal & | principal | ||
) |
std::ostream& process::http::authentication::operator<< | ( | std::ostream & | stream, |
const JWT & | jwt | ||
) |
Future<Nothing> process::http::authentication::setAuthenticator | ( | const std::string & | realm, |
Owned< Authenticator > | authenticator | ||
) |
Sets (or overwrites) the authenticator for the realm.
Every incoming HTTP request to an endpoint associated with the realm will be authenticated with the given authenticator.