google / google/GoogleSignIn-iOS

Add `-[GIDSignIn signInWithCompletion:]` to provide sign in mechanism without a `presentingViewController`

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

説明

`GIDSignInInternalOptions`, depending upon whether or not we are on macOS or iOS, will need to be created with a nil `presentingWindow` or `presentingViewController`.

The sign in with hint methods will also need to be updated similarly as well.

```
-[GIDSignIn signInWithHint:completion:]
-[GIDSignIn signInWithHint:addAdditionalScopes:completion:]
```

Last, the `-authenticateInteractivelyWithOptions:` method needs to be updated to handle the nil window or view controller case. The new implementation will make use of the new `+[OIDAuthorizationService presentAuthorizationRequest:callback:]` method outlined in the [related milestone on AppAuth-iOS](https://github.com/openid/AppAuth-iOS/milestone/7).

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

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

評価

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

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

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