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