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?: {} | null;
[key: string]: string | null | undefined;
OnUnauthenticatedRequest?: AuthenticateCognitoActionConditionalBehaviorEnum | null;
Scope?: string | null;
SessionCookieName?: string | null;
SessionTimeout?: number | null;
UserPoolArn: string;
UserPoolClientId: string;
UserPoolDomain: string;
}§Properties
§
AuthenticationRequestExtraParams?: {} | null
[src][key: string]: string | null | undefined;
The query parameters (up to 10) to include in the redirect request to the authorization endpoint.
§
OnUnauthenticatedRequest?: AuthenticateCognitoActionConditionalBehaviorEnum | null
[src]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.