Apache Mesos
|
Contains information associated with an authenticated principal. More...
#include <authenticator.hpp>
Public Member Functions | |
Principal ()=delete | |
Principal (const Option< std::string > &_value) | |
Principal (const Option< std::string > &_value, const hashmap< std::string, std::string > &_claims) | |
bool | operator== (const Principal &that) const |
bool | operator== (const std::string &that) const |
bool | operator!= (const std::string &that) const |
Public Attributes | |
Option< std::string > | value |
hashmap< std::string, std::string > | claims |
Contains information associated with an authenticated principal.
At least one of the following two members must be set: value
: Optional string which is used to identify this principal. claims
: Map containing key-value pairs associated with this principal.
|
delete |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
hashmap<std::string, std::string> process::http::authentication::Principal::claims |
Option<std::string> process::http::authentication::Principal::value |