Concepts

Guarantees

What Authyra promises about sessions and tokens, and what it leaves to you.

These are the behaviors Authyra commits to. Each one links to the tests that reproduce the failure it prevents.

Refresh

Persistence

Sign-out

Accounts

Secrets

What stays your responsibility

  • Your backend verifies tokens. Authyra trusts what your provider returns; it does not validate JWT signatures on the device.
  • Your provider classifies errors. Throw RefreshRevokedException only for a definitive rejection (invalid_grant, 401). Anything else is treated as temporary.
  • One device, one app instance. Coordination is per Authyra instance. Two processes sharing a refresh token (an app and its extension, two browser tabs) need a single owner or a server that tolerates it.
  • Storage confidentiality depends on the platform. On the web, any script on your origin can read what the app can.
Copyright © 2026