user | CreateAccountResponse | InitAuthResponse | User data from createAccount or initAuth (email pending verification) |
account | CompleteAuthAndCreateAccountResponse | CompleteAuthResponse | Complete account data after OTP verification |
sessionSecrets | SessionSecrets | Session secrets for transaction signing (ephemeral) |
isAuthenticated | boolean | Whether user is fully authenticated |
isExistingUser | boolean | Whether this is an existing user (login) or new user (signup) |
sessionStatus | SessionStatus | Current session status (active, needs_refresh, expired, unauthenticated) |
sessionExpiresAt | number | Unix timestamp (seconds) when the session expires, or null if not available |
isLoading | boolean | Loading state for async operations (operation name if loading) |
loadingOperation? | string | - |
error | string | Error state |
errorCode? | string | - |