Set default token type as bearer for Resource Server

This commit is contained in:
Alex Bilbie
2014-05-07 17:10:52 +01:00
parent e4c43faa33
commit 7516606fd3
2 changed files with 4 additions and 0 deletions

View File

@@ -77,6 +77,7 @@ class AuthorizationServer extends AbstractServer
{
$this->storages = [];
// Set Bearer as the default token type
$this->setTokenType(new Bearer);
return $this;