Change function name to be less technically specific

This commit is contained in:
Andrew Millington
2018-03-31 10:45:15 +01:00
committed by Lukáš Unger
parent fd72d79ad3
commit 48ce5f36cf
5 changed files with 6 additions and 6 deletions

View File

@@ -30,5 +30,5 @@ interface AccessTokenEntityInterface extends TokenInterface
*
* @return string
*/
public function getResponseString(CryptKey $privateKey);
public function convertToAccessToken(CryptKey $privateKey);
}

View File

@@ -47,7 +47,7 @@ trait AccessTokenTrait
*
* @return string
*/
public function getResponseString(CryptKey $privateKey)
public function convertToAccessToken(CryptKey $privateKey)
{
return (string) $this->convertToJWT($privateKey);
}