API · v1.4.0
Authentication
14 végpont. Az útvonalak a saját példánya /api/v1 címéhez képest értendők; a hitelesítést az áttekintő oldal írja le.
POST /auth/forgot-password
Send a reset link to the given user
Kéréstörzs
| Név | Típus |
|---|---|
emailkötelező | string |
Válaszok
200422Validation error
POST /auth/login
Attempt to authenticate a new session
Kéréstörzs
| Név | Típus |
|---|---|
emailkötelező | string |
passwordkötelező | string |
remember | string |
Válaszok
200422Validation error
POST /auth/logout
Destroy an authenticated session
Válaszok
200401Unauthenticated
POST /auth/reset-password
Reset the user's password
Kéréstörzs
| Név | Típus |
|---|---|
tokenkötelező | string |
emailkötelező | string |
passwordkötelező | string |
Válaszok
200422Validation error
POST /auth/two-factor-challenge
Attempt to authenticate a new session using the two factor authentication code
Kéréstörzs
| Név | Típus |
|---|---|
code | string | null |
recovery_code | string | null |
Válaszok
200422Validation error
POST /auth/user/confirm-password
Confirm the user's password
Kéréstörzs
| Név | Típus |
|---|---|
password | string | null |
Válaszok
200422Validation error401Unauthenticated
GET /auth/user/confirmed-password-status
Get the password confirmation status
Válaszok
200401Unauthenticated
POST /auth/user/confirmed-two-factor-authentication
Enable two factor authentication for the user
Kéréstörzs
| Név | Típus |
|---|---|
code | string |
Válaszok
200401Unauthenticated
POST /auth/user/two-factor-authentication
Enable two factor authentication for the user
Kéréstörzs
| Név | Típus |
|---|---|
force | boolean |
Válaszok
200401Unauthenticated
DELETE /auth/user/two-factor-authentication
Disable two factor authentication for the user
Válaszok
200401Unauthenticated
GET /auth/user/two-factor-qr-code
Get the SVG element for the user's two factor authentication QR code
Válaszok
200401Unauthenticated
GET /auth/user/two-factor-recovery-codes
Get the two factor authentication recovery codes for authenticated user
Válaszok
200401Unauthenticated
POST /auth/user/two-factor-recovery-codes
Generate a fresh set of two factor authentication recovery codes
Válaszok
200401Unauthenticated
GET /auth/user/two-factor-secret-key
Get the current user's two factor authentication setup / secret key
Válaszok
200404Not found401Unauthenticated