Esempio n. 1
0
        public InternalDigitsSession(DigitsSession session)
        {
            EmailAddress           = session.Email?.Address;
            EmailAddressIsVerified = session.Email?.Verified ?? false;
            PhoneNumber            = session.PhoneNumber;
            var authToken = session.AuthToken as TwitterAuthToken;

            AuthTokenSecret = authToken?.Secret;
            AuthToken       = authToken?.Token;
            UserId          = session.Id.ToString();
        }
Esempio n. 2
0
 public void Success(DigitsSession p0, string p1)
 {
     Toast.MakeText(this, "Number " + p0.PhoneNumber + " verified", ToastLength.Long).Show();
 }
Esempio n. 3
0
 public void Success(DigitsSession session, string phoneNumber)
 {
     userPhoneNumber = phoneNumber;
     Snackbar.Make(parentLayout, Resource.String.LoginSuccessful + phoneNumber, Snackbar.LengthShort).Show();
     NavigatingToHome(typeof(HomeActivity), userPhoneNumber);
 }
Esempio n. 4
0
 public void Success(DigitsSession session, string phoneNumber)
 {
     OnCompletion?.Invoke(new InternalDigitsSession(session), ErrorCode.UnspecifiedError);
 }