google / google/GoogleSignIn-iOS
Add `-[GIDSignIn signInWithCompletion:]` to provide sign in mechanism without a `presentingViewController`
- 主要语言
- Objective-C
- 星标
- 750
- 派生
- 282
- 平均合并
- 2 天 15 小时
- 30 天内合并 PR
- 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 还没有评估数据。