Guest User

Untitled

a guest
Apr 26th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. Passport::routes(function($router) {
  2. $router->forAccessTokens();
  3. $router->forPersonalAccessTokens();
  4. $router->forTransientTokens();
  5. });
  6.  
  7. Passport::tokensExpireIn(Carbon::now()->addMinutes(10));
  8. Passport::refreshTokensExpireIn(Carbon::now()->addDays((10)));
  9.  
  10. {
  11. "grant_type": "password",
  12. "client_id": "2",
  13. "client_secret": "KpIoiITLIfTiGFsUVfQP3CHDESqjAGEqplpa64Sr",
  14. "username": "elrdevs@gmail.com",
  15. "password": "123456"
  16. }
Add Comment
Please, Sign In to add comment