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(); }
public void Success(DigitsSession p0, string p1) { Toast.MakeText(this, "Number " + p0.PhoneNumber + " verified", ToastLength.Long).Show(); }
public void Success(DigitsSession session, string phoneNumber) { userPhoneNumber = phoneNumber; Snackbar.Make(parentLayout, Resource.String.LoginSuccessful + phoneNumber, Snackbar.LengthShort).Show(); NavigatingToHome(typeof(HomeActivity), userPhoneNumber); }
public void Success(DigitsSession session, string phoneNumber) { OnCompletion?.Invoke(new InternalDigitsSession(session), ErrorCode.UnspecifiedError); }