Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Expose id_token in OAuth 2.0 credentials#150

Merged
theacodes merged 4 commits intomasterfrom
token-response
Mar 28, 2017
Merged

Expose id_token in OAuth 2.0 credentials#150
theacodes merged 4 commits intomasterfrom
token-response

Conversation

@theacodes
Copy link
Copy Markdown
Contributor

Resolves #149

@theacodes theacodes added this to the 1.0.0 milestone Mar 27, 2017
"""Optional[str]: The OAuth 2.0 client secret."""
return self._client_secret

@property

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

def refresh(self, request):
assertion = self._make_authorization_grant_assertion()
access_token, expiry, _ = _client.jwt_grant(
access_token, expiry, refresh_grant_response = _client.jwt_grant(

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@theacodes theacodes changed the title Expose the refresh grant response in OAuth 2.0 credentials Expose id_token in OAuth 2.0 credentials Mar 28, 2017
@theacodes
Copy link
Copy Markdown
Contributor Author

@dhermes updated. PTAL.

self._token_uri = token_uri
self._client_id = client_id
self._client_secret = client_secret
self._refresh_grant_response = None

This comment was marked as spam.

This comment was marked as spam.

self.token = access_token
self.expiry = expiry
self._refresh_token = refresh_token
self._id_token = grant_response.get('id_token', self._id_token)

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@theacodes theacodes merged commit 26a1637 into master Mar 28, 2017
@theacodes theacodes deleted the token-response branch March 28, 2017 20:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants