public Stream UpdateAuthenticationSource(AuthenticationSource authenticationSourceForm) { BaseBusinessService <AuthenticationSource> businessService = (BaseBusinessService <AuthenticationSource>)BusinessFactory.Create(Keywords.UpdateAuthenticationSource); OperationResult result = businessService.Update(authenticationSourceForm); return(result.ToJsonStream()); }
//[DataRow(AuthenticationSource.MERCHANT_INITIATED)] //[DataRow(AuthenticationSource.MOBILE_SDK)] public void CardHolderEnrolled_ChallengeRequired_v2_Initiate_AllSources(AuthenticationSource source) { var secureEcom = Secure3dService.CheckEnrollment(card) .WithCurrency(Currency) .WithAmount(Amount) .Execute(); AssertThreeDSResponse(secureEcom, AVAILABLE); var initAuth = Secure3dService.InitiateAuthentication(card, secureEcom) .WithAmount(Amount) .WithCurrency(Currency) .WithAuthenticationSource(source) .WithMethodUrlCompletion(MethodUrlCompletion.YES) .WithOrderCreateDate(DateTime.Now) .WithAddress(shippingAddress, AddressType.Shipping) .WithBrowserData(browserData) .Execute(); AssertThreeDSResponse(initAuth, CHALLENGE_REQUIRED); Assert.IsTrue(initAuth.ChallengeMandated); }
public IUser FindUser(AuthenticationSource source, string authenticationObject) { throw new NotImplementedException(); }
public IUser FindUser(AuthenticationSource source, string authenticationObject) => _users.Find(u => u.AuthenticationSource == source && u.AuthenticationObject == authenticationObject);
public Secure3dBuilder WithAuthenticationSource(AuthenticationSource value) { AuthenticationSource = value; return(this); }