diff --git a/examples/relational/Storage/AccessTokenStorage.php b/examples/relational/Storage/AccessTokenStorage.php index e5b6d47c..12bd7737 100644 --- a/examples/relational/Storage/AccessTokenStorage.php +++ b/examples/relational/Storage/AccessTokenStorage.php @@ -86,7 +86,11 @@ class AccessTokenStorage extends Adapter implements AccessTokenInterface */ public function associateScope(AbstractTokenEntity $token, ScopeEntity $scope) { - die(var_dump(__METHOD__, func_get_args())); + Capsule::table('oauth_access_token_scopes') + ->insert([ + 'access_token' => $token->getId(), + 'scope' => $scope->getId() + ]); } /**