OAuthScope
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-cognito/lib/user-pool-client.d.ts:111
OAuth scopes that are allowed with this client.
https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-app-idp-settings.html
Properties
Section titled “Properties”scopeName
Section titled “scopeName”
readonlyscopeName:string
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-cognito/lib/user-pool-client.d.ts:150
The name of this scope as recognized by CloudFormation.
COGNITO_ADMIN
Section titled “COGNITO_ADMIN”
readonlystaticCOGNITO_ADMIN:OAuthScope
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-cognito/lib/user-pool-client.d.ts:135
Grants access to Amazon Cognito User Pool API operations that require access tokens, such as UpdateUserAttributes and VerifyUserAttribute.
readonlystaticEMAIL:OAuthScope
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-cognito/lib/user-pool-client.d.ts:121
Grants access to the ‘email’ and ‘email_verified’ claims.
Automatically includes access to OAuthScope.OPENID.
OPENID
Section titled “OPENID”
readonlystaticOPENID:OAuthScope
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-cognito/lib/user-pool-client.d.ts:125
Returns all user attributes in the ID token that are readable by the client
readonlystaticPHONE:OAuthScope
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-cognito/lib/user-pool-client.d.ts:116
Grants access to the ‘phone_number’ and ‘phone_number_verified’ claims.
Automatically includes access to OAuthScope.OPENID.
PROFILE
Section titled “PROFILE”
readonlystaticPROFILE:OAuthScope
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-cognito/lib/user-pool-client.d.ts:130
Grants access to all user attributes that are readable by the client
Automatically includes access to OAuthScope.OPENID.
Methods
Section titled “Methods”custom()
Section titled “custom()”
staticcustom(name):OAuthScope
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-cognito/lib/user-pool-client.d.ts:141
Custom scope is one that you define for your own resource server in the Resource Servers. The format is ‘resource-server-identifier/scope’.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”OAuthScope
resourceServer()
Section titled “resourceServer()”
staticresourceServer(server,scope):OAuthScope
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-cognito/lib/user-pool-client.d.ts:145
Adds a custom scope that’s tied to a resource server in your stack
Parameters
Section titled “Parameters”server
Section titled “server”IUserPoolResourceServer
ResourceServerScope
Returns
Section titled “Returns”OAuthScope
© 2026 Axis Tech. Powered by axis-tech.co.