diff --git a/examples/src/Entities/AccessTokenEntity.php b/examples/src/Entities/AccessTokenEntity.php new file mode 100644 index 00000000..e1dd1a02 --- /dev/null +++ b/examples/src/Entities/AccessTokenEntity.php @@ -0,0 +1,13 @@ +setClient($clientEntity); + foreach ($scopes as $scope) { + $accessToken->addScope($scope); + } + $accessToken->setUserIdentifier($userIdentifier); + + return $accessToken; } }