Skip to content

@zelavis/auth

@zelavis/auth provides low-level authentication building blocks for custom backends and internal platforms.

This package is intentionally auth-method agnostic.

It currently provides:

  • account models and services
  • session models and services
  • credential models and services
  • repository contracts
  • plugin registration

The core auth package should not assume one fixed authentication method.

Provider-style auth methods stay optional through plugins.

Official method plugins currently include:

  • @zelavis/auth-email-password
  • @zelavis/auth-username-password