Apache Mesos
Public Member Functions | List of all members
mesos::authentication::executor::JWTSecretGenerator Class Reference

Creates a VALUE-type secret containing a JWT. More...

#include <jwt_secret_generator.hpp>

Inheritance diagram for mesos::authentication::executor::JWTSecretGenerator:
mesos::SecretGenerator

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 ()
 

Detailed Description

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.

Constructor & Destructor Documentation

mesos::authentication::executor::JWTSecretGenerator::JWTSecretGenerator ( const std::string &  secret)
mesos::authentication::executor::JWTSecretGenerator::~JWTSecretGenerator ( )
override

Member Function Documentation

process::Future<Secret> mesos::authentication::executor::JWTSecretGenerator::generate ( const process::http::authentication::Principal principal)
overridevirtual

The documentation for this class was generated from the following file: