17 #ifndef __MESOS_AUTHENTICATION_EXECUTOR_JWT_SECRET_GENERATOR_HPP__ 18 #define __MESOS_AUTHENTICATION_EXECUTOR_JWT_SECRET_GENERATOR_HPP__ 28 namespace authentication {
55 #endif // __MESOS_AUTHENTICATION_EXECUTOR_JWT_SECRET_GENERATOR_HPP__
Creates a VALUE-type secret containing a JWT.
Definition: jwt_secret_generator.hpp:36
process::Future< Secret > generate(const process::http::authentication::Principal &principal) override
The SecretGenerator interface represents a mechanism to create a secret from a principal.
Definition: secret_generator.hpp:34
JWTSecretGenerator(const std::string &secret)
Contains information associated with an authenticated principal.
Definition: authenticator.hpp:41
~JWTSecretGenerator() override
Definition: future.hpp:58