onUnauthenticatedRequest property

AuthenticateCognitoActionConditionalBehaviorEnum? onUnauthenticatedRequest
final

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.

Implementation

final AuthenticateCognitoActionConditionalBehaviorEnum?
    onUnauthenticatedRequest;