Skip to main content

TokenValidationResult

Datalayer Core


Datalayer Core / TokenValidationResult

Interface: TokenValidationResult

Defined in: src/client/auth/types.ts:150

Token validation result

Properties

error?

optional error: string

Defined in: src/client/auth/types.ts:162

Error message (if invalid)


user?

optional user: User

Defined in: src/client/auth/types.ts:158

User associated with the token (if valid)


valid

valid: boolean

Defined in: src/client/auth/types.ts:154

Whether the token is valid