37 lines
3.6 KiB
Plaintext
37 lines
3.6 KiB
Plaintext
### Registration input (object)
|
|
- name: `Jose Fonseca`(string, required) - The name of the user
|
|
- email: `email@example.com` (string, required) - The email of the user
|
|
- password: `Password123**` (string, required) - The password of the user
|
|
- password_confirmation: `Password123**` (string, required) - The password confirmation of the user
|
|
|
|
### Forgot password input (object)
|
|
- email: `email@example.com` (string, required) - The email of the user
|
|
|
|
### Reset password input (object)
|
|
- email: `email@example.com` (string, required) - The email of the user
|
|
- token: `77d933717e14023a1ddcc4cfa0c1d20ccedeb3acb525092aae34ac1f3f708a51` (string, required) - The token received in the email
|
|
- password: `Password123**` (string, required) - The new password of the user
|
|
|
|
### Reset password response (object)
|
|
- message: `The email has been updated` (string) - The message after the reset
|
|
|
|
### Get tokens with credentials (object)
|
|
- grant_type: `password` (string, required) - The grant type to use
|
|
- client_id: `1` (string, required) - the client id
|
|
- client_secret: `isudaiusyd87a6s87atsd8a7std` (string, required) - The client secret
|
|
- username: `jose@example.com` (string, required) - The username for the user being authenticated
|
|
- password: `Password123**` (string, required) - The password for the user being authenticated
|
|
|
|
### Get tokens with social token (object)
|
|
- grant_type: `social_grant` (string, required) - The grant type to use
|
|
- client_id: `1` (string, required) - the client id
|
|
- client_secret: `isudaiusyd87a6s87atsd8a7std` (string, required) - The client secret
|
|
- provider: `github` (string, required) - The provider to use
|
|
- token: `sdoifu98a7sd87fytbs8d67ftnabs786dnta76std` (string, required) - The token obtained by the provider
|
|
|
|
### Tokens (object)
|
|
- token_type: `Bearer` (string) - The token type
|
|
- expires_in: `86400` (string) - When the token expires
|
|
- access_token: `eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiIxIiwianRpIjoiNDNjYTE2ZDNjZTEwYmIyZDZjYmQwYjE1ZjU0ZmY2NDhiODkxZGVlYzJmZGE4YTE3NGEzNjE3NzZlMDEzMzdmMDcyMDVjYzM2OGUzYzkwMjUiLCJpYXQiOiIxNjEwMjQ3NTUwLjkwMzEzMSIsIm5iZiI6IjE2MTAyNDc1NTAuOTAzMTM3IiwiZXhwIjoiMTYxMDMzMzk1MC41MTc3ODAiLCJzdWIiOiIxIiwic2NvcGVzIjpbXX0.YNlBKazrYQ0CSFmWIUFeOl7ODDC3Sw-fiQyZ1Behyl7-_9fp7akuhmvGXeOJCYQiS1-tsYbkckaauVRlgpfeMExcxe261-8WWEGU0HQDaHxrXcojWQr5LwsnCno_elxLsqoXRZXrKe8s70zs6wwKnqc8tZkrUDkpFt4bjHHtCF1M4xGxA8kNNFs_sqyN0P-amWt1gfuMaALWxgYeISpAAzfP6KgqWVmP3JqDWQAIMhh8NO2kEkfE6rgxQXp0zzvlvvZ7RSYc0sV8JrSnwa15z-q7-1oQ4XFqmYxv-90i_Jrf5N3gz-VON6ovt26Vh7qNeHKFkf98DwHiu5XF6cDHpiZBKwfjlFzG6-0ZPN1ROIXPt5Bk35xLlUUgB6f5kPHZMPfMTuWGneeTbFm_5igdyxwaBqEVfVnuFPnIv5oaKKbAQleyo-yt_LZe9qxFNx-LFlMHmDyAqdfKkra0HG6dCfxynV6x2RtRZHyicN6fDPekTMBs356vNlRRL1dEEzZ4Fbpft4TRZylyqarAXfGb7kCKCuuuHbO8LT6f2yk5JW3Ngc-gfb1dfTO0bfgtl0Rg6l8PWGStSnmyXqeNxLej0XKhrPuqft1JFtucUCw8gUjrcuqSmAAzvXBTbLLvb65WSTnl_tOFviaSeBF-zCJxkxD2uJ1b31YuKMkVd-9dpMs` (string) - The Access token
|
|
- refresh_token: `def50200cd296202fa3d84fb5fedb48f09453ac34afafaa05446bab2b0d927821b9c79ba8239ef2c1825fdee70d03e9504d3e739ec8d5efcf79b5cae61dd081972105d75d196b16214087a80df5c1a2616bbff9c22b75077ca7cc2c9c1176cb3fe1404d3ae3e868e01989ef432521839912fe8ffd39a4048ced88f0c4cd52d01fa7c25166bdab9ab104a419705444bf3b316f00e4b0b1edcee80b0b1b6ec748a62a974089994f215abdc2a6b537f0ceb93dbe0f828bbd338d00f4583ec992bb1bee5fec646082e5a38a1f35ed1931ed3a05b7a0e261261e3e31430d134392ffe6b4a4dcd4e8247b4646ad64e42533ebe9357794d331f77566b3e1b236f27afd4b29d44c109997042d918c2243d43a49e3847b084989639e9b5765b8da62f67f497f3b0a965f7cb36a1fecb738370537c8be4d432a518cbe78a0ebc8704fdd0111afe1bd705f9b5b0257aeb88da6c681a88219940e5ac7b9b686dd57ad4b466ab57` (string) - The Refresh token
|