Authentication

It is used to get generic data about authentication.

Endpoints

TypeURIDescription
POST./authIt is used to authenticate a user with a username and a password.
DELETE./authIt is used to invalidate the token that was used to make the request to the endpoint.
POST./auth/sso_tokenIt is used to get a sso token.
POST./auth/challenge_emailIt is used to validate an email address.
POST./auth/challenge_phoneIt is used to validate a phone number.
GET./auth/tfa_optionsIt is used to return a list with options for two factor authentication.
POST./auth/tfa_optionsIt is used to activate an option for two factor authentication.
DELETE./auth/tfa_optionsIt is used to deactivate an option.
POST./auth/tfa_challengeIt is used to initialize a tfa challenge for SMS.
GET./auth/totpIt is used to return a secret key, uri or qrcode for the tfa activation with TOTP.
GET./auth/recovery_optionsIt is used get the options to recover a password.
POST./auth/recovery_challengeIt is used to initialize a challenge for password recovery.
PUT./auth/recoveryIt is used to recover a password.
GET./auth/codeIt is used to get information about a access code.
POST./auth/registerIt is used to register a user.
GET./auth/accountsIt is used to get the list with the linked accounts for a user.
POST./auth/linkIt is used to link 2 accounts.
DELETE./auth/link??? It is used to delete a linked account
POST./auth/switchIt is used to get a token for a linked account.
PUT./auth/passwdIt is used to change a password.
PUT./auth/usernameIt is used to change the username of a user.