Skip to content
rw3iss Auth

auth-server-ts

@rw3iss/auth-server-ts — framework-agnostic Node backend core. Symbols grouped by responsibility: facade, flows, transport, validation, errors.

Core facade

AuthClient + Flows — what backends compose.

Transport & ports

HttpTransport, in-memory transport, clock, logger, cache/session/revocation ports.

Classes

Interfaces

Variables

Tokens & validation

JwtValidator, TokenValidator, error mapper, principal types.

Classes

Interfaces

Type aliases

Permissions & registration

Permission registrar, registration policy, manifest entries.

Exception hierarchy

VenAuthException + every typed subclass.

Classes

Interfaces

Type aliases

Sessions

Session records and ports.

Organizations

Org records, memberships, roles, invitations.

Admin & impersonation

Lookup, hard delete, impersonate, assignable permissions.

Audit log

Audit-log queries + records.

Password lifecycle

Change/reset password DTOs and claims.

Two-factor & email

TOTP + verify-email DTOs.

Interfaces

Single sign-on + magic-link payloads.

Misc

Helpers and one-off types.

Classes

Functions

Interfaces

Type aliases

Variables