优化apple sign
This commit is contained in:
@@ -26,6 +26,9 @@ typedef void (^KBAppleSignInCompletion)(ASAuthorizationAppleIDCredential * _Null
|
||||
/// 返回:ASAuthorizationAppleIDProviderCredentialAuthorized/Revoked/NotFound
|
||||
- (void)checkCredentialStateWithCompletion:(void(^)(ASAuthorizationAppleIDProviderCredentialState state))completion;
|
||||
|
||||
/// 使用给定 userIdentifier 检查凭证状态(推荐:从服务端返回的 userIdentifier)
|
||||
- (void)checkCredentialStateForUserID:(NSString *)userID completion:(void(^)(ASAuthorizationAppleIDProviderCredentialState state))completion;
|
||||
|
||||
/// 最近一次成功登录的 userIdentifier(已持久化)
|
||||
@property (nonatomic, readonly, nullable) NSString *storedUserIdentifier;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user