ArkeServer.AuthController (arke_server v0.7.0)

Copy Markdown View Source

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

change_password(conn, params)

Change user password

mailer_module()

open_api_operation(action)

recover_password(conn, params)

Reset user password

refresh(conn, arg2)

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

reset_password(conn, params)

signin(conn, params)

Signin a user

signup(conn, map)

Signin a user

update_member_access_time(member, args \\ [])

verify(conn, _)

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

  • conn => %Plug.Conn{}