mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-05-31 14:12:07 +05:30
Change function name to be less technically specific
This commit is contained in:
committed by
Lukáš Unger
parent
fd72d79ad3
commit
48ce5f36cf
@@ -30,5 +30,5 @@ interface AccessTokenEntityInterface extends TokenInterface
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getResponseString(CryptKey $privateKey);
|
||||
public function convertToAccessToken(CryptKey $privateKey);
|
||||
}
|
||||
|
@@ -47,7 +47,7 @@ trait AccessTokenTrait
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getResponseString(CryptKey $privateKey)
|
||||
public function convertToAccessToken(CryptKey $privateKey)
|
||||
{
|
||||
return (string) $this->convertToJWT($privateKey);
|
||||
}
|
||||
|
Reference in New Issue
Block a user