|
|
virtual void | start_auth_cache_cleanup_thread ()=0 |
| |
|
virtual AuthorizeResponse | authorize_req (const IdToken id_token, const std::optional< CiString< 5500 > > &certificate, const std::optional< std::vector< OCSPRequestData > > &ocsp_request_data)=0 |
| |
|
virtual void | trigger_authorization_cache_cleanup ()=0 |
| |
| virtual void | update_authorization_cache_size ()=0 |
| | Calculate and update the authorization cache size in the device model. More...
|
| |
|
virtual bool | is_auth_cache_ctrlr_enabled ()=0 |
| |
|
virtual void | authorization_cache_insert_entry (const std::string &id_token_hash, const IdTokenInfo &id_token_info)=0 |
| |
|
virtual std::optional< AuthorizationCacheEntry > | authorization_cache_get_entry (const std::string &id_token_hash)=0 |
| |
|
virtual void | authorization_cache_delete_entry (const std::string &id_token_hash)=0 |
| |
| virtual AuthorizeResponse | validate_token (const IdToken id_token, const std::optional< CiString< 5500 > > &certificate, const std::optional< std::vector< OCSPRequestData > > &ocsp_request_data)=0 |
| | Validates provided id_token certificate and ocsp_request_data using CSMS, AuthCache or AuthList. More...
|
| |
Public Member Functions inherited from ocpp::v2::MessageHandlerInterface |
| virtual void | handle_message (const EnhancedMessage< MessageType > &message)=0 |
| | Handles the given message from the CSMS. This includes dispatching a CALLRESULT as a response to the incoming message . More...
|
| |
◆ update_authorization_cache_size()
| virtual void ocpp::v2::AuthorizationInterface::update_authorization_cache_size |
( |
| ) |
|
|
pure virtual |
◆ validate_token()
Validates provided id_token certificate and ocsp_request_data using CSMS, AuthCache or AuthList.
- Parameters
-
| id_token | |
| certificate | |
| ocsp_request_data | |
- Returns
- AuthorizeResponse containing the result of the validation
Implemented in ocpp::v2::Authorization.
The documentation for this class was generated from the following file: