asobi_auth_controller (asobi v0.35.4)

View Source

Summary

Functions

login(Req)

-spec login(cowboy_req:req()) -> {json, map()} | {json, integer(), map(), map()}.

logout(Req)

-spec logout(cowboy_req:req()) -> {json, integer(), map(), map()}.

refresh(Req)

-spec refresh(cowboy_req:req()) -> {json, map()} | {json, integer(), map(), map()}.

register(Req)

-spec register(cowboy_req:req()) -> {json, map()} | {json, integer(), map(), map()}.