Updated examples

This commit is contained in:
Alex Bilbie
2017-07-01 16:30:36 +01:00
parent 1954120c3d
commit 107cfc3678
8 changed files with 158 additions and 37 deletions

View File

@@ -48,6 +48,7 @@ $app = new App([
$privateKeyPath,
$publicKeyPath
);
$server->setEncryptionKey('lxZFUEsBCJ2Yb14IF2ygAHI5N4+ZAUXXaSeeJm6+twsUmIen');
// Enable the authentication code grant on the server with a token TTL of 1 hour
$server->enableGrantType(