AccessPass v0.5.8 AccessPass.AuthExtended
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 any number of arguments in keyword list format to match against the users meta obj that is stored on registration. An example use case is for role based auth.
Link to this section Summary
Link to this section Functions
Link to this function
call(conn, keyword_list)
Link to this function
init(opts \\ %{})