@Stability(value=Stable)
public static interface CfnListener.AuthenticateOidcConfigProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.elasticloadbalancingv2.*;
AuthenticateOidcConfigProperty authenticateOidcConfigProperty = AuthenticateOidcConfigProperty.builder()
.authorizationEndpoint("authorizationEndpoint")
.clientId("clientId")
.issuer("issuer")
.tokenEndpoint("tokenEndpoint")
.userInfoEndpoint("userInfoEndpoint")
// the properties below are optional
.authenticationRequestExtraParams(Map.of(
"authenticationRequestExtraParamsKey", "authenticationRequestExtraParams"))
.clientSecret("clientSecret")
.onUnauthenticatedRequest("onUnauthenticatedRequest")
.scope("scope")
.sessionCookieName("sessionCookieName")
.sessionTimeout("sessionTimeout")
.useExistingClientSecret(false)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnListener.AuthenticateOidcConfigProperty.Builder
A builder for
CfnListener.AuthenticateOidcConfigProperty |
static class |
CfnListener.AuthenticateOidcConfigProperty.Jsii$Proxy
An implementation for
CfnListener.AuthenticateOidcConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnListener.AuthenticateOidcConfigProperty.Builder |
builder() |
default Object |
getAuthenticationRequestExtraParams()
The query parameters (up to 10) to include in the redirect request to the authorization endpoint.
|
String |
getAuthorizationEndpoint()
The authorization endpoint of the IdP.
|
String |
getClientId()
The OAuth 2.0 client identifier.
|
default String |
getClientSecret()
The OAuth 2.0 client secret.
|
String |
getIssuer()
The OIDC issuer identifier of the IdP.
|
default String |
getOnUnauthenticatedRequest()
The behavior if the user is not authenticated.
|
default String |
getScope()
The set of user claims to be requested from the IdP.
|
default String |
getSessionCookieName()
The name of the cookie used to maintain session information.
|
default String |
getSessionTimeout()
The maximum duration of the authentication session, in seconds.
|
String |
getTokenEndpoint()
The token endpoint of the IdP.
|
default Object |
getUseExistingClientSecret()
`CfnListener.AuthenticateOidcConfigProperty.UseExistingClientSecret`.
|
String |
getUserInfoEndpoint()
The user info endpoint of the IdP.
|
@Stability(value=Stable) @NotNull String getAuthorizationEndpoint()
This must be a full URL, including the HTTPS protocol, the domain, and the path.
@Stability(value=Stable) @NotNull String getClientId()
@Stability(value=Stable) @NotNull String getIssuer()
This must be a full URL, including the HTTPS protocol, the domain, and the path.
@Stability(value=Stable) @NotNull String getTokenEndpoint()
This must be a full URL, including the HTTPS protocol, the domain, and the path.
@Stability(value=Stable) @NotNull String getUserInfoEndpoint()
This must be a full URL, including the HTTPS protocol, the domain, and the path.
@Stability(value=Stable) @Nullable default Object getAuthenticationRequestExtraParams()
@Stability(value=Stable) @Nullable default String getClientSecret()
@Stability(value=Stable) @Nullable default String getOnUnauthenticatedRequest()
@Stability(value=Stable) @Nullable default String getScope()
To verify which scope values your IdP supports and how to separate multiple values, see the documentation for your IdP.
@Stability(value=Stable) @Nullable default String getSessionCookieName()
The default is AWSELBAuthSessionCookie.
@Stability(value=Stable) @Nullable default String getSessionTimeout()
The default is 604800 seconds (7 days).
@Stability(value=Stable) @Nullable default Object getUseExistingClientSecret()
@Stability(value=Stable) static CfnListener.AuthenticateOidcConfigProperty.Builder builder()
Copyright © 2022. All rights reserved.