Apache Mesos
|
Represents the result of authenticating a request. More...
#include <authenticator.hpp>
Public Attributes | |
Option< Principal > | principal |
Option< Unauthorized > | unauthorized |
Option< Forbidden > | forbidden |
Represents the result of authenticating a request.
An AuthenticationResult
can represent one of the following states:
principal
is set.unauthorized
is set.forbidden
is set.Exactly one of the member variables must be set. Setting more than one or not setting any is an error.
Option<Unauthorized> process::http::authentication::AuthenticationResult::unauthorized |