Apache Mesos
|
Creates a VALUE-type secret containing a JWT. More...
#include <jwt_secret_generator.hpp>
Public Member Functions | |
JWTSecretGenerator (const std::string &secret) | |
~JWTSecretGenerator () override | |
process::Future< Secret > | generate (const process::http::authentication::Principal &principal) override |
Public Member Functions inherited from mesos::SecretGenerator | |
virtual | ~SecretGenerator () |
Creates a VALUE-type secret containing a JWT.
When the secret is presented to the 'JWTAuthenticator' module, the authenticator will return the principal which is provided here as an argument.
mesos::authentication::executor::JWTSecretGenerator::JWTSecretGenerator | ( | const std::string & | secret | ) |
|
override |
|
overridevirtual |
Implements mesos::SecretGenerator.