google / google/GoogleSignIn-iOS

Address VwG non-interactive flow (token refresh).

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

説明

Completing the interactive flow for VwG, one of the next steps is to consider the non-interactive flow. This portion starts whenever the user has already been verified or in the case they need to refresh.

We want to provide requesting parties with the ability to refresh VwG tokens. There's two solutions where one is more suitable timing wise and the other is more complex but addresses two issues regarding the auth state that the first will not:
1. (easy solution) We will provide the requesting party with an API that holds a method to manage the token refresh. This API will require developers to pass in their refresh token string, which we will use to create the refresh token request.
- There are two limitations which are addressed by the more complex solution: 1) GSI attaches authorization state holding the tokens on [GIDGoogleUser](https://github.com/google/GoogleSignIn-iOS/blob/main/GoogleSignIn/Sources/Public/GoogleSignIn/GIDGoogleUser.h#L54-L64). 2) GSI saves tokens to the device chain.
2. (complex solution) Adding token refresh to GIDGoogleUser.

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

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

評価

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

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

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