AccessPass v0.5.4 AccessPass.Auth

Plug that checks for access_token in header and then checks if its expired or revoked. If it’s not expired/revoked it adds the stored data from the token in meta. If it is then it returns 401 unauthorized and halts the plug. You can pass confirmed: true on the plug to only auth if the users email has been confirmed.

Link to this section Summary

Link to this section Functions

Link to this function call(conn, arg2)
Link to this function init(opts \\ %{})