No need to mention the cookies.
parent
eb58109292
commit
1ca3e1f4ef
|
@ -17,8 +17,8 @@
|
||||||
-moduledoc """
|
-moduledoc """
|
||||||
Dudes users management module.
|
Dudes users management module.
|
||||||
|
|
||||||
Here lives all the functions needed to create, update and delete users
|
Here lives all the functions for the APIs needed to create, update and delete
|
||||||
from the dudeswave database.
|
users from the dudeswave database.
|
||||||
""".
|
""".
|
||||||
|
|
||||||
-include_lib("dudeswave/include/defines.hrl").
|
-include_lib("dudeswave/include/defines.hrl").
|
||||||
|
|
|
@ -17,14 +17,6 @@
|
||||||
-moduledoc """
|
-moduledoc """
|
||||||
JSON API to manage users.
|
JSON API to manage users.
|
||||||
|
|
||||||
The username is passed in a cookie. The handler recover it from the
|
|
||||||
session. Cookies are:
|
|
||||||
|
|
||||||
```
|
|
||||||
dudename: the actual username
|
|
||||||
dudeauth: the authentication cookie
|
|
||||||
```
|
|
||||||
|
|
||||||
If the session is not valid, all the requests will return `403 Forbidden` to
|
If the session is not valid, all the requests will return `403 Forbidden` to
|
||||||
the client. In case a technical problem occurs, `500 Internal Server Error`
|
the client. In case a technical problem occurs, `500 Internal Server Error`
|
||||||
is returned.
|
is returned.
|
||||||
|
|
Loading…
Reference in New Issue