mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-13 00:35:53 +05:30
commit
7c61922f07
@ -36,7 +36,7 @@ $app = new App([
|
||||
// Enable the password grant on the server with a token TTL of 1 hour
|
||||
$server->enableGrantType(
|
||||
$grant,
|
||||
new \DateInterval('PT1H') // access tokens will expire after 1 month
|
||||
new \DateInterval('PT1H') // access tokens will expire after 1 hour
|
||||
);
|
||||
|
||||
return $server;
|
||||
|
Loading…
Reference in New Issue
Block a user