Interface: AuthResult
Defined in: service-core/src/auth/AuthStrategy.ts:11
Result returned by AuthStrategy.authenticate().
Extended by
Properties
data?
optionaldata?:any
Defined in: service-core/src/auth/AuthStrategy.ts:13
The raw auth data that was verified.
method
method:
string
Defined in: service-core/src/auth/AuthStrategy.ts:15
The name of the auth strategy that produced this result.
payload?
optionalpayload?:any
Defined in: service-core/src/auth/AuthStrategy.ts:17
The fully decoded payload from the auth data.
state?
optionalstate?:string
Defined in: service-core/src/auth/AuthStrategy.ts:22
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.
user?
optionaluser?:JWTUser
Defined in: service-core/src/auth/AuthStrategy.ts:24
The authenticated user profile, or undefined if authentication failed.