AccessPass v1.1.0 AccessPass.Routes
Routes provides a drop in macro to generate routes for a phoenix route file to handle the following endpoints:
GET /check
GET /refresh
POST /register
POST /confirm
POST /login
POST /reset_password
POST /logout
POST /change_password
POST /forgot_username
usage:
defmodule TestWeb.Router do
use TestWeb, :router
use AccessPass.Routes
scope "/" do
get "/", PageController, :index
access_pass :routes
end
end
Link to this section Summary
Link to this section Functions
Link to this macro