Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
Hey, sorry, been recovering from the hackathon.
I think that having a convenience method/object to manage tokens and produce callers is a good idea, but don't think OAuthFlow is the best place to put it. OAuthFlow is meant to help support specifically retrieving an access token for a user. Some applications may not use OAuthFlow at all if they are only hitting userless endpoints like venue search, and OAuthFlow itself does not need a caller with the client information (it only uses the code token returned from the redirect after user authentication).
What if we added this convenience method to the App object instead?