Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor AccessToken view to allow adding extra parameters. #89

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Refactor AccessToken view to allow adding extra parameters. #89

wants to merge 1 commit into from

Conversation

rocha
Copy link

@rocha rocha commented Aug 6, 2014

OAuth2 allows for extra parameters in the access token response, which
is frequently done by OAuth2 providers to fit their needs.

It is also required for protocols such as OpenID Connect, build
on top of OAuth2, which adds a id_token parameter.

Subclesses of AccessToken, should be able to easily add more parameters,
without repeating code of the parent class.

Review on Reviewable

OAuth2 allows for extra parameters in the access token response, which
is frequently done by OAuth2 providers to fit their needs.

It is also required for protocols such as OpenID Connect, build
on top of OAuth2, which adds a id_token parameter.

Subclesses of AccessToken, should be able to easily add more parameters,
without repeating code of the parent class.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant