Updated associateScope method

This commit is contained in:
Alex Bilbie 2014-08-04 20:15:31 +01:00
parent 684a8a269e
commit 12ab753f15

View File

@ -86,7 +86,11 @@ class AccessTokenStorage extends Adapter implements AccessTokenInterface
*/ */
public function associateScope(AbstractTokenEntity $token, ScopeEntity $scope) 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()
]);
} }
/** /**