feature: initial commit
This commit is contained in:
commit
2c27f003c9
15 changed files with 1601 additions and 0 deletions
16
public/api/auth/README.md
Normal file
16
public/api/auth/README.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# /api/auth
|
||||
|
||||
Authentication for the service.
|
||||
|
||||
## POST /api/auth
|
||||
|
||||
Log into the service.
|
||||
|
||||
```
|
||||
{
|
||||
email?: string; // either email or username must be specified
|
||||
username?: string;
|
||||
password_hash: string; //should be a base64-encoded SHA-256 hash of the user's client-entered pw
|
||||
totp?: string; // TOTP if configured on account
|
||||
}
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue