| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ELBV2.Types.AuthenticateOidcActionConfig
Description
Synopsis
- data AuthenticateOidcActionConfig = AuthenticateOidcActionConfig' {
- authenticationRequestExtraParams :: Maybe (HashMap Text Text)
- clientSecret :: Maybe Text
- onUnauthenticatedRequest :: Maybe AuthenticateOidcActionConditionalBehaviorEnum
- scope :: Maybe Text
- sessionCookieName :: Maybe Text
- sessionTimeout :: Maybe Integer
- useExistingClientSecret :: Maybe Bool
- issuer :: Text
- authorizationEndpoint :: Text
- tokenEndpoint :: Text
- userInfoEndpoint :: Text
- clientId :: Text
- newAuthenticateOidcActionConfig :: Text -> Text -> Text -> Text -> Text -> AuthenticateOidcActionConfig
- authenticateOidcActionConfig_authenticationRequestExtraParams :: Lens' AuthenticateOidcActionConfig (Maybe (HashMap Text Text))
- authenticateOidcActionConfig_clientSecret :: Lens' AuthenticateOidcActionConfig (Maybe Text)
- authenticateOidcActionConfig_onUnauthenticatedRequest :: Lens' AuthenticateOidcActionConfig (Maybe AuthenticateOidcActionConditionalBehaviorEnum)
- authenticateOidcActionConfig_scope :: Lens' AuthenticateOidcActionConfig (Maybe Text)
- authenticateOidcActionConfig_sessionCookieName :: Lens' AuthenticateOidcActionConfig (Maybe Text)
- authenticateOidcActionConfig_sessionTimeout :: Lens' AuthenticateOidcActionConfig (Maybe Integer)
- authenticateOidcActionConfig_useExistingClientSecret :: Lens' AuthenticateOidcActionConfig (Maybe Bool)
- authenticateOidcActionConfig_issuer :: Lens' AuthenticateOidcActionConfig Text
- authenticateOidcActionConfig_authorizationEndpoint :: Lens' AuthenticateOidcActionConfig Text
- authenticateOidcActionConfig_tokenEndpoint :: Lens' AuthenticateOidcActionConfig Text
- authenticateOidcActionConfig_userInfoEndpoint :: Lens' AuthenticateOidcActionConfig Text
- authenticateOidcActionConfig_clientId :: Lens' AuthenticateOidcActionConfig Text
Documentation
data AuthenticateOidcActionConfig Source #
Request parameters when using an identity provider (IdP) that is compliant with OpenID Connect (OIDC) to authenticate users.
See: newAuthenticateOidcActionConfig smart constructor.
Constructors
| AuthenticateOidcActionConfig' | |
Fields
| |
Instances
newAuthenticateOidcActionConfig Source #
Create a value of AuthenticateOidcActionConfig with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:authenticationRequestExtraParams:AuthenticateOidcActionConfig', authenticateOidcActionConfig_authenticationRequestExtraParams - The query parameters (up to 10) to include in the redirect request to
the authorization endpoint.
$sel:clientSecret:AuthenticateOidcActionConfig', authenticateOidcActionConfig_clientSecret - The OAuth 2.0 client secret. This parameter is required if you are
creating a rule. If you are modifying a rule, you can omit this
parameter if you set UseExistingClientSecret to true.
$sel:onUnauthenticatedRequest:AuthenticateOidcActionConfig', authenticateOidcActionConfig_onUnauthenticatedRequest - 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.
$sel:scope:AuthenticateOidcActionConfig', authenticateOidcActionConfig_scope - 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.
$sel:sessionCookieName:AuthenticateOidcActionConfig', authenticateOidcActionConfig_sessionCookieName - The name of the cookie used to maintain session information. The default
is AWSELBAuthSessionCookie.
$sel:sessionTimeout:AuthenticateOidcActionConfig', authenticateOidcActionConfig_sessionTimeout - The maximum duration of the authentication session, in seconds. The
default is 604800 seconds (7 days).
$sel:useExistingClientSecret:AuthenticateOidcActionConfig', authenticateOidcActionConfig_useExistingClientSecret - Indicates whether to use the existing client secret when modifying a
rule. If you are creating a rule, you can omit this parameter or set it
to false.
$sel:issuer:AuthenticateOidcActionConfig', authenticateOidcActionConfig_issuer - The OIDC issuer identifier of the IdP. This must be a full URL,
including the HTTPS protocol, the domain, and the path.
$sel:authorizationEndpoint:AuthenticateOidcActionConfig', authenticateOidcActionConfig_authorizationEndpoint - The authorization endpoint of the IdP. This must be a full URL,
including the HTTPS protocol, the domain, and the path.
$sel:tokenEndpoint:AuthenticateOidcActionConfig', authenticateOidcActionConfig_tokenEndpoint - The token endpoint of the IdP. This must be a full URL, including the
HTTPS protocol, the domain, and the path.
$sel:userInfoEndpoint:AuthenticateOidcActionConfig', authenticateOidcActionConfig_userInfoEndpoint - The user info endpoint of the IdP. This must be a full URL, including
the HTTPS protocol, the domain, and the path.
$sel:clientId:AuthenticateOidcActionConfig', authenticateOidcActionConfig_clientId - The OAuth 2.0 client identifier.
authenticateOidcActionConfig_authenticationRequestExtraParams :: Lens' AuthenticateOidcActionConfig (Maybe (HashMap Text Text)) Source #
The query parameters (up to 10) to include in the redirect request to the authorization endpoint.
authenticateOidcActionConfig_clientSecret :: Lens' AuthenticateOidcActionConfig (Maybe Text) Source #
The OAuth 2.0 client secret. This parameter is required if you are
creating a rule. If you are modifying a rule, you can omit this
parameter if you set UseExistingClientSecret to true.
authenticateOidcActionConfig_onUnauthenticatedRequest :: Lens' AuthenticateOidcActionConfig (Maybe AuthenticateOidcActionConditionalBehaviorEnum) Source #
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.
authenticateOidcActionConfig_scope :: Lens' AuthenticateOidcActionConfig (Maybe Text) Source #
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.
authenticateOidcActionConfig_sessionCookieName :: Lens' AuthenticateOidcActionConfig (Maybe Text) Source #
The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.
authenticateOidcActionConfig_sessionTimeout :: Lens' AuthenticateOidcActionConfig (Maybe Integer) Source #
The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days).
authenticateOidcActionConfig_useExistingClientSecret :: Lens' AuthenticateOidcActionConfig (Maybe Bool) Source #
Indicates whether to use the existing client secret when modifying a rule. If you are creating a rule, you can omit this parameter or set it to false.
authenticateOidcActionConfig_issuer :: Lens' AuthenticateOidcActionConfig Text Source #
The OIDC issuer identifier of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.
authenticateOidcActionConfig_authorizationEndpoint :: Lens' AuthenticateOidcActionConfig Text Source #
The authorization endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.
authenticateOidcActionConfig_tokenEndpoint :: Lens' AuthenticateOidcActionConfig Text Source #
The token endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.
authenticateOidcActionConfig_userInfoEndpoint :: Lens' AuthenticateOidcActionConfig Text Source #
The user info endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.
authenticateOidcActionConfig_clientId :: Lens' AuthenticateOidcActionConfig Text Source #
The OAuth 2.0 client identifier.