google / google/GoogleSignIn-iOS

Migrate current VwG refresh logic to `GIDGoogleUser`.

オープン
#441 コメント 0 件 リアクション 0 件 担当者 1 名 @brnnmrls が担当を希望しています GitHub で見る
enhancement
主要言語
Objective-C
スター
750
フォーク
282
平均マージ
2日 15時間
マージ済み PR(30日)
9

説明

GSI provides a mechanism for developers to restore previous sign-ins. The flow attempts to use authorizations stored on the device and refresh relevant tokens if they're expired. The sign-in flow uses `GIDGoogleUser` for token refreshing. Ideally, the VwG flow wants to use `GIDGoogleUser` for token refreshing to make it easier on developers since GSI currently attaches authorization state to the user vended by the library and saves the necessary tokens so that the authorization state can be restored between application runs.

To save some time an alternative temporary solution was implemented by handing back to requesting parties an expiration date, access and refresh tokens, and exposing an API allowing developers refresh their tokens.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。