Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CognitoIdentityProvider

import type { CognitoIdentityProvider } from "https://aws-api.deno.dev/v0.3/services/cognitoidentity.ts?docs=full";

A provider representing an Amazon Cognito user pool and its client ID.

interface CognitoIdentityProvider {
ClientId?: string | null;
ProviderName?: string | null;
ServerSideTokenCheck?: boolean | null;
}

§Properties

§
ClientId?: string | null
[src]

The client ID for the Amazon Cognito user pool.

§
ProviderName?: string | null
[src]

The provider name for an Amazon Cognito user pool. For example, cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789.

§
ServerSideTokenCheck?: boolean | null
[src]

TRUE if server-side token validation is enabled for the identity provider’s token.

Once you set ServerSideTokenCheck to TRUE for an identity pool, that identity pool will check with the integrated user pools to make sure that the user has not been globally signed out or deleted before the identity pool provides an OIDC token or AWS credentials for the user.

If the user is signed out or deleted, the identity pool will return a 400 Not Authorized error.