Пример #1
0
        public override void OnCodeSent(string verificationId, PhoneAuthProvider.ForceResendingToken forceResendingToken)
        {
            var result = new PhoneNumberVerificationResult
            {
                VerificationId = verificationId
            };

            _subject.OnNext(result);
            _subject.OnCompleted();
        }
Пример #2
0
        public override void OnVerificationCompleted(PhoneAuthCredential credential)
        {
            var result = new PhoneNumberVerificationResult
            {
                AuthCredential = credential
            };

            _subject.OnNext(result);
            _subject.OnCompleted();
        }