AREA GUIDE / 6 PACKAGES

Identity, access and subject context

Carry trusted actor and tenant context through product requests, agent actions and shared runtime projections.

What are you trying to do?

  • Which layer authenticates a person and which projects authority?
  • How does subject context reach server-rendered UI?
  • How do provisioning and delegation remain scoped?
FIND YOUR WAY THROUGH THIS AREA

Start with the work you want to do.

Choose a practical step, then inspect a package before opening its full manual.

PASO 01

Trace one authenticated request

Identify the identity provider, session verifier, subject factory, tenant/workspace selection and operation context. Keep user-supplied identifiers separate from the values the host has verified.

THE PACKAGE LANDSCAPE

6 packages. Choose an entry point.

6 paquetesSELECT TO INSPECT

Task guidance and package membership come from this area’s captured source guide.

Start with these packages.

lib.authos-spec

Start with the identity, authentication, federation and account-surface contracts.

Read the package guide →
lib.authos-runtime

Use subject providers, SSR scope and deterministic security/provisioning projections.

Read the package guide →
integration.authos-better-auth

Inspect the concrete Better Auth integration used by the selected host.

Read the package guide →
lib.identity-rbac

Locate reusable role and permission composition already used by domain modules.

Read the package guide →

Separate authentication from projection

AuthOS spec declares identity and security-gated account behavior. AuthOS runtime converts those contracts into projections for RBAC, RoleMorph, personalization, redaction and other consumers. The README explicitly places authentication, database access and provider execution outside those pure projections. A concrete integration such as authos-better-auth and the product host perform that work. When adopting this area, trace where a verified session becomes a trusted subject before using an access projection in an API or interface.

Keep context request-scoped

The SSR entry binds the shared server-only subject scope with runWithSubject, cached reads and nested/concurrent request isolation. Subject construction stays with AuthOS; the lower propagation port does not decide policy. Subject providers can use a resolver and optional tenant-scoped cache, and malformed or failed resolution returns a denied/missing result. This separation helps prevent a convenient UI context from becoming an accidental cross-request authority source. Inspect cache keys and request lifetime alongside the subject shape.

Model provisioning as receipts and state

The provisioning reducer consumes redacted, idempotent receipts covering identity, entitlements, product-local membership, activation and revocation. It avoids activating a partially provisioned product and detects scope/idempotency conflicts. Rebuild and retry behavior therefore belongs to a recorded lifecycle rather than an unchecked sequence of provider calls. The domain-command helper can produce governance-bearing local events while retaining canExecute false plans. Host execution must still resolve the required provider, database and approval boundaries.

Follow a practical path.

  1. Trace one authenticated request

    Identify the identity provider, session verifier, subject factory, tenant/workspace selection and operation context. Keep user-supplied identifiers separate from the values the host has verified.

  2. Inspect the missing-authority case

    Follow an absent session, malformed subject, revoked membership or mismatched workspace through the same path. Check that both the UI projection and the execution boundary express the expected unavailable or denied state.

  3. Review a provisioning retry

    Use the existing receipt/reducer flow to see whether a repeated step resumes safely and whether partial activation stays visible. Bind the selected product membership and entitlement to the exact subject instead of treating organization membership as universal product access.

All packages in this area.

6 packages
foundation / library

lib.crypto-utils

v2.0.4
Package manifestGuide availablenode

Zero-dependency browser and React Native compatible crypto helpers

@lssm-tech/lib.crypto-utils
9Declared imports
3Direct dependencies
Inspect this packageImports · dependencies · qualification

Declared import paths

manifest-declared export entrypoints and catalog-declared imports

Showing 6 of 9 declared entry points.

Dependency declarations
Ejecución
0
Par
0
Desarrollo
3
Opcional
0
  • @lssm-tech/tool.bunworkspace:* · development
  • @lssm-tech/tool.typescriptworkspace:* · development
  • typescript^7.0.2 · development

Showing 3 of 3 declarations across scopes. A package may appear in more than one scope.

Package and source context
Package scope
No private flag declared in the manifest
Source guide
README available
Declared runtimes
node
Declared stability
experimental
Source path
packages/foundation/crypto-utils

Manifest declarations describe this source snapshot; they do not verify registry publication or runtime execution.

integrations / integration

integration.authos-better-auth

v2.1.4
Package manifestGuide availablenode

Better Auth bridge that maps AuthOS contracts to provider configuration, plugins, and redacted events.

@lssm-tech/integration.authos-better-auth
21Declared imports
10Direct dependencies
Inspect this packageImports · dependencies · qualification

Declared import paths

manifest-declared export entrypoints and catalog-declared imports

  • @lssm-tech/integration.authos-better-auth
    ./src/index.tsAbrir la fuente
  • @lssm-tech/integration.authos-better-auth/attribution-hooks
    ./src/attribution-hooks.tsAbrir la fuente
  • @lssm-tech/integration.authos-better-auth/bearer-session-reader
    ./src/bearer-session-reader.tsAbrir la fuente
  • @lssm-tech/integration.authos-better-auth/bridge-plan
    ./src/bridge-plan.tsAbrir la fuente
  • @lssm-tech/integration.authos-better-auth/canonical-email-adapter
    ./src/canonical-email-adapter.tsAbrir la fuente
  • @lssm-tech/integration.authos-better-auth/client
    ./src/client.tsAbrir la fuente

Showing 6 of 21 declared entry points.

Dependency declarations
Ejecución
7
Par
0
Desarrollo
3
Opcional
0
  • @better-auth/core1.7.5 · runtime
  • @better-auth/oauth-provider1.7.5 · runtime
  • @better-auth/passkey1.7.5 · runtime
  • @better-auth/sso1.7.5 · runtime
  • @lssm-tech/lib.authos-runtimeworkspace:^ · runtime
  • @lssm-tech/lib.authos-specworkspace:^ · runtime

Showing 6 of 10 declarations across scopes. A package may appear in more than one scope.

Package and source context
Package scope
No private flag declared in the manifest
Source guide
README available
Declared runtimes
node
Declared stability
experimental
Source path
packages/integrations/authos-better-auth

Manifest declarations describe this source snapshot; they do not verify registry publication or runtime execution.

domains / library

lib.identity-rbac

v5.1.4
Package manifestGuide availablenode

Identity, Organizations, and RBAC module for ContractSpec applications

@lssm-tech/lib.identity-rbac
14Declared imports
7Direct dependencies
Inspect this packageImports · dependencies · qualification

Declared import paths

manifest-declared export entrypoints and catalog-declared imports

Showing 6 of 14 declared entry points.

Dependency declarations
Ejecución
4
Par
0
Desarrollo
3
Opcional
0
  • @lssm-tech/lib.contracts-runtime-kernelworkspace:^ · runtime
  • @lssm-tech/lib.schemaworkspace:^ · runtime
  • @lssm-tech/lib.contracts-spec-coreworkspace:^ · runtime
  • zodcatalog: · runtime
  • @lssm-tech/tool.typescriptworkspace:* · development
  • typescriptcatalog: · development

Showing 6 of 7 declarations across scopes. A package may appear in more than one scope.

Package and source context
Package scope
No private flag declared in the manifest
Source guide
README available
Declared runtimes
node
Declared stability
stable
Source path
packages/domains/identity/identity-rbac

Manifest declarations describe this source snapshot; they do not verify registry publication or runtime execution.

domains / module

module.auth-os

v2.0.5
Package manifestGuide availablenodebrowser

Reusable AuthOS module with fake adapters and UI flows for identity, authentication, organizations, and Connect with LSSM.

@lssm-tech/module.auth-os
350Declared imports
21Direct dependencies
Inspect this packageImports · dependencies · qualification

Declared import paths

manifest-declared export entrypoints and catalog-declared imports

Showing 6 of 350 declared entry points.

Dependency declarations
Ejecución
11
Par
2
Desarrollo
10
Opcional
0
  • @lssm-tech/integration.authos-better-authworkspace:^ · runtime
  • @lssm-tech/lib.authos-runtimeworkspace:^ · runtime
  • @lssm-tech/lib.authos-specworkspace:^ · runtime
  • @lssm-tech/lib.contracts-spec-coreworkspace:^ · runtime
  • @lssm-tech/lib.design-systemworkspace:^ · runtime
  • @lssm-tech/lib.translation-runtimeworkspace:^ · runtime

Showing 6 of 23 declarations across scopes. A package may appear in more than one scope.

Package and source context
Package scope
No private flag declared in the manifest
Source guide
README available
Declared runtimes
node, browser
Declared stability
experimental
Source path
packages/domains/identity/module

Manifest declarations describe this source snapshot; they do not verify registry publication or runtime execution.

domains / library

lib.authos-runtime

v2.0.4
Package manifestGuide availablenode

Pure deterministic AuthOS runtime projections and security gates over AuthOS contracts.

@lssm-tech/lib.authos-runtime
17Declared imports
12Direct dependencies
Inspect this packageImports · dependencies · qualification

Declared import paths

manifest-declared export entrypoints and catalog-declared imports

Showing 6 of 17 declared entry points.

Dependency declarations
Ejecución
4
Par
1
Desarrollo
8
Opcional
0
  • @lssm-tech/lib.authos-specworkspace:^ · runtime
  • @lssm-tech/lib.contracts-runtime-kernelworkspace:^ · runtime
  • @lssm-tech/lib.crypto-utilsworkspace:^ · runtime
  • @lssm-tech/lib.ui-kit-coreworkspace:^ · runtime
  • reactcatalog: · peer
  • @lssm-tech/tool.bunworkspace:* · development

Showing 6 of 13 declarations across scopes. A package may appear in more than one scope.

Package and source context
Package scope
No private flag declared in the manifest
Source guide
README available
Declared runtimes
node
Declared stability
experimental
Source path
packages/domains/identity/runtime

Manifest declarations describe this source snapshot; they do not verify registry publication or runtime execution.

domains / library

lib.authos-spec

v2.0.4
Package manifestGuide availablenode

Contract-first AuthOS specifications for identity, authentication, federation, and security-gated account surfaces.

@lssm-tech/lib.authos-spec
57Declared imports
6Direct dependencies
Inspect this packageImports · dependencies · qualification

Declared import paths

manifest-declared export entrypoints and catalog-declared imports

Showing 6 of 57 declared entry points.

Dependency declarations
Ejecución
3
Par
0
Desarrollo
3
Opcional
0
  • @lssm-tech/lib.contracts-spec-coreworkspace:^ · runtime
  • @lssm-tech/lib.schemaworkspace:^ · runtime
  • zodcatalog: · runtime
  • @lssm-tech/tool.bunworkspace:* · development
  • @lssm-tech/tool.typescriptworkspace:* · development
  • typescriptcatalog: · development

Showing 6 of 6 declarations across scopes. A package may appear in more than one scope.

Package and source context
Package scope
No private flag declared in the manifest
Source guide
README available
Declared runtimes
node
Declared stability
experimental
Source path
packages/domains/identity/spec

Manifest declarations describe this source snapshot; they do not verify registry publication or runtime execution.

Tu vista

Make room for your context.

Shape the presentation around this moment. You can change it whenever you need.

Tu contexto

The different parts of you

Choose a starting point

Una mezcla útil de contexto, imágenes y orientación discreta.

Tune each dimension
Each dimension can change independently. Product permissions and available actions stay unchanged.

Support the way you begin and return

Tune your support

Comodidad de lectura

Elige tu idioma

El idioma de la interfaz solo cambia el texto. Los mercados, precios y flujos de trabajo conservan sus propios ajustes.

Cobertura de traducción

Parte del contenido se muestra en inglés.

Navegación151
Grafo616
Categorías188
Portafolio332
Ejemplos2035
Vista previa de la fuente41

Se añadirán más traducciones a medida que se revise el contenido.

Esta preferencia se guarda en este navegador.

Buscar en el sitio web

Puntos de partida útiles

Sin resultados. Prueba una frase más corta, un nombre de operación u otro ámbito de búsqueda.

UN POCO DE ESPACIO PARA EXPLORAR

Encuentra algo que explorar.

Abre una vista detallada en esta página, prueba otra perspectiva o sigue el detalle a su propia página.

Cómo funcionan las vistas previas y los controles
01

Mirar antes de salir

Pasa el cursor por un enlace o enfócalo con Tab para ver una vista previa. Hacer clic en el enlace original o pulsar Intro siempre abre su destino.

02

Mantener el contexto

Entra en la vista previa para explorar sus secciones. Usa Alt + ↓ desde un enlace enfocado para entrar con el teclado. Escape la cierra.

03

Abrir las posibilidades

Las filas desplegables, las perspectivas y los controles destacados revelan más. Tu vista cambia la comodidad de lectura y el contexto que exploras.

Un botón separado para mirar más de cerca

Muestra pequeños botones de vista previa junto a los enlaces donde haya espacio. Toca el ojo para inspeccionar o el enlace para ir directamente. Esta elección permanece en esta pestaña.

No se recoge historial de navegación. El movimiento reducido sigue tu dispositivo y Tu vista.