Module hex_api_user
Function Index
create/4 | |
get/2 | Gets user. |
me/1 | |
reset_password/2 |
Function Details
create/4
create(Config, Username, Password, Email) -> any()
get/2
get(Config, Username) -> any()
Gets user.
Examples:
> hex_api_user:get(<<"user">>, hex_core:default_config()).
{ok, {200, ..., #{
<<"username">> => <<"user">>,
<<"packages">> => [
#{
<<"name">> => ...,
<<"url">> => ...,
...
},
...
],
...}}}
me/1
me(Config) -> any()
reset_password/2
reset_password(Username, Config) -> any()