Values.AuthenticateCognitoActionConfigSourceRequest parameters to use when integrating with Amazon Cognito to authenticate users.
type nonrec t = {userPoolArn : AuthenticateCognitoActionUserPoolArn.t;The Amazon Resource Name (ARN) of the Amazon Cognito user pool.
*)userPoolClientId : AuthenticateCognitoActionUserPoolClientId.t;The ID of the Amazon Cognito user pool client.
*)userPoolDomain : AuthenticateCognitoActionUserPoolDomain.t;The domain prefix or fully-qualified domain name of the Amazon Cognito user pool.
*)sessionCookieName : AuthenticateCognitoActionSessionCookieName.t option;The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.
*)scope : AuthenticateCognitoActionScope.t option;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.
*)sessionTimeout : AuthenticateCognitoActionSessionTimeout.t option;The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days).
*)authenticationRequestExtraParams : AuthenticateCognitoActionAuthenticationRequestExtraParams.t
option;The query parameters (up to 10) to include in the redirect request to the authorization endpoint.
*)onUnauthenticatedRequest : AuthenticateCognitoActionConditionalBehaviorEnum.t
option;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.
*)}val make :
?sessionCookieName:??? ->
?scope:??? ->
?sessionTimeout:??? ->
?authenticationRequestExtraParams:??? ->
?onUnauthenticatedRequest:??? ->
userPoolArn:AuthenticateCognitoActionUserPoolArn.t ->
userPoolClientId:AuthenticateCognitoActionUserPoolClientId.t ->
userPoolDomain:AuthenticateCognitoActionUserPoolDomain.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Long of AuthenticateCognitoActionSessionTimeout.t
| `Map of
([> `String of
AuthenticateCognitoActionAuthenticationRequestParamName.t ]
* [> `String of
AuthenticateCognitoActionAuthenticationRequestParamValue.t ])
list
| `String of AuthenticateCognitoActionUserPoolArn.t ])
list ]