Results 1 to 7 of 7

Thread: Adding additional data to the access token

Threaded View

  1. #1

    Default Adding additional data to the access token

    I need to pass additional data back in my access tokens so that our clients are able to receive additional data when the user/client is authorized.

    It appears that the OAuth2AccessToken class supports setting additional data via the setAdditionalInformation setter, however, I don't see a hook anywhere in the oauth2 call stack to inject additional data.

    Do I need to implement my own TokenGranter. If so is there a way to extend the CompositeTokenGranter class, and get the registered set of token granters as it does?

    Thanks,
    Chris
    Last edited by exell.christopher; Mar 27th, 2012 at 12:57 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •