Structs§
- Struct that encapsulates valid authentication methods.
Functions§
- Check if the client hash access to the restricted API’s endpoints.
- Check if the user attempted to or is registered already in the DB.
- Delete a token that will be no longer used.
- Enable an API client account.
- Hash a plain token using Argon2.
- Generate a token of 25 alphanumeric characters.
- Store a validation token in the DB.
- Check if a given token matches the hash stored in the DB.