Skip to main content

Interface: AuthAttributes

@arolariu/website


@arolariu/website / instrumentation.server / AuthAttributes

Interface: AuthAttributes

Defined in: instrumentation.server.ts:278

Standard semantic attribute keys for authentication operations.

Properties

user.authenticated

user.authenticated: boolean

Defined in: instrumentation.server.ts:282

Whether the user is authenticated


user.role?

optional user.role?: string

Defined in: instrumentation.server.ts:287

User role (e.g., "admin", "user", "guest")


auth.method?

optional auth.method?: string

Defined in: instrumentation.server.ts:292

Authentication method (e.g., "clerk", "jwt", "session")


auth.provider?

optional auth.provider?: string

Defined in: instrumentation.server.ts:297

Authentication provider (e.g., "clerk", "auth0")

// was this page useful?