Interface AuthenticateOidcOptions
- All Superinterfaces:
- software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
- AuthenticateOidcOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
           date="2023-06-19T16:30:44.214Z")
@Stability(Stable)
public interface AuthenticateOidcOptions
extends software.amazon.jsii.JsiiSerializable
Options for 
ListenerAction.authenciateOidc().
 Example:
 ApplicationListener listener;
 ApplicationTargetGroup myTargetGroup;
 listener.addAction("DefaultAction", AddApplicationActionProps.builder()
         .action(ListenerAction.authenticateOidc(AuthenticateOidcOptions.builder()
                 .authorizationEndpoint("https://example.com/openid")
                 // Other OIDC properties here
                 .clientId("...")
                 .clientSecret(SecretValue.secretsManager("..."))
                 .issuer("...")
                 .tokenEndpoint("...")
                 .userInfoEndpoint("...")
                 // Next
                 .next(ListenerAction.forward(List.of(myTargetGroup)))
                 .build()))
         .build());
 - 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forAuthenticateOidcOptionsstatic final classAn implementation forAuthenticateOidcOptions
- 
Method SummaryModifier and TypeMethodDescriptionbuilder()The query parameters (up to 10) to include in the redirect request to the authorization endpoint.The authorization endpoint of the IdP.The OAuth 2.0 client identifier.The OAuth 2.0 client secret.The OIDC issuer identifier of the IdP.getNext()What action to execute next.default UnauthenticatedActionThe behavior if the user is not authenticated.default StringgetScope()The set of user claims to be requested from the IdP.default StringThe name of the cookie used to maintain session information.default DurationThe maximum duration of the authentication session.The token endpoint of the IdP.The user info endpoint of the IdP.Methods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Method Details- 
getAuthorizationEndpointThe authorization endpoint of the IdP.This must be a full URL, including the HTTPS protocol, the domain, and the path. 
- 
getClientIdThe OAuth 2.0 client identifier.
- 
getClientSecretThe OAuth 2.0 client secret.
- 
getIssuerThe OIDC issuer identifier of the IdP.This must be a full URL, including the HTTPS protocol, the domain, and the path. 
- 
getNextWhat action to execute next.
- 
getTokenEndpointThe token endpoint of the IdP.This must be a full URL, including the HTTPS protocol, the domain, and the path. 
- 
getUserInfoEndpointThe user info endpoint of the IdP.This must be a full URL, including the HTTPS protocol, the domain, and the path. 
- 
getAuthenticationRequestExtraParamsThe query parameters (up to 10) to include in the redirect request to the authorization endpoint.Default: - No extra parameters 
- 
getOnUnauthenticatedRequestThe behavior if the user is not authenticated.Default: UnauthenticatedAction.AUTHENTICATE 
- 
getScopeThe set of user claims to be requested from the IdP.To verify which scope values your IdP supports and how to separate multiple values, see the documentation for your IdP. Default: "openid" 
- 
getSessionCookieNameThe name of the cookie used to maintain session information.Default: "AWSELBAuthSessionCookie" 
- 
getSessionTimeoutThe maximum duration of the authentication session.Default: Duration.days(7) 
- 
builder- Returns:
- a AuthenticateOidcOptions.BuilderofAuthenticateOidcOptions
 
 
-