mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-15 17:56:14 +05:30
Fixed spelling mistake
This commit is contained in:
parent
67587e450b
commit
be51cdf9b1
@ -123,7 +123,7 @@ abstract class AbstractServer
|
||||
* @param TokenTypeInterface $tokenType The token type
|
||||
* @return void
|
||||
*/
|
||||
public function setIdType(TokenTypeInterface $tokenType)
|
||||
public function setTokenType(TokenTypeInterface $tokenType)
|
||||
{
|
||||
$this->tokenType = $tokenType;
|
||||
}
|
||||
|
@ -78,7 +78,7 @@ class AuthorizationServer extends AbstractServer
|
||||
$this->storages = [];
|
||||
|
||||
// Set Bearer as the default token type
|
||||
$this->setIdType(new Bearer);
|
||||
$this->setTokenType(new Bearer);
|
||||
|
||||
parent::__construct();
|
||||
|
||||
|
@ -64,7 +64,7 @@ class ResourceServer extends AbstractServer
|
||||
$this->setStorage('scope', $scopeStorage);
|
||||
|
||||
// Set Bearer as the default token type
|
||||
$this->setIdType(new Bearer);
|
||||
$this->setTokenType(new Bearer);
|
||||
|
||||
parent::__construct();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user