Class ListenerRuleActionAuthenticateCognito


  • public final class ListenerRuleActionAuthenticateCognito
    extends java.lang.Object
    • Method Detail

      • authenticationRequestExtraParams

        public java.util.Map<java.lang.String,​java.lang.String> authenticationRequestExtraParams()
        Returns:
        The query parameters to include in the redirect request to the authorization endpoint. Max: 10.
      • onUnauthenticatedRequest

        public java.util.Optional<java.lang.String> onUnauthenticatedRequest()
        Returns:
        The behavior if the user is not authenticated. Valid values: `deny`, `allow` and `authenticate`
      • scope

        public java.util.Optional<java.lang.String> scope()
        Returns:
        The set of user claims to be requested from the IdP.
      • sessionCookieName

        public java.util.Optional<java.lang.String> sessionCookieName()
        Returns:
        The name of the cookie used to maintain session information.
      • sessionTimeout

        public java.util.Optional<java.lang.Integer> sessionTimeout()
        Returns:
        The maximum duration of the authentication session, in seconds.
      • userPoolArn

        public java.lang.String userPoolArn()
        Returns:
        The ARN of the Cognito user pool.
      • userPoolClientId

        public java.lang.String userPoolClientId()
        Returns:
        The ID of the Cognito user pool client.
      • userPoolDomain

        public java.lang.String userPoolDomain()
        Returns:
        The domain prefix or fully-qualified domain name of the Cognito user pool.