Interface: JWTAuthResult
Defined in: service-core/src/auth/JWTStrategy.ts:41
Result returned by JWTStrategy.authenticate().
Extends
Properties
data?
optionaldata?:any
Defined in: service-core/src/auth/AuthStrategy.ts:12
The raw auth data that was verified.
Inherited from
method
method:
string
Defined in: service-core/src/auth/AuthStrategy.ts:14
The name of the auth strategy that produced this result.
Inherited from
payload?
optionalpayload?:any
Defined in: service-core/src/auth/AuthStrategy.ts:16
The fully decoded payload from the auth data.
Inherited from
state?
optionalstate?:string
Defined in: service-core/src/auth/AuthStrategy.ts:21
Client-supplied app-correlation data extracted from the state round-trip, if any (see
OAuthStrategy's combined state/CSRF design). Available to route handlers via @AuthResult.
Inherited from
tokenFound?
optionaltokenFound?:boolean
Defined in: service-core/src/auth/JWTStrategy.ts:48
true when at least one credential (header, query param, or cookie) was present in
the request, even if it was ultimately invalid. Distinguishes "no token submitted" from
"bad token submitted" — useful for deciding whether to reject early vs. fall through to
an alternative auth path (e.g. WebSocket message-based LOGIN).
user?
optionaluser?:JWTUser
Defined in: service-core/src/auth/AuthStrategy.ts:23
The authenticated user profile, or undefined if authentication failed.