【发布时间】:2020-01-11 19:19:51
【问题描述】:
我正在尝试用苹果这个例子来实现 firebase auth https://medium.com/@karlwhiteprivate/flutter-firebase-sign-in-with-apple-c99967df142f
但我遇到了这个问题
未定义类“OAuthProvider”。
在这个sn-p中
OAuthProvider oAuthProvider =
new OAuthProvider(providerId: "apple.com");
final AuthCredential credential = oAuthProvider.getCredential(
idToken:
String.fromCharCodes(appleIdCredential.identityToken),
accessToken:
String.fromCharCodes(appleIdCredential.authorizationCode),
);
【问题讨论】:
标签: firebase flutter dart firebase-authentication