Skip to content

Handle authorization response and return result object. - #426

Merged
brnnmrls merged 75 commits into
briannamorales/vwg-flowfrom
briannamorales/handleAuthorizationResponse
Jun 17, 2024
Merged

brnnmrls merged 75 commits into
briannamorales/vwg-flowfrom
briannamorales/handleAuthorizationResponse

Conversation

@brnnmrls

@brnnmrls brnnmrls commented May 20, 2024 •

Copy link
Copy Markdown
Member

Once the authorization response is processed, the next step is to handle the response by passing back the necessary tokens to the requesting party. A new type is made to encapsulate the completion of the VwG flow. Items that this result object holds are expirationDate, accessTokenString, refreshTokenString, and verifiedAccountDetails. A new method -[GIDVerifyAccountDetail addCompletionCallback:] will create a result object with these properties filled. This class also holds -[GIDVerifiedAccountDetailResult refreshTokensWithCompletion:] to allow developers refresh tokens themselves.

brnnmrls added 30 commits April 17, 2024 12:43
…st strict mocks to less restrictive. Also, fix nullability warnings in GIDFakeMainBundle.
@brnnmrls brnnmrls linked an issue Jun 5, 2024 that may be closed by this pull request
Base automatically changed from briannamorales/processAuthorizationResponse to briannamorales/vwg-flow June 5, 2024 17:54
@brnnmrls
brnnmrls marked this pull request as ready for review June 5, 2024 23:44
@brnnmrls
brnnmrls requested a review from mdmathias June 5, 2024 23:44
@brnnmrls brnnmrls linked an issue Jun 6, 2024 that may be closed by this pull request
…lso, add `hash` methods to overridden `isEqual:` methods.
@brnnmrls
brnnmrls requested a review from mdmathias June 13, 2024 15:11
@brnnmrls
brnnmrls merged commit 7e02188 into briannamorales/vwg-flow Jun 17, 2024
@brnnmrls
brnnmrls deleted the briannamorales/handleAuthorizationResponse branch June 17, 2024 21:11
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.

Address VwG non-interactive flow (token refresh). Fix unstopped strict mocks in GIDSignInTest. Handle authorization response.

2 participants