如何在访问令牌中设置user_id? 我正在使用Bshaffer OAuth PHP库

I can set user_id when providing an authorization code to the client, but I cannot set user_id when providing an access token. user_id is always null in the access token.

I read somewhere that I need to subclass pdo class. What does this mean? how to do this?