@prismshadow/penguin-server · packages/server/src/hmr/capabilities.ts:611

AuthState

interface

No JSDoc comment in source yet.

API

@Interface()
export abstract class AuthState {
  abstract firstLoginToken: string | null;
  abstract apiToken: string | null;
}

Contract Topology

Static AST wiring across @Module / @Provide / @Use
@Moduleexported by
@Provideprovided by
@Useconsumed by (2)

Members (2)

firstLoginToken

firstLoginToken: string | null

The first-login link this boot printed, or null before one was minted.

apiToken

apiToken: string | null

This boot's local API token (auth/api-token.ts), installed by the startup assembly. Null in constructions that never minted one — they simply never authenticate a Bearer header.