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.
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.