F+Foldkit Plus
HomeLearnPackagesComponentsDemosGitHub ↗

Auth

Guides

foldkit-auth

  • Overview
  • Mental model
  • Sixty seconds
  • Who the client believes it is
  • Sync's socket
  • SSR's posted forms
  • Refusals

Auth and Guard

  • Overview
  • Which one owns what
  • The seam: one principal type
  • What the client sees
  • Failures, end to end
  • Keep these consistent

API

  • foldkit-auth
  • foldkit-auth/server

Open source, MIT
Foldkit 0.168 · Effect 4

Auth / foldkit-auth/server

VerifiedSession

interface · packages/auth/src/server.ts:13

interface VerifiedSession {
  readonly subjectId: string
}

The part of a session this package reads; the application's principal reads the rest.

Members

VerifiedSession.subjectId#

property · packages/auth/src/server.ts:14

readonly subjectId: string
Previousfoldkit-auth/server

On this page

  • subjectId

Edit on GitHub ↗

This site is a Foldkit Plus application, rendered at build time with foldkit-ssr. Its source

FoldkitEffectGitHub