Authentication
It is used to get generic data about authentication.
Endpoints
Type | URI | Description |
---|---|---|
POST | ./auth | It is used to authenticate a user with a username and a password. |
DELETE | ./auth | It is used to invalidate the token that was used to make the request to the endpoint. |
POST | ./auth/sso_token | It is used to get a sso token. |
POST | ./auth/challenge_email | It is used to validate an email address. |
POST | ./auth/challenge_phone | It is used to validate a phone number. |
GET | ./auth/tfa_options | It is used to return a list with options for two factor authentication. |
POST | ./auth/tfa_options | It is used to activate an option for two factor authentication. |
DELETE | ./auth/tfa_options | It is used to deactivate an option. |
POST | ./auth/tfa_challenge | It is used to initialize a tfa challenge for SMS. |
GET | ./auth/totp | It is used to return a secret key, uri or qrcode for the tfa activation with TOTP. |
GET | ./auth/recovery_options | It is used get the options to recover a password. |
POST | ./auth/recovery_challenge | It is used to initialize a challenge for password recovery. |
PUT | ./auth/recovery | It is used to recover a password. |
GET | ./auth/code | It is used to get information about a access code. |
POST | ./auth/register | It is used to register a user. |
GET | ./auth/accounts | It is used to get the list with the linked accounts for a user. |
POST | ./auth/link | It is used to link 2 accounts. |
DELETE | ./auth/link | ??? It is used to delete a linked account |
POST | ./auth/switch | It is used to get a token for a linked account. |
PUT | ./auth/passwd | It is used to change a password. |
PUT | ./auth/username | It is used to change the username of a user. |