Skip to main content

Module auth

Module auth 

Source
Available on crate feature transport only.
Expand description

Credentials tokens: the Authorization: Token <base64> header, done carefully.

Structs§

CredentialsToken
A credentials token: the shared secret two platforms authenticate each other with.
InvalidToken
Why a string is not a usable credentials token.

Enums§

TokenRole
Which token of the registration handshake a value is.

Constants§

TOKEN_PREFIX
The Authorization header value prefix OCPI uses.