Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Passport::routes(function($router) {
- $router->forAccessTokens();
- $router->forPersonalAccessTokens();
- $router->forTransientTokens();
- });
- Passport::tokensExpireIn(Carbon::now()->addMinutes(10));
- Passport::refreshTokensExpireIn(Carbon::now()->addDays((10)));
- {
- "grant_type": "password",
- "client_id": "2",
- "client_secret": "KpIoiITLIfTiGFsUVfQP3CHDESqjAGEqplpa64Sr",
- "username": "elrdevs@gmail.com",
- "password": "123456"
- }
Add Comment
Please, Sign In to add comment