انتقل إلى المحتوى الرئيسي

Variable: KEY_STORE_SESSION_STATES

const KEY_STORE_SESSION_STATES: readonly ["open", "token_absent", "not_logged_in", "expectation_missing", "identity_mismatch", "unavailable"]

Defined in: packages/contracts/src/schemas/key-store.ts:136

Where credential's session on its token stands, as the probe found it:

  • open: the token is present, the custodian holds its login, and the operator's assertion (if any) matches.
  • token_absent: the slot the custodian started on no longer describes a token.
  • not_logged_in: the module reported the login lost. The probe does not try: credential signs in at start and nowhere else on its behalf, so a page reload cannot count against the PIN lockout.
  • expectation_missing: production, and the request asserted neither manufacturer nor model.
  • identity_mismatch: the token is not the manufacturer or model the request asserts; mismatched says which.
  • unavailable: the module failed while being asked (a device error, a library fault).