コード例 #1
0
        public async Task <IFirebaseUser> SignInWithFacebookAsync()
        {
            try {
                var credential = await _facebookAuth.GetCredentialAsync(ViewController);

                return(await SignInWithCredentialAsync(credential));
            } catch (NSErrorException e) {
                throw new FirebaseException(e.Error?.LocalizedDescription);
            }
        }
コード例 #2
0
        public async Task <IFirebaseUser> SignInWithFacebookAsync()
        {
            var credential = await _facebookAuth.GetCredentialAsync(Activity);

            return(await SignInWithCredentialAsync(credential));
        }