Structs§
- Auth
Credentials - AuthCredentials to be encoded into AuthToken and vice-versa
- Auth
Token - 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