View Source ArkeServer.AuthController (arke_server v0.3.10)

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

Summary

Functions

Change user password

Reset user password

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

Signin a user

Signin a user

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

Functions

Link to this function

change_password(conn, params)

View Source

Change user password

Link to this function

open_api_operation(action)

View Source
Link to this function

recover_password(conn, params)

View Source

Reset user password

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

Link to this function

reset_password(conn, params)

View Source

Signin a user

Signin a user

Link to this function

update_member_access_time(member, args \\ [])

View Source

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

  • conn => %Plug.Conn{}