Creates a bearer auth middleware that validates access tokens.
Delegates to the SDK's requireBearerAuth() for actual token validation. Supports both full OAuth providers and custom token verifiers via the AuthProvider union type.
requireBearerAuth()
Bearer auth configuration
Express middleware that sets req.auth on success
req.auth
Creates a bearer auth middleware that validates access tokens.
Delegates to the SDK's
requireBearerAuth()for actual token validation. Supports both full OAuth providers and custom token verifiers via the AuthProvider union type.