HTTP Method | POST |
URL | https://stagingweb.click/admin-api/auth/forgot-password |
Controller | App\Http\Controllers\Admin\AuthController |
Controller Method | @sendResetPasswordLink |
Middleware 1 | api |
No. | Attributes | Type | Nullable | Bail | Rules |
---|---|---|---|---|---|
1 | email *required | String |
exists:users,email
|
HTTP Method | POST |
URL | https://stagingweb.click/admin-api/auth/login |
Controller | App\Http\Controllers\Admin\AuthController |
Controller Method | @login |
Middleware 1 | api |
No. | Attributes | Type | Nullable | Bail | Rules |
---|---|---|---|---|---|
1 | email *required |
email
| |||
2 | password *required | String |
min:6
|
HTTP Method | POST |
URL | https://stagingweb.click/admin-api/auth/logout |
Controller | App\Http\Controllers\Admin\AuthController |
Controller Method | @logout |
Middleware 1 | api |
HTTP Method | GET |
URL | https://stagingweb.click/admin-api/auth/profile |
Controller | App\Http\Controllers\Admin\AuthController |
Controller Method | @getProfile |
Middleware 1 | api |
HTTP Method | POST |
URL | https://stagingweb.click/admin-api/auth/refresh |
Controller | App\Http\Controllers\Admin\AuthController |
Controller Method | @refresh |
Middleware 1 | api |
HTTP Method | POST |
URL | https://stagingweb.click/admin-api/auth/register |
Controller | App\Http\Controllers\Admin\AuthController |
Controller Method | @register |
Middleware 1 | api |
No. | Attributes | Type | Nullable | Bail | Rules |
---|---|---|---|---|---|
1 | first_name *required | String |
max:255
| ||
2 | last_name *required | String |
max:255
| ||
3 | email *required | String |
email
|
max:255
|
unique:users
| ||
4 | password *required | String |
min:6
| ||
5 | password_confirmation *required |
required_with:password
|
same:password
|
min:6
| |||
6 | gender *required | String |
max:255
| ||
7 | username *required | String |
max:255
|
unique:users
|
HTTP Method | POST |
URL | https://stagingweb.click/admin-api/auth/reset-password |
Controller | App\Http\Controllers\Admin\AuthController |
Controller Method | @resetPassword |
Middleware 1 | api |
No. | Attributes | Type | Nullable | Bail | Rules |
---|---|---|---|---|---|
1 | token *required |
exists:password_resets,token
| |||
2 | new_password *required | String |
min:6
| ||
3 | new_password_confirmation *required |
required_with:new_password
|
same:new_password
|
min:6
|