Skip to content

Conversation

@armando-rodriguez-cko
Copy link
Contributor

@armando-rodriguez-cko armando-rodriguez-cko commented Jul 31, 2025

This pull request introduces a new authentication client and supporting types for session-based authentication, refactors session credential handling, and adds comprehensive models for account information. The main themes are the addition of the AuthenticationClient and its interface, the migration and extension of account info types, and the reorganization of session credential code.

Authentication Client Implementation:

  • Added the new AuthenticationClient class implementing session-based authentication flows, including methods for requesting, updating, completing, and retrieving session details, with support for both SDK and session secret authorization. (AuthenticationClient.cs)
  • Defined the IAuthenticationClient interface to specify the contract for session authentication operations. (IAuthenticationClient.cs)

Account Information Models:

  • Introduced a new AccountInfo model class with detailed properties for cardholder account history, authentication, and activity, including supporting enums for account age, change indicators, password change indicators, and more. (AccountInfo.cs, AccountAgeType.cs, AccountChangeIndicatorType.cs, AccountPasswordChangeIndicatorType.cs, AccountType.cs, CardholderAccountAgeIndicatorType.cs, ShippingAddressAgeType.cs, AuthenticationMethodType.cs) [1] [2] [3] [4] [5] [6] [7] [8]

Session Credentials Refactoring:

  • Renamed and relocated SessionSecretSdkCredentials from the Sessions namespace to Authentication, aligning it with the new authentication client structure. (SessionSecretSdkCredentials.cs)

Enum and Type Consolidation:

  • Migrated and extended enums related to authentication methods and account indicators, ensuring consistent naming and placement within the new authentication namespace. (AuthenticationMethodType.cs, other enum files above) [1] [2] [3] [4] [5] [6] [7]

These changes collectively provide a robust foundation for session-based authentication and richer account information management within the SDK.

@armando-rodriguez-cko armando-rodriguez-cko requested a review from a team July 31, 2025 17:33
@armando-rodriguez-cko armando-rodriguez-cko force-pushed the refactor/authentication-standalone branch 3 times, most recently from db16019 to 6f4c4b9 Compare August 6, 2025 15:19
@armando-rodriguez-cko armando-rodriguez-cko force-pushed the refactor/authentication-standalone branch from 6f4c4b9 to 515885b Compare August 7, 2025 07:18
@sonarqubecloud
Copy link

sonarqubecloud bot commented Aug 7, 2025

@armando-rodriguez-cko armando-rodriguez-cko marked this pull request as ready for review August 7, 2025 07:31
@armando-rodriguez-cko armando-rodriguez-cko merged commit be3a12c into master Aug 7, 2025
9 of 10 checks passed
@armando-rodriguez-cko armando-rodriguez-cko deleted the refactor/authentication-standalone branch August 7, 2025 09:13
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