AccessPass v0.4.0 API Reference
Modules
This is the main Public api and out of the box all you will use. Includes everything you need for all your authentication needs
AccessToken communicated internally with a GenServer implementation of your applications valid access tokens
Plug that checks for access_token in header and then checks if its expired or revoked. If it’s not it adds the stored data from the token in meta. If it is then it returns 401 unauthorized and halts the plug
RefreshToken communicated internally with a GenServer implementation of your applications valid refresh tokens
Routes provides a drop in macro to generate routes for a phoenix route file to handle the following endpoints