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

                return(await LinkWithCredentialAsync(credential));
            } catch (NSErrorException e) {
                _googleAuth.SignOut();
                throw new FirebaseException(e.Error?.LocalizedDescription);
            }
        }