View Source ArkeServer.AuthController (arke_server v0.1.41)

Documentation for ArkeServer.AuthController. Used from the controller and via API not from CLI

Summary

Functions

Link to this function

change_password(conn, params)

View Source

Change user password

Link to this function

change_password_operation()

View Source
Link to this function

open_api_operation(action)

View Source
Link to this function

recover_password(conn, params)

View Source

Reset user password

Link to this function

recover_password_operation()

View Source

Refresh the JWT tokens. Returns 200 and the tokes if ok

Link to this function

reset_password(conn, params)

View Source
Link to this function

reset_password_operation()

View Source

Signin a user

Verify if the token is still valid. Returns 200 if true

  • conn => %Plug.Conn{}