10.1.2. Auth

This module implements the authentication handling for the EVerest. It is responsible for providing authorization to the connected evse managers. In addition to that, it handles the reservation management.

For a detailed handwritten documentation see here

10.1.2.1. Module Configuration

selection_algorithm:string
default: PlugEvents
The algorithm that is used to map an incoming token to a connector
connection_timeout:integer
Defines how many seconds an authorization is valid before it is discarded. Defines how many seconds a user can provide authorization after the plug in of a car
prioritize_authorization_over_stopping_transaction:boolean
default: True
Boolean value to describe the handling of parent id tokens.
If true, a new token will be preferably used for authorization of a new connector if a connector is available. It will not be used to finish a transaction using its parent_id_token. parent_id_token will only be used to finish transaction if no connector is available for authorization anymore.
If false, a new token will be used to finish a transaction if the parent_id_token of a present transaction matches the parent_id_token of the provided_token. Authorization to available connectors will only be provided if no transaction can be stopped using the given parent_id_token

10.1.2.2. Provides

main:auth
This implements the auth interface for EVerest
reservation:reservation
This implements the reservation interface for EVerest.

10.1.2.3. Requirements

token_provider:auth_token_provider
token_validator:auth_token_validator
evse_manager:evse_manager

10.1.2.4. Metadata

10.1.2.4.1. Authors

Piet Gömpel

10.1.2.4.2. License