Skip to content

[4] Separate account operations from authentication session issuance - #8

Merged
hifeamin merged 4 commits into
mainfrom
feature/4-separate-account-operations-from-authentication-session-issuance
Nov 21, 2026
Merged

hifeamin merged 4 commits into
mainfrom
feature/4-separate-account-operations-from-authentication-session-issuance

Conversation

@hifeamin

Copy link
Copy Markdown
Collaborator

Summary

  • Separate account operations from authentication session issuance through IUserAccountService<TUser> and IAuthenticationSessionIssuer<TUser>.
  • Add explicit JWT and cookie session issuer implementations and registration.
  • Make refresh, logout, and logout-all use the explicitly registered session mode rather than inferring it from the default sign-in scheme or authentication handler type.
  • Keep cookie persistence opt-in (default false) and preserve refresh-token integration.
  • Propagate cancellation through supported account, JWT, external-login, and refresh-token operations.
  • Update the cookie sample, tests, and README migration/configuration guidance.

Verification

  • Reviewed the branch diff against main (4 commits ahead, 0 behind; 23 changed files).
  • Added endpoint-level tests covering JWT and cookie refresh, logout, and logout-all while deliberately configuring a different default authentication/sign-in scheme.
  • GitHub Actions workflow runs were not available for the latest commit, and I did not execute the solution build or tests locally. Please run the solution build and test suite before merging.

Scope

The separately tracked 2FA changes are not included. This PR is not merged.

@hifeamin
hifeamin merged commit c8a4a5e into main Nov 21, 2026
3 checks passed
@hifeamin
hifeamin deleted the feature/4-separate-account-operations-from-authentication-session-issuance branch November 21, 2026 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant