AuthWeb.ApiController (auth v1.6.0)

ApiController includes all functions for our RESTfull API in one place.

Link to this section Summary

Functions

approles/2 Returns the (JSON) List of Roles for a given App based on apikey.client_id Sample output: https://github.com/dwyl/auth/issues/120#issuecomment-695354317

personroles/2 Returns the (JSON) List of Roles for a given person (and App) e.g: /personroles/:person_id/:client_id Sample output: https://github.com/dwyl/auth/issues/121#issuecomment-695360870

Link to this section Functions

Link to this function

approles(conn, map)

approles/2 Returns the (JSON) List of Roles for a given App based on apikey.client_id Sample output: https://github.com/dwyl/auth/issues/120#issuecomment-695354317

Link to this function

personroles(conn, map)

personroles/2 Returns the (JSON) List of Roles for a given person (and App) e.g: /personroles/:person_id/:client_id Sample output: https://github.com/dwyl/auth/issues/121#issuecomment-695360870