Skip to content

Conversation

@armando-rodriguez-cko
Copy link
Contributor

@armando-rodriguez-cko armando-rodriguez-cko commented Aug 7, 2025

🔧 BREAKING: Authentication refactor 491

  • Adds AuthenticationClient and its interface IAuthenticationClient to manage session flows (request, get, update, complete, handle 3DS fingerprint)
  • Moves SessionSecretSdkCredentials from Sessions to Authentication namespace
  • Introduces extensive standalone types under Authentication.Standalone.Common, including:
    • Account info models: AccountInfo, AccountAgeType, AccountChangeIndicatorType, AccountPasswordChangeIndicatorType, AccountType, AuthenticationMethodType, CardholderAccountAgeIndicatorType, ShippingAddressAgeType, ThreeDsRequestorAuthenticationInfo, ThreeDsReqAuthMethodType
    • Additional models: AuthenticationCategoryType, AuthenticationType, InitialTransaction, Installment, MerchantRiskInfo, Recurring, request/response types for session endpoints (POST /sessions, GET /sessions/{id}, PUT /sessions/{id}/collect-data, POST /sessions/{id}/complete, PUT /sessions/{id}/issuer-fingerprint)

Breaking change: Session-based authentication is fully restructured. Existing integrations using old classes (e.g., in Sessions namespace) will require migration to the new AuthenticationClient and updated types.

@armando-rodriguez-cko armando-rodriguez-cko requested a review from a team August 7, 2025 09:52
- refactor: introduces AuthenticationClient and reorganise authentication standalone module
@sonarqubecloud
Copy link

sonarqubecloud bot commented Aug 7, 2025

@armando-rodriguez-cko armando-rodriguez-cko merged commit aae9c52 into master Aug 7, 2025
8 of 10 checks passed
@armando-rodriguez-cko armando-rodriguez-cko deleted the release/4.14.0 branch August 7, 2025 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants