.. _everest_api_auth_token_provider_API: ########################## auth\_token\_provider\_API ########################## .. container:: everest-api overview .. raw:: html
.. container:: lead EVerest API definition for auth token provider API for EVerest API clients implementing auth token provider. .. raw:: htmlSpecification: auth_token_provider_API.yaml · pionix:de:everest:auth_token_provider_API
default mqtt
default local MQTT
localhost:1883everest_api/1/auth_token_provider/{module_id}{module_id}The ID of the module as defined in the EVerest config file.
everest_api/1/auth_token_provider/{module_id}/m2e/provided_tokenapplication/jsonMessage send_provided_token
The provided token
Payload
Type for IdToken provided by auth token providers. Contains additional information about the IdToken like the source and purpose
Example
{
"authorization_type": "OCPP",
"id_token": {
"type": "Central",
"value": "TOKEN"
}
}
everest_api/1/auth_token_provider/{module_id}/m2e/communication_checkapplication/jsonMessage send_communication_check
Signal to EVerest that communication is good or check shall be stopped
Payload
Send true at least every cfg_communication_check_to_s seconds to signal that the client is alive, otherwise EVerest raises a CommunicationFault, which the next message clears. Send false to stop the check until the module restarts.
Example
true
everest_api/1/auth_token_provider/{module_id}/e2m/heartbeatapplication/jsonMessage receive_heartbeat
Heartbeat produced by EVerest as configured via cfg_heartbeat_interval_ms in the EVerest configuration
Payload
64bit unsigned integer. The id of every heartbeat increases by 1 and overflows when the maximum representable value is reached
Example
42
Send true at least every cfg_communication_check_to_s seconds to signal that the client is alive, otherwise EVerest raises a CommunicationFault, which the next message clears. Send false to stop the check until the module restarts.
64bit unsigned integer. The id of every heartbeat increases by 1 and overflows when the maximum representable value is reached
Contains the certificate information
Additional properties allowed.
Used algorithms for the hashes provided
SHA256SHA384SHA512Hashed value of the Issuer Distinguished Name
Hashed value of the issuers public key
The serial number of the certificate
This contains the responder URL
Type for a custom id token with a free-form type
Additional properties allowed.
Arbitrary value of the IdToken
Custom type of the token
Type for an id token
Additional properties allowed.
Arbitrary value of the IdToken: This has to be printable case insensitive ascii
Type of the token
CentraleMAIDMacAddressISO14443ISO15693KeyCodeLocalNoAuthorizationA list of additional custom id tokens than can be used for providing additional information for validation
Type for a custom id token with a free-form type
Type for IdToken provided by auth token providers. Contains additional information about the IdToken like the source and purpose
Additional properties allowed.
Id of the authorization request of this token. Could be used to put remoteStartId of OCPP2.0.1
Authorization type of the token.
OCPPRFIDAutochargePlugAndChargeBankCardA list of connector ids to which the authorization can be assigned
Indicates that the id token is already validated by the provider
The X.509 certificated presented by EV and encoded in PEM format
Contains the information needed to verify the EV Contract Certificate via OCSP
An array of contract certificate infos