Skip to main content

Interface: AuthAttributes

@arolariu/website


@arolariu/website / instrumentation.server / AuthAttributes

Interface: AuthAttributes

Defined in: instrumentation.server.ts:276

Standard semantic attribute keys for authentication operations.

Properties

user.authenticated

user.authenticated: boolean

Defined in: instrumentation.server.ts:280

Whether the user is authenticated


user.role?

optional user.role?: string

Defined in: instrumentation.server.ts:285

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


auth.method?

optional auth.method?: string

Defined in: instrumentation.server.ts:290

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


auth.provider?

optional auth.provider?: string

Defined in: instrumentation.server.ts:295

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

// was this page useful?