auth0_plug v1.1.0 Auth0Plug
Documentation for Auth0Plug.
Link to this section Summary
Functions
Extracts the jwt from the header, when present.
Whether a 401 should be returned.
Whether the path is excluded.
Return a 401 response.
Link to this section Functions
Link to this function
call(conn, options)
Link to this function
get_jwt(conn)
Extracts the jwt from the header, when present.
Link to this function
init(options)
Link to this function
is_401?(conn)
Whether a 401 should be returned.
401s are return only when return_401 is set to true and the path is not in exclude_from_401.
Link to this function
is_excluded?(conn)
Whether the path is excluded.
Link to this function
put_jwt(conn, jwt)
Link to this function
unauthorized(conn)
Return a 401 response.
Link to this function
unauthorized_message()
Link to this function