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

AuthenticateCognitoActionConfig

import type { AuthenticateCognitoActionConfig } from "https://aws-api.deno.dev/v0.4/services/elbv2.ts?docs=full";

Request parameters to use when integrating with Amazon Cognito to authenticate users.

interface AuthenticateCognitoActionConfig {
AuthenticationRequestExtraParams?: {
[key: string]: string | null | undefined;
}
| null;
OnUnauthenticatedRequest?: AuthenticateCognitoActionConditionalBehaviorEnum | null;
Scope?: string | null;
SessionCookieName?: string | null;
SessionTimeout?: number | null;
UserPoolArn: string;
UserPoolClientId: string;
UserPoolDomain: string;
}

§Properties

§
AuthenticationRequestExtraParams?: {
[key: string]: string | null | undefined;
}
| null
[src]

The query parameters (up to 10) to include in the redirect request to the authorization endpoint.

§

The behavior if the user is not authenticated. The following are possible values:

  • deny`` - Return an HTTP 401 Unauthorized error.
  • allow`` - Allow the request to be forwarded to the target.
  • authenticate`` - Redirect the request to the IdP authorization endpoint. This is the default value.
§
Scope?: string | null
[src]

The set of user claims to be requested from the IdP. The default is openid.

To verify which scope values your IdP supports and how to separate multiple values, see the documentation for your IdP.

§
SessionCookieName?: string | null
[src]

The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.

§
SessionTimeout?: number | null
[src]

The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days).

§
UserPoolArn: string
[src]

The Amazon Resource Name (ARN) of the Amazon Cognito user pool.

§
UserPoolClientId: string
[src]

The ID of the Amazon Cognito user pool client.

§
UserPoolDomain: string
[src]

The domain prefix or fully-qualified domain name of the Amazon Cognito user pool.