CoreAuth
CoreAuth
CoreAuth =
Pick<AuthClient,"loginWithPassword"|"register"|"completeSso"|"logoutCurrent"|"logoutAll"|"refreshAccessToken"|"switchOrg"|"whoami"|"getMyOrgs"|"requestMagicLink"|"verifyMagicLink"|"getRegistrationPolicy"|"impersonate"|"disableTwoFactor"|"deleteMyAccount"|"getAccessToken"|"isAuthenticated"|"getDecodedClaims"|"getCurrentUser"|"isImpersonating">
Defined in: auth-client/src/core/module-context.ts:75
The session-engine primitives modules may delegate to — exactly the
operations that must mutate client state (tokens, snapshot, events)
and therefore stay implemented on the core. Everything else a module
implements itself via flows.