Skip to main content
zerotal

Documentation


Documentation / zerotal / auth / AUTHENTICATABLE

Variable: AUTHENTICATABLE

const AUTHENTICATABLE: unique symbol

Defined in: packages/auth/src/Authenticatable.ts:9

Brand marking a model (or one of its ancestors) as carrying the auth contract. Symbol.for keeps it stable across module instances. Set on the mixin class and inherited by every subclass, so detection works for both extends AuthUser and extends BaseModelWith(Authenticatable, …).