Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data AuthenticateOidcActionConfig = AuthenticateOidcActionConfig' {
- clientSecret :: Maybe Text
- useExistingClientSecret :: Maybe Bool
- authenticationRequestExtraParams :: Maybe (HashMap Text Text)
- scope :: Maybe Text
- onUnauthenticatedRequest :: Maybe AuthenticateOidcActionConditionalBehaviorEnum
- sessionCookieName :: Maybe Text
- sessionTimeout :: Maybe Integer
- issuer :: Text
- authorizationEndpoint :: Text
- tokenEndpoint :: Text
- userInfoEndpoint :: Text
- clientId :: Text
- newAuthenticateOidcActionConfig :: Text -> Text -> Text -> Text -> Text -> AuthenticateOidcActionConfig
- authenticateOidcActionConfig_clientSecret :: Lens' AuthenticateOidcActionConfig (Maybe Text)
- authenticateOidcActionConfig_useExistingClientSecret :: Lens' AuthenticateOidcActionConfig (Maybe Bool)
- authenticateOidcActionConfig_authenticationRequestExtraParams :: Lens' AuthenticateOidcActionConfig (Maybe (HashMap Text Text))
- authenticateOidcActionConfig_scope :: Lens' AuthenticateOidcActionConfig (Maybe Text)
- authenticateOidcActionConfig_onUnauthenticatedRequest :: Lens' AuthenticateOidcActionConfig (Maybe AuthenticateOidcActionConditionalBehaviorEnum)
- authenticateOidcActionConfig_sessionCookieName :: Lens' AuthenticateOidcActionConfig (Maybe Text)
- authenticateOidcActionConfig_sessionTimeout :: Lens' AuthenticateOidcActionConfig (Maybe Integer)
- 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.
AuthenticateOidcActionConfig' | |
|
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: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: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:authenticationRequestExtraParams:AuthenticateOidcActionConfig'
, authenticateOidcActionConfig_authenticationRequestExtraParams
- The query parameters (up to 10) to include in the redirect request to
the authorization endpoint.
$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: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: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: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_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_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_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_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_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_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_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.