Update ResourceServer.php

The getAccessToken method should return an AccessTokenEntity object instead of a string in order to allow users to access the session associated with the token,