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.

ÉTAPE 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 paquetsSELECT 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
Exécution
0
Pair
0
Développement
3
Facultatif
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
Guide source
README available
Declared runtimes
node
Stabilité déclarée
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.tsOuvrir la source
  • @lssm-tech/integration.authos-better-auth/attribution-hooks
    ./src/attribution-hooks.tsOuvrir la source
  • @lssm-tech/integration.authos-better-auth/bearer-session-reader
    ./src/bearer-session-reader.tsOuvrir la source
  • @lssm-tech/integration.authos-better-auth/bridge-plan
    ./src/bridge-plan.tsOuvrir la source
  • @lssm-tech/integration.authos-better-auth/canonical-email-adapter
    ./src/canonical-email-adapter.tsOuvrir la source
  • @lssm-tech/integration.authos-better-auth/client
    ./src/client.tsOuvrir la source

Showing 6 of 21 declared entry points.

Dependency declarations
Exécution
7
Pair
0
Développement
3
Facultatif
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
Guide source
README available
Declared runtimes
node
Stabilité déclarée
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
Exécution
4
Pair
0
Développement
3
Facultatif
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
Guide source
README available
Declared runtimes
node
Stabilité déclarée
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
Exécution
11
Pair
2
Développement
10
Facultatif
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
Guide source
README available
Declared runtimes
node, browser
Stabilité déclarée
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
Exécution
4
Pair
1
Développement
8
Facultatif
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
Guide source
README available
Declared runtimes
node
Stabilité déclarée
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

Spécifications AuthOS fondées sur les contrats pour l’identité, l’authentification, la fédération et les interfaces de compte soumises aux contrôles de sécurité.

@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
Exécution
3
Pair
0
Développement
3
Facultatif
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
Guide source
README available
Declared runtimes
node
Stabilité déclarée
experimental
Source path
packages/domains/identity/spec

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

Votre vue

Make room for your context.

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

Votre contexte

The different parts of you

Choose a starting point

Un mélange utile de contexte, de visuels et de guidage discret.

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

Confort de lecture

Choisir votre langue

La langue de l’interface change uniquement le texte. Les marchés, les prix et les parcours conservent leurs propres paramètres.

Couverture des traductions

Une partie du contenu est affichée en anglais.

Navigation151
Graphe616
Catégories378
Portfolio833
Exemples2 035
Aperçu de la source1 542

D’autres traductions seront ajoutées à mesure que le contenu sera relu.

Cette préférence est enregistrée dans ce navigateur.

Rechercher sur le site

Des points de départ utiles

Aucun résultat. Essayez une expression plus courte, un nom d’opération ou un autre périmètre de recherche.

UN PEU DE PLACE POUR EXPLORER

Trouvez quelque chose à explorer.

Ouvrez un aperçu détaillé sur cette page, essayez une autre perspective ou suivez le détail vers sa propre page.

Fonctionnement des aperçus et des commandes
01

Regarder avant de partir

Survolez un lien ou sélectionnez-le avec Tab pour voir un aperçu. Cliquer sur le lien d’origine ou appuyer sur Entrée ouvre toujours sa destination.

02

Rester dans le contexte

Entrez dans l’aperçu pour explorer ses sections. Depuis un lien sélectionné, utilisez Alt + ↓ pour y entrer au clavier. Échap le ferme.

03

Ouvrir les possibilités

Les lignes dépliables, les choix de perspective et les commandes mises en évidence révèlent davantage. Votre vue adapte le confort de lecture et le contexte exploré.

Un bouton séparé pour voir de plus près

Affichez de petits boutons d’aperçu à côté des liens quand l’espace le permet. Touchez l’œil pour examiner ou le lien pour y aller directement. Ce choix reste dans cet onglet.

Aucun historique de navigation n’est collecté. La réduction des animations suit votre appareil et Votre vue.