Interface IdentityPoolAuthenticationProviders

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
IdentityPoolAuthenticationProviders.Jsii$Proxy

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-12-11T23:26:43.009Z") @Stability(Experimental) public interface IdentityPoolAuthenticationProviders extends software.amazon.jsii.JsiiSerializable
(experimental) External Authentication Providers for usage in Identity Pool.

Example:

 OpenIdConnectProvider openIdConnectProvider;
 IdentityPool.Builder.create(this, "myidentitypool")
         .identityPoolName("myidentitypool")
         .authenticationProviders(IdentityPoolAuthenticationProviders.builder()
                 .google(IdentityPoolGoogleLoginProvider.builder()
                         .clientId("12345678012.apps.googleusercontent.com")
                         .build())
                 .openIdConnectProviders(List.of(openIdConnectProvider))
                 .customProvider("my-custom-provider.example.com")
                 .build())
         .build();
 

See Also:
  • Method Details

    • getAmazon

      @Stability(Experimental) @Nullable default IdentityPoolAmazonLoginProvider getAmazon()
      (experimental) The Amazon Authentication Provider associated with this Identity Pool.

      Default: - No Amazon Authentication Provider used without OpenIdConnect or a User Pool

    • getApple

      @Stability(Experimental) @Nullable default IdentityPoolAppleLoginProvider getApple()
      (experimental) The Apple Authentication Provider associated with this Identity Pool.

      Default: - No Apple Authentication Provider used without OpenIdConnect or a User Pool

    • getCustomProvider

      @Stability(Experimental) @Nullable default String getCustomProvider()
      (experimental) The developer provider name to associate with this Identity Pool.

      Default: - no custom provider

    • getFacebook

      @Stability(Experimental) @Nullable default IdentityPoolFacebookLoginProvider getFacebook()
      (experimental) The Facebook Authentication Provider associated with this Identity Pool.

      Default: - No Facebook Authentication Provider used without OpenIdConnect or a User Pool

    • getGoogle

      @Stability(Experimental) @Nullable default IdentityPoolGoogleLoginProvider getGoogle()
      (experimental) The Google Authentication Provider associated with this Identity Pool.

      Default: - No Google Authentication Provider used without OpenIdConnect or a User Pool

    • getOpenIdConnectProviders

      @Stability(Experimental) @Nullable default List<IOpenIdConnectProvider> getOpenIdConnectProviders()
      (experimental) The OpenIdConnect Provider associated with this Identity Pool.

      Default: - no OpenIdConnectProvider

    • getSamlProviders

      @Stability(Experimental) @Nullable default List<ISamlProvider> getSamlProviders()
      (experimental) The Security Assertion Markup Language provider associated with this Identity Pool.

      Default: - no SamlProvider

    • getTwitter

      @Stability(Experimental) @Nullable default IdentityPoolTwitterLoginProvider getTwitter()
      (experimental) The Twitter Authentication Provider associated with this Identity Pool.

      Default: - No Twitter Authentication Provider used without OpenIdConnect or a User Pool

    • getUserPools

      @Stability(Experimental) @Nullable default List<IUserPoolAuthenticationProvider> getUserPools()
      (experimental) The User Pool Authentication Providers associated with this Identity Pool.

      Default: - no User Pools associated

    • builder

      @Stability(Experimental) static IdentityPoolAuthenticationProviders.Builder builder()
      Returns:
      a IdentityPoolAuthenticationProviders.Builder of IdentityPoolAuthenticationProviders