Skip to main content

Interface: CognitoUserPoolConfig

Defined in: index.ts:16

Amazon Cognito user pool configuration for JWT verification.

Properties

clientId

clientId: string

Defined in: index.ts:25

The app client ID registered in the User Pool.


tokenUse?

optional tokenUse?: "access" | "id"

Defined in: index.ts:23

Which token type to verify.

Default

'access'

userPoolId

userPoolId: string

Defined in: index.ts:18

The Cognito User Pool ID (e.g. us-east-1_abc123).