Crate rocket_auth_token

Source

Structs§

AuthCredentials
AuthCredentials to be encoded into AuthToken and vice-versa
AuthToken
AuthToken is to be passed into Authorization header after encoding user credentials

Functions§

decode_token
Decode passed AuthToken and return AuthCredentials
encode_credentials
Encode AuthCredentials into base64 encoded string and return AuthToken