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

[VwG] Add "Refresh" button to sample app to refresh tokens. #453

Merged
merged 6 commits into from
Jul 17, 2024

Conversation

brnnmrls
Copy link
Member

@brnnmrls brnnmrls commented Jul 9, 2024

The following changes add a "Refresh" button to the Verification view of the Days Until Birthday sample app. Clicking this button will trigger -[GIDVerifiedAccountDetailResult refreshTokensWithCompletion:] and refresh the access token. If the refresh request returns a token response, then the result object properties are updated with the new strings. If the refresh request returns an error, then the result object properties remain the same.

Additionally, this PR creates getters for result object properties and updates the initializer.

@brnnmrls brnnmrls changed the title Add "Refresh" button to sample app to refresh tokens. [VwG] Add "Refresh" button to sample app to refresh tokens. Jul 9, 2024
@brnnmrls brnnmrls marked this pull request as ready for review July 10, 2024 00:48
@brnnmrls brnnmrls requested a review from mdmathias July 10, 2024 00:48
Base automatically changed from briannamorales/verifyFlowExample to briannamorales/vwg-flow July 16, 2024 23:32
@brnnmrls brnnmrls merged commit d71f99a into briannamorales/vwg-flow Jul 17, 2024
12 checks passed
@brnnmrls brnnmrls deleted the briannamorales/refreshTokensButton branch July 17, 2024 04:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants