#include <jwt_key_auto_refresh.h>
|
| | JwtKeyAutoRefresh (size_t refresh_interval_s, NetworkState &network, const std::shared_ptr< ccf::kv::Consensus > &consensus, const std::shared_ptr< ccf::RPCSessions > &rpcsessions, const std::shared_ptr< ccf::RPCMap > &rpc_map, ccf::crypto::ECKeyPairPtr node_sign_kp, ccf::crypto::Pem node_cert) |
| |
| | ~JwtKeyAutoRefresh () |
| |
| void | start () |
| |
| void | stop () |
| |
| void | schedule_once () |
| |
| template<typename T > |
| void | send_refresh_jwt_keys (T msg) |
| |
| void | send_refresh_jwt_keys_error () |
| |
| void | handle_jwt_jwks_response (const std::string &issuer, const std::optional< std::string > &issuer_constraint, ccf::http_status status, std::vector< uint8_t > &&data) |
| |
| void | handle_jwt_metadata_response (const std::string &issuer, std::shared_ptr<::tls::CA > ca, ccf::http_status status, std::vector< uint8_t > &&data) |
| |
| void | refresh_jwt_keys () |
| |
| size_t | get_attempts () const |
| |
◆ JwtKeyAutoRefresh()
◆ ~JwtKeyAutoRefresh()
| ccf::JwtKeyAutoRefresh::~JwtKeyAutoRefresh |
( |
| ) |
|
|
inline |
◆ get_attempts()
| size_t ccf::JwtKeyAutoRefresh::get_attempts |
( |
| ) |
const |
|
inline |
◆ handle_jwt_jwks_response()
| void ccf::JwtKeyAutoRefresh::handle_jwt_jwks_response |
( |
const std::string & |
issuer, |
|
|
const std::optional< std::string > & |
issuer_constraint, |
|
|
ccf::http_status |
status, |
|
|
std::vector< uint8_t > && |
data |
|
) |
| |
|
inline |
◆ handle_jwt_metadata_response()
| void ccf::JwtKeyAutoRefresh::handle_jwt_metadata_response |
( |
const std::string & |
issuer, |
|
|
std::shared_ptr<::tls::CA > |
ca, |
|
|
ccf::http_status |
status, |
|
|
std::vector< uint8_t > && |
data |
|
) |
| |
|
inline |
◆ refresh_jwt_keys()
| void ccf::JwtKeyAutoRefresh::refresh_jwt_keys |
( |
| ) |
|
|
inline |
◆ schedule_once()
| void ccf::JwtKeyAutoRefresh::schedule_once |
( |
| ) |
|
|
inline |
◆ send_refresh_jwt_keys()
template<typename T >
| void ccf::JwtKeyAutoRefresh::send_refresh_jwt_keys |
( |
T |
msg | ) |
|
|
inline |
◆ send_refresh_jwt_keys_error()
| void ccf::JwtKeyAutoRefresh::send_refresh_jwt_keys_error |
( |
| ) |
|
|
inline |
◆ start()
| void ccf::JwtKeyAutoRefresh::start |
( |
| ) |
|
|
inline |
◆ stop()
| void ccf::JwtKeyAutoRefresh::stop |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: