From a87dba6c68b6a871bed63a262924bfdd11e2f369 Mon Sep 17 00:00:00 2001 From: pulumi-bot Date: Fri, 28 Feb 2025 03:12:13 +0000 Subject: [PATCH] make build_sdks --- sdk/dotnet/Client.cs | 106 ----- sdk/dotnet/Connection.cs | 2 + sdk/dotnet/GetTokenExchangeProfile.cs | 57 +++ sdk/dotnet/GetUser.cs | 98 ++--- sdk/dotnet/Inputs/BrandingThemeColorsArgs.cs | 6 + .../Inputs/BrandingThemeColorsGetArgs.cs | 6 + .../Inputs/ClientNativeSocialLoginArgs.cs | 3 + .../Inputs/ClientNativeSocialLoginGetArgs.cs | 3 + .../ClientNativeSocialLoginGoogleArgs.cs | 23 ++ .../ClientNativeSocialLoginGoogleGetArgs.cs | 23 ++ sdk/dotnet/Inputs/ConnectionOptionsArgs.cs | 12 + sdk/dotnet/Inputs/ConnectionOptionsGetArgs.cs | 12 + ...reenPartialsScreenPartialInsertionPoint.cs | 6 + ...PartialsScreenPartialInsertionPointArgs.cs | 6 + .../PromptScreenPartialInsertionPointsArgs.cs | 6 + ...omptScreenPartialInsertionPointsGetArgs.cs | 6 + ...artialsScreenPartialInsertionPointsArgs.cs | 6 + ...ialsScreenPartialInsertionPointsGetArgs.cs | 6 + sdk/dotnet/LogStream.cs | 21 + sdk/dotnet/Outputs/BrandingThemeColors.cs | 7 + sdk/dotnet/Outputs/ClientNativeSocialLogin.cs | 6 +- .../Outputs/ClientNativeSocialLoginGoogle.cs | 24 ++ sdk/dotnet/Outputs/ConnectionOptions.cs | 14 + .../Outputs/GetBrandingThemeColorResult.cs | 7 + .../GetClientNativeSocialLoginGoogleResult.cs | 24 ++ .../GetClientNativeSocialLoginResult.cs | 6 +- .../Outputs/GetConnectionOptionResult.cs | 14 + ...rtialsScreenPartialInsertionPointResult.cs | 7 + .../PromptScreenPartialInsertionPoints.cs | 7 + ...eenPartialsScreenPartialInsertionPoints.cs | 7 + sdk/dotnet/PromptPartials.cs | 6 +- sdk/dotnet/PromptScreenPartial.cs | 16 +- sdk/dotnet/PromptScreenPartials.cs | 22 +- sdk/dotnet/PromptScreenRenderer.cs | 12 +- sdk/dotnet/TokenExchangeProfile.cs | 50 +++ sdk/dotnet/TriggerAction.cs | 6 +- sdk/dotnet/TriggerActions.cs | 6 +- sdk/go/auth0/client.go | 95 ----- sdk/go/auth0/connection.go | 16 +- sdk/go/auth0/getTokenExchangeProfile.go | 27 ++ sdk/go/auth0/getUser.go | 50 +-- sdk/go/auth0/logStream.go | 18 + sdk/go/auth0/promptPartials.go | 12 +- sdk/go/auth0/promptScreenPartial.go | 22 +- sdk/go/auth0/promptScreenPartials.go | 26 +- sdk/go/auth0/promptScreenRenderer.go | 24 +- sdk/go/auth0/pulumiTypes.go | 377 ++++++++++++++++++ sdk/go/auth0/tokenExchangeProfile.go | 55 +++ sdk/go/auth0/triggerAction.go | 12 +- sdk/go/auth0/triggerActions.go | 12 +- sdk/java/build.gradle | 2 +- .../java/com/pulumi/auth0/Auth0Functions.java | 148 +++---- .../main/java/com/pulumi/auth0/Client.java | 100 ----- .../java/com/pulumi/auth0/Connection.java | 2 + .../main/java/com/pulumi/auth0/LogStream.java | 18 + .../java/com/pulumi/auth0/LogStreamArgs.java | 38 ++ .../java/com/pulumi/auth0/PromptPartials.java | 4 +- .../com/pulumi/auth0/PromptPartialsArgs.java | 8 +- .../com/pulumi/auth0/PromptScreenPartial.java | 12 +- .../pulumi/auth0/PromptScreenPartialArgs.java | 8 +- .../pulumi/auth0/PromptScreenPartials.java | 14 +- .../auth0/PromptScreenPartialsArgs.java | 8 +- .../pulumi/auth0/PromptScreenRenderer.java | 8 +- .../auth0/PromptScreenRendererArgs.java | 16 +- .../pulumi/auth0/TokenExchangeProfile.java | 69 ++++ .../java/com/pulumi/auth0/TriggerAction.java | 4 +- .../com/pulumi/auth0/TriggerActionArgs.java | 8 +- .../java/com/pulumi/auth0/TriggerActions.java | 4 +- .../com/pulumi/auth0/TriggerActionsArgs.java | 8 +- .../auth0/inputs/BrandingThemeColorsArgs.java | 37 ++ .../inputs/ClientNativeSocialLoginArgs.java | 18 + .../ClientNativeSocialLoginGoogleArgs.java | 63 +++ .../auth0/inputs/ConnectionOptionsArgs.java | 74 ++++ ...enPartialsScreenPartialInsertionPoint.java | 30 ++ ...rtialsScreenPartialInsertionPointArgs.java | 40 ++ .../com/pulumi/auth0/inputs/GetUserArgs.java | 53 ++- .../pulumi/auth0/inputs/GetUserPlainArgs.java | 43 +- .../pulumi/auth0/inputs/LogStreamState.java | 38 ++ .../auth0/inputs/PromptPartialsState.java | 8 +- ...romptScreenPartialInsertionPointsArgs.java | 37 ++ .../inputs/PromptScreenPartialState.java | 8 +- ...tialsScreenPartialInsertionPointsArgs.java | 37 ++ .../inputs/PromptScreenPartialsState.java | 8 +- .../inputs/PromptScreenRendererState.java | 16 +- .../auth0/inputs/TriggerActionState.java | 8 +- .../auth0/inputs/TriggerActionsState.java | 8 +- .../auth0/outputs/BrandingThemeColors.java | 21 + .../outputs/ClientNativeSocialLogin.java | 14 + .../ClientNativeSocialLoginGoogle.java | 49 +++ .../auth0/outputs/ConnectionOptions.java | 42 ++ .../auth0/outputs/GetBrandingThemeColor.java | 23 ++ .../outputs/GetClientNativeSocialLogin.java | 19 + .../GetClientNativeSocialLoginGoogle.java | 50 +++ .../auth0/outputs/GetConnectionOption.java | 46 +++ ...enPartialsScreenPartialInsertionPoint.java | 23 ++ .../pulumi/auth0/outputs/GetUserResult.java | 37 +- .../PromptScreenPartialInsertionPoints.java | 21 + ...nPartialsScreenPartialInsertionPoints.java | 21 + sdk/nodejs/client.ts | 74 ---- sdk/nodejs/connection.ts | 2 + sdk/nodejs/getTokenExchangeProfile.ts | 24 ++ sdk/nodejs/getUser.ts | 54 ++- sdk/nodejs/logStream.ts | 17 + sdk/nodejs/promptPartials.ts | 6 +- sdk/nodejs/promptScreenPartial.ts | 13 +- sdk/nodejs/promptScreenPartials.ts | 15 +- sdk/nodejs/promptScreenRenderer.ts | 12 +- sdk/nodejs/tokenExchangeProfile.ts | 40 ++ sdk/nodejs/triggerAction.ts | 6 +- sdk/nodejs/triggerActions.ts | 6 +- sdk/nodejs/types/input.ts | 33 ++ sdk/nodejs/types/output.ts | 46 +++ sdk/python/pulumi_auth0/_inputs.py | 159 +++++++- sdk/python/pulumi_auth0/client.py | 146 ------- sdk/python/pulumi_auth0/connection.py | 4 + .../get_token_exchange_profile.py | 20 + sdk/python/pulumi_auth0/get_user.py | 52 +-- sdk/python/pulumi_auth0/log_stream.py | 53 +++ sdk/python/pulumi_auth0/outputs.py | 164 +++++++- sdk/python/pulumi_auth0/prompt_partials.py | 14 +- .../pulumi_auth0/prompt_screen_partial.py | 26 +- .../pulumi_auth0/prompt_screen_partials.py | 30 +- .../pulumi_auth0/prompt_screen_renderer.py | 28 +- .../pulumi_auth0/token_exchange_profile.py | 76 ++++ sdk/python/pulumi_auth0/trigger_action.py | 14 +- sdk/python/pulumi_auth0/trigger_actions.py | 14 +- 126 files changed, 2924 insertions(+), 990 deletions(-) create mode 100644 sdk/dotnet/Inputs/ClientNativeSocialLoginGoogleArgs.cs create mode 100644 sdk/dotnet/Inputs/ClientNativeSocialLoginGoogleGetArgs.cs create mode 100644 sdk/dotnet/Outputs/ClientNativeSocialLoginGoogle.cs create mode 100644 sdk/dotnet/Outputs/GetClientNativeSocialLoginGoogleResult.cs create mode 100644 sdk/java/src/main/java/com/pulumi/auth0/inputs/ClientNativeSocialLoginGoogleArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/auth0/outputs/ClientNativeSocialLoginGoogle.java create mode 100644 sdk/java/src/main/java/com/pulumi/auth0/outputs/GetClientNativeSocialLoginGoogle.java diff --git a/sdk/dotnet/Client.cs b/sdk/dotnet/Client.cs index 10341434..062c27c1 100644 --- a/sdk/dotnet/Client.cs +++ b/sdk/dotnet/Client.cs @@ -12,112 +12,6 @@ namespace Pulumi.Auth0 /// /// With this resource, you can set up applications that use Auth0 for authentication and configure allowed callback URLs and secrets for these applications. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Auth0 = Pulumi.Auth0; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var myClient = new Auth0.Client("my_client", new() - /// { - /// Name = "Application - Acceptance Test", - /// Description = "Test Applications Long Description", - /// AppType = "non_interactive", - /// ComplianceLevel = "none", - /// CustomLoginPageOn = true, - /// IsFirstParty = true, - /// IsTokenEndpointIpHeaderTrusted = true, - /// OidcConformant = false, - /// Callbacks = new[] - /// { - /// "https://example.com/callback", - /// }, - /// AllowedOrigins = new[] - /// { - /// "https://example.com", - /// }, - /// AllowedLogoutUrls = new[] - /// { - /// "https://example.com", - /// }, - /// WebOrigins = new[] - /// { - /// "https://example.com", - /// }, - /// RequireProofOfPossession = false, - /// GrantTypes = new[] - /// { - /// "authorization_code", - /// "http://auth0.com/oauth/grant-type/password-realm", - /// "implicit", - /// "password", - /// "refresh_token", - /// }, - /// ClientMetadata = - /// { - /// { "foo", "zoo" }, - /// }, - /// JwtConfiguration = new Auth0.Inputs.ClientJwtConfigurationArgs - /// { - /// LifetimeInSeconds = 300, - /// SecretEncoded = true, - /// Alg = "RS256", - /// Scopes = - /// { - /// { "foo", "bar" }, - /// }, - /// }, - /// RefreshToken = new Auth0.Inputs.ClientRefreshTokenArgs - /// { - /// Leeway = 0, - /// TokenLifetime = 2592000, - /// RotationType = "rotating", - /// ExpirationType = "expiring", - /// }, - /// Mobile = new Auth0.Inputs.ClientMobileArgs - /// { - /// Ios = new Auth0.Inputs.ClientMobileIosArgs - /// { - /// TeamId = "9JA89QQLNQ", - /// AppBundleIdentifier = "com.my.bundle.id", - /// }, - /// }, - /// Addons = new Auth0.Inputs.ClientAddonsArgs - /// { - /// Samlp = new Auth0.Inputs.ClientAddonsSamlpArgs - /// { - /// Audience = "https://example.com/saml", - /// Issuer = "https://example.com", - /// Mappings = - /// { - /// { "email", "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress" }, - /// { "name", "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name" }, - /// }, - /// CreateUpnClaim = false, - /// PassthroughClaimsWithNoMapping = false, - /// MapUnknownClaimsAsIs = false, - /// MapIdentities = false, - /// NameIdentifierFormat = "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent", - /// NameIdentifierProbes = new[] - /// { - /// "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress", - /// }, - /// SigningCert = @"-----BEGIN PUBLIC KEY----- - /// MIGf...bpP/t3 - /// +JGNGIRMj1hF1rnb6QIDAQAB - /// -----END PUBLIC KEY----- - /// ", - /// }, - /// }, - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// This resource can be imported by specifying the client ID. diff --git a/sdk/dotnet/Connection.cs b/sdk/dotnet/Connection.cs index 77927c06..452f61b6 100644 --- a/sdk/dotnet/Connection.cs +++ b/sdk/dotnet/Connection.cs @@ -660,6 +660,8 @@ namespace Pulumi.Auth0 /// SigningCert = "<signing-certificate>", /// SignInEndpoint = "https://saml.provider/sign_in", /// SignOutEndpoint = "https://saml.provider/sign_out", + /// GlobalTokenRevocationJwtIss = "issuer.example.com", + /// GlobalTokenRevocationJwtSub = "user123", /// DisableSignOut = true, /// StrategyVersion = 2, /// TenantDomain = "example.com", diff --git a/sdk/dotnet/GetTokenExchangeProfile.cs b/sdk/dotnet/GetTokenExchangeProfile.cs index 6428f731..b485eeca 100644 --- a/sdk/dotnet/GetTokenExchangeProfile.cs +++ b/sdk/dotnet/GetTokenExchangeProfile.cs @@ -13,18 +13,75 @@ public static class GetTokenExchangeProfile { /// /// Data source to retrieve a specific Auth0 Token Exchange Profile by `id` + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Auth0 = Pulumi.Auth0; + /// + /// return await Deployment.RunAsync(() => + /// { + /// // An Auth0 Token Exchange Profile loaded using its ID. + /// var myProfile = Auth0.GetTokenExchangeProfile.Invoke(new() + /// { + /// Id = "tep_Tnvl88SKv98TkMmr", + /// }); + /// + /// }); + /// ``` /// public static Task InvokeAsync(GetTokenExchangeProfileArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("auth0:index/getTokenExchangeProfile:getTokenExchangeProfile", args ?? new GetTokenExchangeProfileArgs(), options.WithDefaults()); /// /// Data source to retrieve a specific Auth0 Token Exchange Profile by `id` + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Auth0 = Pulumi.Auth0; + /// + /// return await Deployment.RunAsync(() => + /// { + /// // An Auth0 Token Exchange Profile loaded using its ID. + /// var myProfile = Auth0.GetTokenExchangeProfile.Invoke(new() + /// { + /// Id = "tep_Tnvl88SKv98TkMmr", + /// }); + /// + /// }); + /// ``` /// public static Output Invoke(GetTokenExchangeProfileInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("auth0:index/getTokenExchangeProfile:getTokenExchangeProfile", args ?? new GetTokenExchangeProfileInvokeArgs(), options.WithDefaults()); /// /// Data source to retrieve a specific Auth0 Token Exchange Profile by `id` + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Auth0 = Pulumi.Auth0; + /// + /// return await Deployment.RunAsync(() => + /// { + /// // An Auth0 Token Exchange Profile loaded using its ID. + /// var myProfile = Auth0.GetTokenExchangeProfile.Invoke(new() + /// { + /// Id = "tep_Tnvl88SKv98TkMmr", + /// }); + /// + /// }); + /// ``` /// public static Output Invoke(GetTokenExchangeProfileInvokeArgs args, InvokeOutputOptions options) => global::Pulumi.Deployment.Instance.Invoke("auth0:index/getTokenExchangeProfile:getTokenExchangeProfile", args ?? new GetTokenExchangeProfileInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/GetUser.cs b/sdk/dotnet/GetUser.cs index 074f9d84..21ffb49a 100644 --- a/sdk/dotnet/GetUser.cs +++ b/sdk/dotnet/GetUser.cs @@ -12,76 +12,19 @@ namespace Pulumi.Auth0 public static class GetUser { /// - /// Data source to retrieve a specific Auth0 user by `user_id`. - /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Auth0 = Pulumi.Auth0; - /// - /// return await Deployment.RunAsync(() => - /// { - /// // An Auth0 User loaded using its ID. - /// var myUser = Auth0.GetUser.Invoke(new() - /// { - /// UserId = "auth0|34fdr23fdsfdfsf", - /// }); - /// - /// }); - /// ``` + /// Data source to retrieve a specific Auth0 user by `user_id` or by `lucene query`. If filtered by Lucene Query, it should include sufficient filters to retrieve a unique user. /// - public static Task InvokeAsync(GetUserArgs args, InvokeOptions? options = null) + public static Task InvokeAsync(GetUserArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("auth0:index/getUser:getUser", args ?? new GetUserArgs(), options.WithDefaults()); /// - /// Data source to retrieve a specific Auth0 user by `user_id`. - /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Auth0 = Pulumi.Auth0; - /// - /// return await Deployment.RunAsync(() => - /// { - /// // An Auth0 User loaded using its ID. - /// var myUser = Auth0.GetUser.Invoke(new() - /// { - /// UserId = "auth0|34fdr23fdsfdfsf", - /// }); - /// - /// }); - /// ``` + /// Data source to retrieve a specific Auth0 user by `user_id` or by `lucene query`. If filtered by Lucene Query, it should include sufficient filters to retrieve a unique user. /// - public static Output Invoke(GetUserInvokeArgs args, InvokeOptions? options = null) + public static Output Invoke(GetUserInvokeArgs? args = null, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("auth0:index/getUser:getUser", args ?? new GetUserInvokeArgs(), options.WithDefaults()); /// - /// Data source to retrieve a specific Auth0 user by `user_id`. - /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Auth0 = Pulumi.Auth0; - /// - /// return await Deployment.RunAsync(() => - /// { - /// // An Auth0 User loaded using its ID. - /// var myUser = Auth0.GetUser.Invoke(new() - /// { - /// UserId = "auth0|34fdr23fdsfdfsf", - /// }); - /// - /// }); - /// ``` + /// Data source to retrieve a specific Auth0 user by `user_id` or by `lucene query`. If filtered by Lucene Query, it should include sufficient filters to retrieve a unique user. /// public static Output Invoke(GetUserInvokeArgs args, InvokeOutputOptions options) => global::Pulumi.Deployment.Instance.Invoke("auth0:index/getUser:getUser", args ?? new GetUserInvokeArgs(), options.WithDefaults()); @@ -90,11 +33,17 @@ public static Output Invoke(GetUserInvokeArgs args, InvokeOutputO public sealed class GetUserArgs : global::Pulumi.InvokeArgs { + /// + /// Lucene Query for retrieving a user. + /// + [Input("query")] + public string? Query { get; set; } + /// /// ID of the user. /// - [Input("userId", required: true)] - public string UserId { get; set; } = null!; + [Input("userId")] + public string? UserId { get; set; } public GetUserArgs() { @@ -104,11 +53,17 @@ public GetUserArgs() public sealed class GetUserInvokeArgs : global::Pulumi.InvokeArgs { + /// + /// Lucene Query for retrieving a user. + /// + [Input("query")] + public Input? Query { get; set; } + /// /// ID of the user. /// - [Input("userId", required: true)] - public Input UserId { get; set; } = null!; + [Input("userId")] + public Input? UserId { get; set; } public GetUserInvokeArgs() { @@ -181,13 +136,17 @@ public sealed class GetUserResult /// public readonly string Picture; /// + /// Lucene Query for retrieving a user. + /// + public readonly string? Query; + /// /// Set of IDs of roles assigned to the user. /// public readonly ImmutableArray Roles; /// /// ID of the user. /// - public readonly string UserId; + public readonly string? UserId; /// /// Custom fields that store info about the user that does not impact a user's core functionality. Examples include work address, home address, and user preferences. /// @@ -233,9 +192,11 @@ private GetUserResult( string picture, + string? query, + ImmutableArray roles, - string userId, + string? userId, string userMetadata, @@ -258,6 +219,7 @@ private GetUserResult( PhoneNumber = phoneNumber; PhoneVerified = phoneVerified; Picture = picture; + Query = query; Roles = roles; UserId = userId; UserMetadata = userMetadata; diff --git a/sdk/dotnet/Inputs/BrandingThemeColorsArgs.cs b/sdk/dotnet/Inputs/BrandingThemeColorsArgs.cs index 7c1794d6..60474fe0 100644 --- a/sdk/dotnet/Inputs/BrandingThemeColorsArgs.cs +++ b/sdk/dotnet/Inputs/BrandingThemeColorsArgs.cs @@ -30,6 +30,12 @@ public sealed class BrandingThemeColorsArgs : global::Pulumi.ResourceArgs [Input("bodyText")] public Input? BodyText { get; set; } + /// + /// Captcha Widget Theme. + /// + [Input("captchaWidgetTheme")] + public Input? CaptchaWidgetTheme { get; set; } + /// /// Error. Defaults to `#d03c38`. /// diff --git a/sdk/dotnet/Inputs/BrandingThemeColorsGetArgs.cs b/sdk/dotnet/Inputs/BrandingThemeColorsGetArgs.cs index 7abfca31..2c407641 100644 --- a/sdk/dotnet/Inputs/BrandingThemeColorsGetArgs.cs +++ b/sdk/dotnet/Inputs/BrandingThemeColorsGetArgs.cs @@ -30,6 +30,12 @@ public sealed class BrandingThemeColorsGetArgs : global::Pulumi.ResourceArgs [Input("bodyText")] public Input? BodyText { get; set; } + /// + /// Captcha Widget Theme. + /// + [Input("captchaWidgetTheme")] + public Input? CaptchaWidgetTheme { get; set; } + /// /// Error. Defaults to `#d03c38`. /// diff --git a/sdk/dotnet/Inputs/ClientNativeSocialLoginArgs.cs b/sdk/dotnet/Inputs/ClientNativeSocialLoginArgs.cs index 31be2751..c324f4dd 100644 --- a/sdk/dotnet/Inputs/ClientNativeSocialLoginArgs.cs +++ b/sdk/dotnet/Inputs/ClientNativeSocialLoginArgs.cs @@ -18,6 +18,9 @@ public sealed class ClientNativeSocialLoginArgs : global::Pulumi.ResourceArgs [Input("facebook")] public Input? Facebook { get; set; } + [Input("google")] + public Input? Google { get; set; } + public ClientNativeSocialLoginArgs() { } diff --git a/sdk/dotnet/Inputs/ClientNativeSocialLoginGetArgs.cs b/sdk/dotnet/Inputs/ClientNativeSocialLoginGetArgs.cs index 6d9c31ba..22433c3e 100644 --- a/sdk/dotnet/Inputs/ClientNativeSocialLoginGetArgs.cs +++ b/sdk/dotnet/Inputs/ClientNativeSocialLoginGetArgs.cs @@ -18,6 +18,9 @@ public sealed class ClientNativeSocialLoginGetArgs : global::Pulumi.ResourceArgs [Input("facebook")] public Input? Facebook { get; set; } + [Input("google")] + public Input? Google { get; set; } + public ClientNativeSocialLoginGetArgs() { } diff --git a/sdk/dotnet/Inputs/ClientNativeSocialLoginGoogleArgs.cs b/sdk/dotnet/Inputs/ClientNativeSocialLoginGoogleArgs.cs new file mode 100644 index 00000000..f413f3ec --- /dev/null +++ b/sdk/dotnet/Inputs/ClientNativeSocialLoginGoogleArgs.cs @@ -0,0 +1,23 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Auth0.Inputs +{ + + public sealed class ClientNativeSocialLoginGoogleArgs : global::Pulumi.ResourceArgs + { + [Input("enabled")] + public Input? Enabled { get; set; } + + public ClientNativeSocialLoginGoogleArgs() + { + } + public static new ClientNativeSocialLoginGoogleArgs Empty => new ClientNativeSocialLoginGoogleArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ClientNativeSocialLoginGoogleGetArgs.cs b/sdk/dotnet/Inputs/ClientNativeSocialLoginGoogleGetArgs.cs new file mode 100644 index 00000000..375e6ae4 --- /dev/null +++ b/sdk/dotnet/Inputs/ClientNativeSocialLoginGoogleGetArgs.cs @@ -0,0 +1,23 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Auth0.Inputs +{ + + public sealed class ClientNativeSocialLoginGoogleGetArgs : global::Pulumi.ResourceArgs + { + [Input("enabled")] + public Input? Enabled { get; set; } + + public ClientNativeSocialLoginGoogleGetArgs() + { + } + public static new ClientNativeSocialLoginGoogleGetArgs Empty => new ClientNativeSocialLoginGoogleGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ConnectionOptionsArgs.cs b/sdk/dotnet/Inputs/ConnectionOptionsArgs.cs index ab80320e..6331f514 100644 --- a/sdk/dotnet/Inputs/ConnectionOptionsArgs.cs +++ b/sdk/dotnet/Inputs/ConnectionOptionsArgs.cs @@ -278,6 +278,18 @@ public InputList DomainAliases [Input("gatewayUrl")] public Input? GatewayUrl { get; set; } + /// + /// Specifies the issuer of the JWT used for global token revocation for the SAML connection. + /// + [Input("globalTokenRevocationJwtIss")] + public Input? GlobalTokenRevocationJwtIss { get; set; } + + /// + /// Specifies the subject of the JWT used for global token revocation for the SAML connection. + /// + [Input("globalTokenRevocationJwtSub")] + public Input? GlobalTokenRevocationJwtSub { get; set; } + /// /// Icon URL. /// diff --git a/sdk/dotnet/Inputs/ConnectionOptionsGetArgs.cs b/sdk/dotnet/Inputs/ConnectionOptionsGetArgs.cs index 21128233..cbddfb0d 100644 --- a/sdk/dotnet/Inputs/ConnectionOptionsGetArgs.cs +++ b/sdk/dotnet/Inputs/ConnectionOptionsGetArgs.cs @@ -278,6 +278,18 @@ public InputList DomainAliases [Input("gatewayUrl")] public Input? GatewayUrl { get; set; } + /// + /// Specifies the issuer of the JWT used for global token revocation for the SAML connection. + /// + [Input("globalTokenRevocationJwtIss")] + public Input? GlobalTokenRevocationJwtIss { get; set; } + + /// + /// Specifies the subject of the JWT used for global token revocation for the SAML connection. + /// + [Input("globalTokenRevocationJwtSub")] + public Input? GlobalTokenRevocationJwtSub { get; set; } + /// /// Icon URL. /// diff --git a/sdk/dotnet/Inputs/GetPromptScreenPartialsScreenPartialInsertionPoint.cs b/sdk/dotnet/Inputs/GetPromptScreenPartialsScreenPartialInsertionPoint.cs index c9f119ea..daddc0d1 100644 --- a/sdk/dotnet/Inputs/GetPromptScreenPartialsScreenPartialInsertionPoint.cs +++ b/sdk/dotnet/Inputs/GetPromptScreenPartialsScreenPartialInsertionPoint.cs @@ -12,6 +12,12 @@ namespace Pulumi.Auth0.Inputs public sealed class GetPromptScreenPartialsScreenPartialInsertionPointArgs : global::Pulumi.InvokeArgs { + /// + /// Content that goes inside the form + /// + [Input("formContent", required: true)] + public string FormContent { get; set; } = null!; + /// /// Content that goes at the end of the form. /// diff --git a/sdk/dotnet/Inputs/GetPromptScreenPartialsScreenPartialInsertionPointArgs.cs b/sdk/dotnet/Inputs/GetPromptScreenPartialsScreenPartialInsertionPointArgs.cs index 87a2d75b..fa2f1fd4 100644 --- a/sdk/dotnet/Inputs/GetPromptScreenPartialsScreenPartialInsertionPointArgs.cs +++ b/sdk/dotnet/Inputs/GetPromptScreenPartialsScreenPartialInsertionPointArgs.cs @@ -12,6 +12,12 @@ namespace Pulumi.Auth0.Inputs public sealed class GetPromptScreenPartialsScreenPartialInsertionPointInputArgs : global::Pulumi.ResourceArgs { + /// + /// Content that goes inside the form + /// + [Input("formContent", required: true)] + public Input FormContent { get; set; } = null!; + /// /// Content that goes at the end of the form. /// diff --git a/sdk/dotnet/Inputs/PromptScreenPartialInsertionPointsArgs.cs b/sdk/dotnet/Inputs/PromptScreenPartialInsertionPointsArgs.cs index 41efb941..4ca0c33a 100644 --- a/sdk/dotnet/Inputs/PromptScreenPartialInsertionPointsArgs.cs +++ b/sdk/dotnet/Inputs/PromptScreenPartialInsertionPointsArgs.cs @@ -12,6 +12,12 @@ namespace Pulumi.Auth0.Inputs public sealed class PromptScreenPartialInsertionPointsArgs : global::Pulumi.ResourceArgs { + /// + /// Content that goes inside the form + /// + [Input("formContent")] + public Input? FormContent { get; set; } + /// /// Content that goes at the end of the form. /// diff --git a/sdk/dotnet/Inputs/PromptScreenPartialInsertionPointsGetArgs.cs b/sdk/dotnet/Inputs/PromptScreenPartialInsertionPointsGetArgs.cs index a9375f0a..ab8d4e72 100644 --- a/sdk/dotnet/Inputs/PromptScreenPartialInsertionPointsGetArgs.cs +++ b/sdk/dotnet/Inputs/PromptScreenPartialInsertionPointsGetArgs.cs @@ -12,6 +12,12 @@ namespace Pulumi.Auth0.Inputs public sealed class PromptScreenPartialInsertionPointsGetArgs : global::Pulumi.ResourceArgs { + /// + /// Content that goes inside the form + /// + [Input("formContent")] + public Input? FormContent { get; set; } + /// /// Content that goes at the end of the form. /// diff --git a/sdk/dotnet/Inputs/PromptScreenPartialsScreenPartialInsertionPointsArgs.cs b/sdk/dotnet/Inputs/PromptScreenPartialsScreenPartialInsertionPointsArgs.cs index 8a2863aa..aeed7cd2 100644 --- a/sdk/dotnet/Inputs/PromptScreenPartialsScreenPartialInsertionPointsArgs.cs +++ b/sdk/dotnet/Inputs/PromptScreenPartialsScreenPartialInsertionPointsArgs.cs @@ -12,6 +12,12 @@ namespace Pulumi.Auth0.Inputs public sealed class PromptScreenPartialsScreenPartialInsertionPointsArgs : global::Pulumi.ResourceArgs { + /// + /// Content that goes inside the form + /// + [Input("formContent")] + public Input? FormContent { get; set; } + /// /// Content that goes at the end of the form. /// diff --git a/sdk/dotnet/Inputs/PromptScreenPartialsScreenPartialInsertionPointsGetArgs.cs b/sdk/dotnet/Inputs/PromptScreenPartialsScreenPartialInsertionPointsGetArgs.cs index 25c68cc0..71350df4 100644 --- a/sdk/dotnet/Inputs/PromptScreenPartialsScreenPartialInsertionPointsGetArgs.cs +++ b/sdk/dotnet/Inputs/PromptScreenPartialsScreenPartialInsertionPointsGetArgs.cs @@ -12,6 +12,12 @@ namespace Pulumi.Auth0.Inputs public sealed class PromptScreenPartialsScreenPartialInsertionPointsGetArgs : global::Pulumi.ResourceArgs { + /// + /// Content that goes inside the form + /// + [Input("formContent")] + public Input? FormContent { get; set; } + /// /// Content that goes at the end of the form. /// diff --git a/sdk/dotnet/LogStream.cs b/sdk/dotnet/LogStream.cs index b3975933..1212bb85 100644 --- a/sdk/dotnet/LogStream.cs +++ b/sdk/dotnet/LogStream.cs @@ -12,6 +12,9 @@ namespace Pulumi.Auth0 /// /// With this resource, you can manage your Auth0 log streams. /// + /// !> isPriority is a field that can be set while the resource is being created. + /// This cannot be updated once set. Updating the value might result in a noisy plan. + /// /// ## Example Usage /// /// ```csharp @@ -94,6 +97,12 @@ public partial class LogStream : global::Pulumi.CustomResource [Output("filters")] public Output>> Filters { get; private set; } = null!; + /// + /// Set True for priority log streams, False for non-priority + /// + [Output("isPriority")] + public Output IsPriority { get; private set; } = null!; + /// /// Name of the log stream. /// @@ -176,6 +185,12 @@ public InputList> Filters set => _filters = value; } + /// + /// Set True for priority log streams, False for non-priority + /// + [Input("isPriority")] + public Input? IsPriority { get; set; } + /// /// Name of the log stream. /// @@ -220,6 +235,12 @@ public InputList> Filters set => _filters = value; } + /// + /// Set True for priority log streams, False for non-priority + /// + [Input("isPriority")] + public Input? IsPriority { get; set; } + /// /// Name of the log stream. /// diff --git a/sdk/dotnet/Outputs/BrandingThemeColors.cs b/sdk/dotnet/Outputs/BrandingThemeColors.cs index e6fbccdc..c47cf7e7 100644 --- a/sdk/dotnet/Outputs/BrandingThemeColors.cs +++ b/sdk/dotnet/Outputs/BrandingThemeColors.cs @@ -26,6 +26,10 @@ public sealed class BrandingThemeColors /// public readonly string? BodyText; /// + /// Captcha Widget Theme. + /// + public readonly string? CaptchaWidgetTheme; + /// /// Error. Defaults to `#d03c38`. /// public readonly string? Error; @@ -94,6 +98,8 @@ private BrandingThemeColors( string? bodyText, + string? captchaWidgetTheme, + string? error, string? header, @@ -127,6 +133,7 @@ private BrandingThemeColors( BaseFocusColor = baseFocusColor; BaseHoverColor = baseHoverColor; BodyText = bodyText; + CaptchaWidgetTheme = captchaWidgetTheme; Error = error; Header = header; Icons = icons; diff --git a/sdk/dotnet/Outputs/ClientNativeSocialLogin.cs b/sdk/dotnet/Outputs/ClientNativeSocialLogin.cs index 339d3fc5..c1922a0c 100644 --- a/sdk/dotnet/Outputs/ClientNativeSocialLogin.cs +++ b/sdk/dotnet/Outputs/ClientNativeSocialLogin.cs @@ -15,15 +15,19 @@ public sealed class ClientNativeSocialLogin { public readonly Outputs.ClientNativeSocialLoginApple? Apple; public readonly Outputs.ClientNativeSocialLoginFacebook? Facebook; + public readonly Outputs.ClientNativeSocialLoginGoogle? Google; [OutputConstructor] private ClientNativeSocialLogin( Outputs.ClientNativeSocialLoginApple? apple, - Outputs.ClientNativeSocialLoginFacebook? facebook) + Outputs.ClientNativeSocialLoginFacebook? facebook, + + Outputs.ClientNativeSocialLoginGoogle? google) { Apple = apple; Facebook = facebook; + Google = google; } } } diff --git a/sdk/dotnet/Outputs/ClientNativeSocialLoginGoogle.cs b/sdk/dotnet/Outputs/ClientNativeSocialLoginGoogle.cs new file mode 100644 index 00000000..9c6c94d1 --- /dev/null +++ b/sdk/dotnet/Outputs/ClientNativeSocialLoginGoogle.cs @@ -0,0 +1,24 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Auth0.Outputs +{ + + [OutputType] + public sealed class ClientNativeSocialLoginGoogle + { + public readonly bool? Enabled; + + [OutputConstructor] + private ClientNativeSocialLoginGoogle(bool? enabled) + { + Enabled = enabled; + } + } +} diff --git a/sdk/dotnet/Outputs/ConnectionOptions.cs b/sdk/dotnet/Outputs/ConnectionOptions.cs index ec218638..a18ae0d7 100644 --- a/sdk/dotnet/Outputs/ConnectionOptions.cs +++ b/sdk/dotnet/Outputs/ConnectionOptions.cs @@ -154,6 +154,14 @@ public sealed class ConnectionOptions /// public readonly string? GatewayUrl; /// + /// Specifies the issuer of the JWT used for global token revocation for the SAML connection. + /// + public readonly string? GlobalTokenRevocationJwtIss; + /// + /// Specifies the subject of the JWT used for global token revocation for the SAML connection. + /// + public readonly string? GlobalTokenRevocationJwtSub; + /// /// Icon URL. /// public readonly string? IconUrl; @@ -462,6 +470,10 @@ private ConnectionOptions( string? gatewayUrl, + string? globalTokenRevocationJwtIss, + + string? globalTokenRevocationJwtSub, + string? iconUrl, string? identityApi, @@ -615,6 +627,8 @@ private ConnectionOptions( From = from; GatewayAuthentication = gatewayAuthentication; GatewayUrl = gatewayUrl; + GlobalTokenRevocationJwtIss = globalTokenRevocationJwtIss; + GlobalTokenRevocationJwtSub = globalTokenRevocationJwtSub; IconUrl = iconUrl; IdentityApi = identityApi; IdpInitiated = idpInitiated; diff --git a/sdk/dotnet/Outputs/GetBrandingThemeColorResult.cs b/sdk/dotnet/Outputs/GetBrandingThemeColorResult.cs index 2bfdd073..daa9e0cc 100644 --- a/sdk/dotnet/Outputs/GetBrandingThemeColorResult.cs +++ b/sdk/dotnet/Outputs/GetBrandingThemeColorResult.cs @@ -26,6 +26,10 @@ public sealed class GetBrandingThemeColorResult /// public readonly string BodyText; /// + /// Captcha Widget Theme. + /// + public readonly string CaptchaWidgetTheme; + /// /// Error. Defaults to `#d03c38`. /// public readonly string Error; @@ -94,6 +98,8 @@ private GetBrandingThemeColorResult( string bodyText, + string captchaWidgetTheme, + string error, string header, @@ -127,6 +133,7 @@ private GetBrandingThemeColorResult( BaseFocusColor = baseFocusColor; BaseHoverColor = baseHoverColor; BodyText = bodyText; + CaptchaWidgetTheme = captchaWidgetTheme; Error = error; Header = header; Icons = icons; diff --git a/sdk/dotnet/Outputs/GetClientNativeSocialLoginGoogleResult.cs b/sdk/dotnet/Outputs/GetClientNativeSocialLoginGoogleResult.cs new file mode 100644 index 00000000..2b6ad3dd --- /dev/null +++ b/sdk/dotnet/Outputs/GetClientNativeSocialLoginGoogleResult.cs @@ -0,0 +1,24 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Auth0.Outputs +{ + + [OutputType] + public sealed class GetClientNativeSocialLoginGoogleResult + { + public readonly bool Enabled; + + [OutputConstructor] + private GetClientNativeSocialLoginGoogleResult(bool enabled) + { + Enabled = enabled; + } + } +} diff --git a/sdk/dotnet/Outputs/GetClientNativeSocialLoginResult.cs b/sdk/dotnet/Outputs/GetClientNativeSocialLoginResult.cs index 9e633698..18a8614a 100644 --- a/sdk/dotnet/Outputs/GetClientNativeSocialLoginResult.cs +++ b/sdk/dotnet/Outputs/GetClientNativeSocialLoginResult.cs @@ -15,15 +15,19 @@ public sealed class GetClientNativeSocialLoginResult { public readonly ImmutableArray Apples; public readonly ImmutableArray Facebooks; + public readonly ImmutableArray Googles; [OutputConstructor] private GetClientNativeSocialLoginResult( ImmutableArray apples, - ImmutableArray facebooks) + ImmutableArray facebooks, + + ImmutableArray googles) { Apples = apples; Facebooks = facebooks; + Googles = googles; } } } diff --git a/sdk/dotnet/Outputs/GetConnectionOptionResult.cs b/sdk/dotnet/Outputs/GetConnectionOptionResult.cs index 62eb0a49..2cb278af 100644 --- a/sdk/dotnet/Outputs/GetConnectionOptionResult.cs +++ b/sdk/dotnet/Outputs/GetConnectionOptionResult.cs @@ -154,6 +154,14 @@ public sealed class GetConnectionOptionResult /// public readonly string GatewayUrl; /// + /// Specifies the issuer of the JWT used for global token revocation for the SAML connection. + /// + public readonly string GlobalTokenRevocationJwtIss; + /// + /// Specifies the subject of the JWT used for global token revocation for the SAML connection. + /// + public readonly string GlobalTokenRevocationJwtSub; + /// /// Icon URL. /// public readonly string IconUrl; @@ -462,6 +470,10 @@ private GetConnectionOptionResult( string gatewayUrl, + string globalTokenRevocationJwtIss, + + string globalTokenRevocationJwtSub, + string iconUrl, string identityApi, @@ -615,6 +627,8 @@ private GetConnectionOptionResult( From = from; GatewayAuthentications = gatewayAuthentications; GatewayUrl = gatewayUrl; + GlobalTokenRevocationJwtIss = globalTokenRevocationJwtIss; + GlobalTokenRevocationJwtSub = globalTokenRevocationJwtSub; IconUrl = iconUrl; IdentityApi = identityApi; IdpInitiateds = idpInitiateds; diff --git a/sdk/dotnet/Outputs/GetPromptScreenPartialsScreenPartialInsertionPointResult.cs b/sdk/dotnet/Outputs/GetPromptScreenPartialsScreenPartialInsertionPointResult.cs index aceaed02..89aeecc3 100644 --- a/sdk/dotnet/Outputs/GetPromptScreenPartialsScreenPartialInsertionPointResult.cs +++ b/sdk/dotnet/Outputs/GetPromptScreenPartialsScreenPartialInsertionPointResult.cs @@ -13,6 +13,10 @@ namespace Pulumi.Auth0.Outputs [OutputType] public sealed class GetPromptScreenPartialsScreenPartialInsertionPointResult { + /// + /// Content that goes inside the form + /// + public readonly string FormContent; /// /// Content that goes at the end of the form. /// @@ -40,6 +44,8 @@ public sealed class GetPromptScreenPartialsScreenPartialInsertionPointResult [OutputConstructor] private GetPromptScreenPartialsScreenPartialInsertionPointResult( + string formContent, + string formContentEnd, string formContentStart, @@ -52,6 +58,7 @@ private GetPromptScreenPartialsScreenPartialInsertionPointResult( string secondaryActionsStart) { + FormContent = formContent; FormContentEnd = formContentEnd; FormContentStart = formContentStart; FormFooterEnd = formFooterEnd; diff --git a/sdk/dotnet/Outputs/PromptScreenPartialInsertionPoints.cs b/sdk/dotnet/Outputs/PromptScreenPartialInsertionPoints.cs index f209d053..0da370b2 100644 --- a/sdk/dotnet/Outputs/PromptScreenPartialInsertionPoints.cs +++ b/sdk/dotnet/Outputs/PromptScreenPartialInsertionPoints.cs @@ -13,6 +13,10 @@ namespace Pulumi.Auth0.Outputs [OutputType] public sealed class PromptScreenPartialInsertionPoints { + /// + /// Content that goes inside the form + /// + public readonly string? FormContent; /// /// Content that goes at the end of the form. /// @@ -40,6 +44,8 @@ public sealed class PromptScreenPartialInsertionPoints [OutputConstructor] private PromptScreenPartialInsertionPoints( + string? formContent, + string? formContentEnd, string? formContentStart, @@ -52,6 +58,7 @@ private PromptScreenPartialInsertionPoints( string? secondaryActionsStart) { + FormContent = formContent; FormContentEnd = formContentEnd; FormContentStart = formContentStart; FormFooterEnd = formFooterEnd; diff --git a/sdk/dotnet/Outputs/PromptScreenPartialsScreenPartialInsertionPoints.cs b/sdk/dotnet/Outputs/PromptScreenPartialsScreenPartialInsertionPoints.cs index 21bdcee4..d24a1f1c 100644 --- a/sdk/dotnet/Outputs/PromptScreenPartialsScreenPartialInsertionPoints.cs +++ b/sdk/dotnet/Outputs/PromptScreenPartialsScreenPartialInsertionPoints.cs @@ -13,6 +13,10 @@ namespace Pulumi.Auth0.Outputs [OutputType] public sealed class PromptScreenPartialsScreenPartialInsertionPoints { + /// + /// Content that goes inside the form + /// + public readonly string? FormContent; /// /// Content that goes at the end of the form. /// @@ -40,6 +44,8 @@ public sealed class PromptScreenPartialsScreenPartialInsertionPoints [OutputConstructor] private PromptScreenPartialsScreenPartialInsertionPoints( + string? formContent, + string? formContentEnd, string? formContentStart, @@ -52,6 +58,7 @@ private PromptScreenPartialsScreenPartialInsertionPoints( string? secondaryActionsStart) { + FormContent = formContent; FormContentEnd = formContentEnd; FormContentStart = formContentStart; FormFooterEnd = formFooterEnd; diff --git a/sdk/dotnet/PromptPartials.cs b/sdk/dotnet/PromptPartials.cs index fabe03f8..0cf40de7 100644 --- a/sdk/dotnet/PromptPartials.cs +++ b/sdk/dotnet/PromptPartials.cs @@ -79,7 +79,7 @@ public partial class PromptPartials : global::Pulumi.CustomResource public Output FormFooterStart { get; private set; } = null!; /// - /// The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + /// The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. /// [Output("prompt")] public Output Prompt { get; private set; } = null!; @@ -167,7 +167,7 @@ public sealed class PromptPartialsArgs : global::Pulumi.ResourceArgs public Input? FormFooterStart { get; set; } /// - /// The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + /// The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. /// [Input("prompt", required: true)] public Input Prompt { get; set; } = null!; @@ -217,7 +217,7 @@ public sealed class PromptPartialsState : global::Pulumi.ResourceArgs public Input? FormFooterStart { get; set; } /// - /// The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + /// The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. /// [Input("prompt")] public Input? Prompt { get; set; } diff --git a/sdk/dotnet/PromptScreenPartial.cs b/sdk/dotnet/PromptScreenPartial.cs index 38c6b102..ce26fc6d 100644 --- a/sdk/dotnet/PromptScreenPartial.cs +++ b/sdk/dotnet/PromptScreenPartial.cs @@ -38,6 +38,16 @@ namespace Pulumi.Auth0 /// }, /// }); /// + /// var customized_consent = new Auth0.PromptScreenPartial("customized-consent", new() + /// { + /// PromptType = "customized-consent", + /// ScreenName = "customized-consent", + /// InsertionPoints = new Auth0.Inputs.PromptScreenPartialInsertionPointsArgs + /// { + /// FormContent = "<div>Form Content</div>", + /// }, + /// }); + /// /// }); /// ``` /// @@ -71,7 +81,7 @@ public partial class PromptScreenPartial : global::Pulumi.CustomResource public Output InsertionPoints { get; private set; } = null!; /// - /// The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + /// The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. /// [Output("promptType")] public Output PromptType { get; private set; } = null!; @@ -135,7 +145,7 @@ public sealed class PromptScreenPartialArgs : global::Pulumi.ResourceArgs public Input? InsertionPoints { get; set; } /// - /// The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + /// The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. /// [Input("promptType", required: true)] public Input PromptType { get; set; } = null!; @@ -161,7 +171,7 @@ public sealed class PromptScreenPartialState : global::Pulumi.ResourceArgs public Input? InsertionPoints { get; set; } /// - /// The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + /// The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. /// [Input("promptType")] public Input? PromptType { get; set; } diff --git a/sdk/dotnet/PromptScreenPartials.cs b/sdk/dotnet/PromptScreenPartials.cs index 6e719858..2f513923 100644 --- a/sdk/dotnet/PromptScreenPartials.cs +++ b/sdk/dotnet/PromptScreenPartials.cs @@ -53,6 +53,22 @@ namespace Pulumi.Auth0 /// }, /// }); /// + /// var customized_consent = new Auth0.PromptScreenPartials("customized-consent", new() + /// { + /// PromptType = "customized-consent", + /// ScreenPartials = new[] + /// { + /// new Auth0.Inputs.PromptScreenPartialsScreenPartialArgs + /// { + /// ScreenName = "customized-consent", + /// InsertionPoints = new Auth0.Inputs.PromptScreenPartialsScreenPartialInsertionPointsArgs + /// { + /// FormContent = "<div>Form Content</div>", + /// }, + /// }, + /// }, + /// }); + /// /// }); /// ``` /// @@ -72,7 +88,7 @@ namespace Pulumi.Auth0 public partial class PromptScreenPartials : global::Pulumi.CustomResource { /// - /// The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + /// The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. /// [Output("promptType")] public Output PromptType { get; private set; } = null!; @@ -127,7 +143,7 @@ public static PromptScreenPartials Get(string name, Input id, PromptScre public sealed class PromptScreenPartialsArgs : global::Pulumi.ResourceArgs { /// - /// The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + /// The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. /// [Input("promptType", required: true)] public Input PromptType { get; set; } = null!; @@ -149,7 +165,7 @@ public PromptScreenPartialsArgs() public sealed class PromptScreenPartialsState : global::Pulumi.ResourceArgs { /// - /// The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + /// The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. /// [Input("promptType")] public Input? PromptType { get; set; } diff --git a/sdk/dotnet/PromptScreenRenderer.cs b/sdk/dotnet/PromptScreenRenderer.cs index 73e3851e..ee10cdd3 100644 --- a/sdk/dotnet/PromptScreenRenderer.cs +++ b/sdk/dotnet/PromptScreenRenderer.cs @@ -113,7 +113,7 @@ public partial class PromptScreenRenderer : global::Pulumi.CustomResource public Output HeadTags { get; private set; } = null!; /// - /// The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`. + /// The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`, `mfa`, `mfa-sms`, `mfa-email`, `mfa-push`. /// [Output("promptType")] public Output PromptType { get; private set; } = null!; @@ -125,7 +125,7 @@ public partial class PromptScreenRenderer : global::Pulumi.CustomResource public Output RenderingMode { get; private set; } = null!; /// - /// The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`. + /// The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`, `mfa-detect-browser-capabilities`, `mfa-enroll-result`, `mfa-begin-enroll-options`, `mfa-login-options`, `mfa-country-codes`, `mfa-sms-challenge`, `mfa-sms-enrollment`, `mfa-sms-list`, `mfa-email-challenge`, `mfa-email-list`, `mfa-push-challenge-push`, `mfa-push-enrollment-qr`, `mfa-push-list`, `mfa-push-welcome`. /// [Output("screenName")] public Output ScreenName { get; private set; } = null!; @@ -207,7 +207,7 @@ public InputList ContextConfigurations public Input? HeadTags { get; set; } /// - /// The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`. + /// The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`, `mfa`, `mfa-sms`, `mfa-email`, `mfa-push`. /// [Input("promptType", required: true)] public Input PromptType { get; set; } = null!; @@ -219,7 +219,7 @@ public InputList ContextConfigurations public Input? RenderingMode { get; set; } /// - /// The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`. + /// The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`, `mfa-detect-browser-capabilities`, `mfa-enroll-result`, `mfa-begin-enroll-options`, `mfa-login-options`, `mfa-country-codes`, `mfa-sms-challenge`, `mfa-sms-enrollment`, `mfa-sms-list`, `mfa-email-challenge`, `mfa-email-list`, `mfa-push-challenge-push`, `mfa-push-enrollment-qr`, `mfa-push-list`, `mfa-push-welcome`. /// [Input("screenName", required: true)] public Input ScreenName { get; set; } = null!; @@ -257,7 +257,7 @@ public InputList ContextConfigurations public Input? HeadTags { get; set; } /// - /// The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`. + /// The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`, `mfa`, `mfa-sms`, `mfa-email`, `mfa-push`. /// [Input("promptType")] public Input? PromptType { get; set; } @@ -269,7 +269,7 @@ public InputList ContextConfigurations public Input? RenderingMode { get; set; } /// - /// The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`. + /// The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`, `mfa-detect-browser-capabilities`, `mfa-enroll-result`, `mfa-begin-enroll-options`, `mfa-login-options`, `mfa-country-codes`, `mfa-sms-challenge`, `mfa-sms-enrollment`, `mfa-sms-list`, `mfa-email-challenge`, `mfa-email-list`, `mfa-push-challenge-push`, `mfa-push-enrollment-qr`, `mfa-push-list`, `mfa-push-welcome`. /// [Input("screenName")] public Input? ScreenName { get; set; } diff --git a/sdk/dotnet/TokenExchangeProfile.cs b/sdk/dotnet/TokenExchangeProfile.cs index b1420174..8e99a40b 100644 --- a/sdk/dotnet/TokenExchangeProfile.cs +++ b/sdk/dotnet/TokenExchangeProfile.cs @@ -11,6 +11,56 @@ namespace Pulumi.Auth0 { /// /// With this resource, you can manage Auth0 Custom Token Exchange Profiles + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Auth0 = Pulumi.Auth0; + /// + /// return await Deployment.RunAsync(() => + /// { + /// // Below action is created with custom-token-exchange as supported_triggers + /// // This action is then linked using the action_id param to the token-exchange profile + /// var myAction = new Auth0.Action("my_action", new() + /// { + /// Name = "TokenExchange-Action", + /// Code = @"exports.onContinuePostLogin = async (event, api) => { + /// console.log(""foo"") + /// };"" + /// ", + /// Deploy = true, + /// SupportedTriggers = new Auth0.Inputs.ActionSupportedTriggersArgs + /// { + /// Id = "custom-token-exchange", + /// Version = "v1", + /// }, + /// }); + /// + /// var myTokenExchangeProfile = new Auth0.TokenExchangeProfile("my_token_exchange_profile", new() + /// { + /// Name = "token-exchange-prof", + /// SubjectTokenType = "https://acme.com/cis-token", + /// ActionId = myAction.Id, + /// Type = "custom_authentication", + /// }); + /// + /// }); + /// ``` + /// + /// ## Import + /// + /// This resource can be imported using the token exchange profile ID. + /// + /// # + /// + /// Example: + /// + /// ```sh + /// $ pulumi import auth0:index/tokenExchangeProfile:TokenExchangeProfile profile "tep_XXXXXXXXXXXXXX" + /// ``` /// [Auth0ResourceType("auth0:index/tokenExchangeProfile:TokenExchangeProfile")] public partial class TokenExchangeProfile : global::Pulumi.CustomResource diff --git a/sdk/dotnet/TriggerAction.cs b/sdk/dotnet/TriggerAction.cs index 96a5c365..d33d19d1 100644 --- a/sdk/dotnet/TriggerAction.cs +++ b/sdk/dotnet/TriggerAction.cs @@ -84,7 +84,7 @@ public partial class TriggerAction : global::Pulumi.CustomResource public Output DisplayName { get; private set; } = null!; /// - /// The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + /// The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. /// [Output("trigger")] public Output Trigger { get; private set; } = null!; @@ -148,7 +148,7 @@ public sealed class TriggerActionArgs : global::Pulumi.ResourceArgs public Input? DisplayName { get; set; } /// - /// The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + /// The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. /// [Input("trigger", required: true)] public Input Trigger { get; set; } = null!; @@ -174,7 +174,7 @@ public sealed class TriggerActionState : global::Pulumi.ResourceArgs public Input? DisplayName { get; set; } /// - /// The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + /// The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. /// [Input("trigger")] public Input? Trigger { get; set; } diff --git a/sdk/dotnet/TriggerActions.cs b/sdk/dotnet/TriggerActions.cs index 44287cf8..be322857 100644 --- a/sdk/dotnet/TriggerActions.cs +++ b/sdk/dotnet/TriggerActions.cs @@ -99,7 +99,7 @@ public partial class TriggerActions : global::Pulumi.CustomResource public Output> Actions { get; private set; } = null!; /// - /// The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + /// The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. /// [Output("trigger")] public Output Trigger { get; private set; } = null!; @@ -163,7 +163,7 @@ public InputList Actions } /// - /// The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + /// The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. /// [Input("trigger", required: true)] public Input Trigger { get; set; } = null!; @@ -189,7 +189,7 @@ public InputList Actions } /// - /// The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + /// The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. /// [Input("trigger")] public Input? Trigger { get; set; } diff --git a/sdk/go/auth0/client.go b/sdk/go/auth0/client.go index 4073aab2..8b1ec46e 100644 --- a/sdk/go/auth0/client.go +++ b/sdk/go/auth0/client.go @@ -13,101 +13,6 @@ import ( // With this resource, you can set up applications that use Auth0 for authentication and configure allowed callback URLs and secrets for these applications. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-auth0/sdk/v3/go/auth0" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := auth0.NewClient(ctx, "my_client", &auth0.ClientArgs{ -// Name: pulumi.String("Application - Acceptance Test"), -// Description: pulumi.String("Test Applications Long Description"), -// AppType: pulumi.String("non_interactive"), -// ComplianceLevel: pulumi.String("none"), -// CustomLoginPageOn: pulumi.Bool(true), -// IsFirstParty: pulumi.Bool(true), -// IsTokenEndpointIpHeaderTrusted: pulumi.Bool(true), -// OidcConformant: pulumi.Bool(false), -// Callbacks: pulumi.StringArray{ -// pulumi.String("https://example.com/callback"), -// }, -// AllowedOrigins: pulumi.StringArray{ -// pulumi.String("https://example.com"), -// }, -// AllowedLogoutUrls: pulumi.StringArray{ -// pulumi.String("https://example.com"), -// }, -// WebOrigins: pulumi.StringArray{ -// pulumi.String("https://example.com"), -// }, -// RequireProofOfPossession: pulumi.Bool(false), -// GrantTypes: pulumi.StringArray{ -// pulumi.String("authorization_code"), -// pulumi.String("http://auth0.com/oauth/grant-type/password-realm"), -// pulumi.String("implicit"), -// pulumi.String("password"), -// pulumi.String("refresh_token"), -// }, -// ClientMetadata: pulumi.StringMap{ -// "foo": pulumi.String("zoo"), -// }, -// JwtConfiguration: &auth0.ClientJwtConfigurationArgs{ -// LifetimeInSeconds: pulumi.Int(300), -// SecretEncoded: pulumi.Bool(true), -// Alg: pulumi.String("RS256"), -// Scopes: pulumi.StringMap{ -// "foo": pulumi.String("bar"), -// }, -// }, -// RefreshToken: &auth0.ClientRefreshTokenArgs{ -// Leeway: pulumi.Int(0), -// TokenLifetime: pulumi.Int(2592000), -// RotationType: pulumi.String("rotating"), -// ExpirationType: pulumi.String("expiring"), -// }, -// Mobile: &auth0.ClientMobileArgs{ -// Ios: &auth0.ClientMobileIosArgs{ -// TeamId: pulumi.String("9JA89QQLNQ"), -// AppBundleIdentifier: pulumi.String("com.my.bundle.id"), -// }, -// }, -// Addons: &auth0.ClientAddonsArgs{ -// Samlp: &auth0.ClientAddonsSamlpArgs{ -// Audience: pulumi.String("https://example.com/saml"), -// Issuer: pulumi.String("https://example.com"), -// Mappings: pulumi.StringMap{ -// "email": pulumi.String("http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"), -// "name": pulumi.String("http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name"), -// }, -// CreateUpnClaim: pulumi.Bool(false), -// PassthroughClaimsWithNoMapping: pulumi.Bool(false), -// MapUnknownClaimsAsIs: pulumi.Bool(false), -// MapIdentities: pulumi.Bool(false), -// NameIdentifierFormat: pulumi.String("urn:oasis:names:tc:SAML:2.0:nameid-format:persistent"), -// NameIdentifierProbes: pulumi.StringArray{ -// pulumi.String("http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"), -// }, -// SigningCert: pulumi.String("-----BEGIN PUBLIC KEY-----\nMIGf...bpP/t3\n+JGNGIRMj1hF1rnb6QIDAQAB\n-----END PUBLIC KEY-----\n"), -// }, -// }, -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // This resource can be imported by specifying the client ID. diff --git a/sdk/go/auth0/connection.go b/sdk/go/auth0/connection.go index a5c5781a..9092be9f 100644 --- a/sdk/go/auth0/connection.go +++ b/sdk/go/auth0/connection.go @@ -724,13 +724,15 @@ import ( // Name: pulumi.String("SAML-Connection"), // Strategy: pulumi.String("samlp"), // Options: &auth0.ConnectionOptionsArgs{ -// Debug: pulumi.Bool(false), -// SigningCert: pulumi.String(""), -// SignInEndpoint: pulumi.String("https://saml.provider/sign_in"), -// SignOutEndpoint: pulumi.String("https://saml.provider/sign_out"), -// DisableSignOut: pulumi.Bool(true), -// StrategyVersion: pulumi.Int(2), -// TenantDomain: pulumi.String("example.com"), +// Debug: pulumi.Bool(false), +// SigningCert: pulumi.String(""), +// SignInEndpoint: pulumi.String("https://saml.provider/sign_in"), +// SignOutEndpoint: pulumi.String("https://saml.provider/sign_out"), +// GlobalTokenRevocationJwtIss: pulumi.String("issuer.example.com"), +// GlobalTokenRevocationJwtSub: pulumi.String("user123"), +// DisableSignOut: pulumi.Bool(true), +// StrategyVersion: pulumi.Int(2), +// TenantDomain: pulumi.String("example.com"), // DomainAliases: pulumi.StringArray{ // pulumi.String("example.com"), // pulumi.String("alias.example.com"), diff --git a/sdk/go/auth0/getTokenExchangeProfile.go b/sdk/go/auth0/getTokenExchangeProfile.go index 3fa0bff0..92ea83a5 100644 --- a/sdk/go/auth0/getTokenExchangeProfile.go +++ b/sdk/go/auth0/getTokenExchangeProfile.go @@ -12,6 +12,33 @@ import ( ) // Data source to retrieve a specific Auth0 Token Exchange Profile by `id` +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-auth0/sdk/v3/go/auth0" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// // An Auth0 Token Exchange Profile loaded using its ID. +// _, err := auth0.LookupTokenExchangeProfile(ctx, &auth0.LookupTokenExchangeProfileArgs{ +// Id: "tep_Tnvl88SKv98TkMmr", +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` func LookupTokenExchangeProfile(ctx *pulumi.Context, args *LookupTokenExchangeProfileArgs, opts ...pulumi.InvokeOption) (*LookupTokenExchangeProfileResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupTokenExchangeProfileResult diff --git a/sdk/go/auth0/getUser.go b/sdk/go/auth0/getUser.go index ab73e2e6..7c4b8673 100644 --- a/sdk/go/auth0/getUser.go +++ b/sdk/go/auth0/getUser.go @@ -11,34 +11,7 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) -// Data source to retrieve a specific Auth0 user by `userId`. -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-auth0/sdk/v3/go/auth0" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// // An Auth0 User loaded using its ID. -// _, err := auth0.LookupUser(ctx, &auth0.LookupUserArgs{ -// UserId: "auth0|34fdr23fdsfdfsf", -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` +// Data source to retrieve a specific Auth0 user by `userId` or by `lucene query`. If filtered by Lucene Query, it should include sufficient filters to retrieve a unique user. func LookupUser(ctx *pulumi.Context, args *LookupUserArgs, opts ...pulumi.InvokeOption) (*LookupUserResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupUserResult @@ -51,8 +24,10 @@ func LookupUser(ctx *pulumi.Context, args *LookupUserArgs, opts ...pulumi.Invoke // A collection of arguments for invoking getUser. type LookupUserArgs struct { + // Lucene Query for retrieving a user. + Query *string `pulumi:"query"` // ID of the user. - UserId string `pulumi:"userId"` + UserId *string `pulumi:"userId"` } // A collection of values returned by getUser. @@ -87,10 +62,12 @@ type LookupUserResult struct { PhoneVerified bool `pulumi:"phoneVerified"` // Picture of the user. This value can only be updated if the connection is a database connection (using the Auth0 store), a passwordless connection (email or sms) or has disabled 'Sync user profile attributes at each login'. For more information, see: [Configure Identity Provider Connection for User Profile Updates](https://auth0.com/docs/manage-users/user-accounts/user-profiles/configure-connection-sync-with-auth0). Picture string `pulumi:"picture"` + // Lucene Query for retrieving a user. + Query *string `pulumi:"query"` // Set of IDs of roles assigned to the user. Roles []string `pulumi:"roles"` // ID of the user. - UserId string `pulumi:"userId"` + UserId *string `pulumi:"userId"` // Custom fields that store info about the user that does not impact a user's core functionality. Examples include work address, home address, and user preferences. UserMetadata string `pulumi:"userMetadata"` // Username of the user. Only valid if the connection requires a username. @@ -110,8 +87,10 @@ func LookupUserOutput(ctx *pulumi.Context, args LookupUserOutputArgs, opts ...pu // A collection of arguments for invoking getUser. type LookupUserOutputArgs struct { + // Lucene Query for retrieving a user. + Query pulumi.StringPtrInput `pulumi:"query"` // ID of the user. - UserId pulumi.StringInput `pulumi:"userId"` + UserId pulumi.StringPtrInput `pulumi:"userId"` } func (LookupUserOutputArgs) ElementType() reflect.Type { @@ -208,14 +187,19 @@ func (o LookupUserResultOutput) Picture() pulumi.StringOutput { return o.ApplyT(func(v LookupUserResult) string { return v.Picture }).(pulumi.StringOutput) } +// Lucene Query for retrieving a user. +func (o LookupUserResultOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupUserResult) *string { return v.Query }).(pulumi.StringPtrOutput) +} + // Set of IDs of roles assigned to the user. func (o LookupUserResultOutput) Roles() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupUserResult) []string { return v.Roles }).(pulumi.StringArrayOutput) } // ID of the user. -func (o LookupUserResultOutput) UserId() pulumi.StringOutput { - return o.ApplyT(func(v LookupUserResult) string { return v.UserId }).(pulumi.StringOutput) +func (o LookupUserResultOutput) UserId() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupUserResult) *string { return v.UserId }).(pulumi.StringPtrOutput) } // Custom fields that store info about the user that does not impact a user's core functionality. Examples include work address, home address, and user preferences. diff --git a/sdk/go/auth0/logStream.go b/sdk/go/auth0/logStream.go index 851f7d80..b715928c 100644 --- a/sdk/go/auth0/logStream.go +++ b/sdk/go/auth0/logStream.go @@ -14,6 +14,9 @@ import ( // With this resource, you can manage your Auth0 log streams. // +// !> isPriority is a field that can be set while the resource is being created. +// This cannot be updated once set. Updating the value might result in a noisy plan. +// // ## Example Usage // // ```go @@ -93,6 +96,8 @@ type LogStream struct { // Only logs events matching these filters will be delivered by the stream. If omitted or empty, all events will be delivered. Filters available: `auth.ancillary.fail`, `auth.ancillary.success`, `auth.login.fail`, `auth.login.notification`, `auth.login.success`, `auth.logout.fail`, `auth.logout.success`, `auth.signup.fail`, `auth.signup.success`, `auth.silent_auth.fail`, `auth.silent_auth.success`, `auth.token_exchange.fail`, `auth.token_exchange.success`, `management.fail`, `management.success`, `system.notification`, `user.fail`, `user.notification`, `user.success`, `other`. Filters pulumi.StringMapArrayOutput `pulumi:"filters"` + // Set True for priority log streams, False for non-priority + IsPriority pulumi.BoolPtrOutput `pulumi:"isPriority"` // Name of the log stream. Name pulumi.StringOutput `pulumi:"name"` // The sink configuration for the log stream. @@ -141,6 +146,8 @@ func GetLogStream(ctx *pulumi.Context, type logStreamState struct { // Only logs events matching these filters will be delivered by the stream. If omitted or empty, all events will be delivered. Filters available: `auth.ancillary.fail`, `auth.ancillary.success`, `auth.login.fail`, `auth.login.notification`, `auth.login.success`, `auth.logout.fail`, `auth.logout.success`, `auth.signup.fail`, `auth.signup.success`, `auth.silent_auth.fail`, `auth.silent_auth.success`, `auth.token_exchange.fail`, `auth.token_exchange.success`, `management.fail`, `management.success`, `system.notification`, `user.fail`, `user.notification`, `user.success`, `other`. Filters []map[string]string `pulumi:"filters"` + // Set True for priority log streams, False for non-priority + IsPriority *bool `pulumi:"isPriority"` // Name of the log stream. Name *string `pulumi:"name"` // The sink configuration for the log stream. @@ -154,6 +161,8 @@ type logStreamState struct { type LogStreamState struct { // Only logs events matching these filters will be delivered by the stream. If omitted or empty, all events will be delivered. Filters available: `auth.ancillary.fail`, `auth.ancillary.success`, `auth.login.fail`, `auth.login.notification`, `auth.login.success`, `auth.logout.fail`, `auth.logout.success`, `auth.signup.fail`, `auth.signup.success`, `auth.silent_auth.fail`, `auth.silent_auth.success`, `auth.token_exchange.fail`, `auth.token_exchange.success`, `management.fail`, `management.success`, `system.notification`, `user.fail`, `user.notification`, `user.success`, `other`. Filters pulumi.StringMapArrayInput + // Set True for priority log streams, False for non-priority + IsPriority pulumi.BoolPtrInput // Name of the log stream. Name pulumi.StringPtrInput // The sink configuration for the log stream. @@ -171,6 +180,8 @@ func (LogStreamState) ElementType() reflect.Type { type logStreamArgs struct { // Only logs events matching these filters will be delivered by the stream. If omitted or empty, all events will be delivered. Filters available: `auth.ancillary.fail`, `auth.ancillary.success`, `auth.login.fail`, `auth.login.notification`, `auth.login.success`, `auth.logout.fail`, `auth.logout.success`, `auth.signup.fail`, `auth.signup.success`, `auth.silent_auth.fail`, `auth.silent_auth.success`, `auth.token_exchange.fail`, `auth.token_exchange.success`, `management.fail`, `management.success`, `system.notification`, `user.fail`, `user.notification`, `user.success`, `other`. Filters []map[string]string `pulumi:"filters"` + // Set True for priority log streams, False for non-priority + IsPriority *bool `pulumi:"isPriority"` // Name of the log stream. Name *string `pulumi:"name"` // The sink configuration for the log stream. @@ -185,6 +196,8 @@ type logStreamArgs struct { type LogStreamArgs struct { // Only logs events matching these filters will be delivered by the stream. If omitted or empty, all events will be delivered. Filters available: `auth.ancillary.fail`, `auth.ancillary.success`, `auth.login.fail`, `auth.login.notification`, `auth.login.success`, `auth.logout.fail`, `auth.logout.success`, `auth.signup.fail`, `auth.signup.success`, `auth.silent_auth.fail`, `auth.silent_auth.success`, `auth.token_exchange.fail`, `auth.token_exchange.success`, `management.fail`, `management.success`, `system.notification`, `user.fail`, `user.notification`, `user.success`, `other`. Filters pulumi.StringMapArrayInput + // Set True for priority log streams, False for non-priority + IsPriority pulumi.BoolPtrInput // Name of the log stream. Name pulumi.StringPtrInput // The sink configuration for the log stream. @@ -287,6 +300,11 @@ func (o LogStreamOutput) Filters() pulumi.StringMapArrayOutput { return o.ApplyT(func(v *LogStream) pulumi.StringMapArrayOutput { return v.Filters }).(pulumi.StringMapArrayOutput) } +// Set True for priority log streams, False for non-priority +func (o LogStreamOutput) IsPriority() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogStream) pulumi.BoolPtrOutput { return v.IsPriority }).(pulumi.BoolPtrOutput) +} + // Name of the log stream. func (o LogStreamOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *LogStream) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) diff --git a/sdk/go/auth0/promptPartials.go b/sdk/go/auth0/promptPartials.go index 2ff2e91b..29fe56bc 100644 --- a/sdk/go/auth0/promptPartials.go +++ b/sdk/go/auth0/promptPartials.go @@ -79,7 +79,7 @@ type PromptPartials struct { // // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. FormFooterStart pulumi.StringPtrOutput `pulumi:"formFooterStart"` - // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. // // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. Prompt pulumi.StringOutput `pulumi:"prompt"` @@ -142,7 +142,7 @@ type promptPartialsState struct { // // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. FormFooterStart *string `pulumi:"formFooterStart"` - // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. // // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. Prompt *string `pulumi:"prompt"` @@ -173,7 +173,7 @@ type PromptPartialsState struct { // // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. FormFooterStart pulumi.StringPtrInput - // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. // // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. Prompt pulumi.StringPtrInput @@ -208,7 +208,7 @@ type promptPartialsArgs struct { // // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. FormFooterStart *string `pulumi:"formFooterStart"` - // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. // // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. Prompt string `pulumi:"prompt"` @@ -240,7 +240,7 @@ type PromptPartialsArgs struct { // // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. FormFooterStart pulumi.StringPtrInput - // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. // // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. Prompt pulumi.StringInput @@ -369,7 +369,7 @@ func (o PromptPartialsOutput) FormFooterStart() pulumi.StringPtrOutput { return o.ApplyT(func(v *PromptPartials) pulumi.StringPtrOutput { return v.FormFooterStart }).(pulumi.StringPtrOutput) } -// The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. +// The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. // // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. func (o PromptPartialsOutput) Prompt() pulumi.StringOutput { diff --git a/sdk/go/auth0/promptScreenPartial.go b/sdk/go/auth0/promptScreenPartial.go index df6be90c..169453a9 100644 --- a/sdk/go/auth0/promptScreenPartial.go +++ b/sdk/go/auth0/promptScreenPartial.go @@ -45,6 +45,16 @@ import ( // if err != nil { // return err // } +// _, err = auth0.NewPromptScreenPartial(ctx, "customized-consent", &auth0.PromptScreenPartialArgs{ +// PromptType: pulumi.String("customized-consent"), +// ScreenName: pulumi.String("customized-consent"), +// InsertionPoints: &auth0.PromptScreenPartialInsertionPointsArgs{ +// FormContent: pulumi.String("
Form Content
"), +// }, +// }) +// if err != nil { +// return err +// } // return nil // }) // } @@ -75,7 +85,7 @@ type PromptScreenPartial struct { // The insertion points for the partials. InsertionPoints PromptScreenPartialInsertionPointsPtrOutput `pulumi:"insertionPoints"` - // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. PromptType pulumi.StringOutput `pulumi:"promptType"` // The name of the screen associated with the partials ScreenName pulumi.StringOutput `pulumi:"screenName"` @@ -119,7 +129,7 @@ func GetPromptScreenPartial(ctx *pulumi.Context, type promptScreenPartialState struct { // The insertion points for the partials. InsertionPoints *PromptScreenPartialInsertionPoints `pulumi:"insertionPoints"` - // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. PromptType *string `pulumi:"promptType"` // The name of the screen associated with the partials ScreenName *string `pulumi:"screenName"` @@ -128,7 +138,7 @@ type promptScreenPartialState struct { type PromptScreenPartialState struct { // The insertion points for the partials. InsertionPoints PromptScreenPartialInsertionPointsPtrInput - // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. PromptType pulumi.StringPtrInput // The name of the screen associated with the partials ScreenName pulumi.StringPtrInput @@ -141,7 +151,7 @@ func (PromptScreenPartialState) ElementType() reflect.Type { type promptScreenPartialArgs struct { // The insertion points for the partials. InsertionPoints *PromptScreenPartialInsertionPoints `pulumi:"insertionPoints"` - // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. PromptType string `pulumi:"promptType"` // The name of the screen associated with the partials ScreenName string `pulumi:"screenName"` @@ -151,7 +161,7 @@ type promptScreenPartialArgs struct { type PromptScreenPartialArgs struct { // The insertion points for the partials. InsertionPoints PromptScreenPartialInsertionPointsPtrInput - // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. PromptType pulumi.StringInput // The name of the screen associated with the partials ScreenName pulumi.StringInput @@ -249,7 +259,7 @@ func (o PromptScreenPartialOutput) InsertionPoints() PromptScreenPartialInsertio return o.ApplyT(func(v *PromptScreenPartial) PromptScreenPartialInsertionPointsPtrOutput { return v.InsertionPoints }).(PromptScreenPartialInsertionPointsPtrOutput) } -// The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. +// The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. func (o PromptScreenPartialOutput) PromptType() pulumi.StringOutput { return o.ApplyT(func(v *PromptScreenPartial) pulumi.StringOutput { return v.PromptType }).(pulumi.StringOutput) } diff --git a/sdk/go/auth0/promptScreenPartials.go b/sdk/go/auth0/promptScreenPartials.go index fcb91996..580fcfb8 100644 --- a/sdk/go/auth0/promptScreenPartials.go +++ b/sdk/go/auth0/promptScreenPartials.go @@ -56,6 +56,20 @@ import ( // if err != nil { // return err // } +// _, err = auth0.NewPromptScreenPartials(ctx, "customized-consent", &auth0.PromptScreenPartialsArgs{ +// PromptType: pulumi.String("customized-consent"), +// ScreenPartials: auth0.PromptScreenPartialsScreenPartialArray{ +// &auth0.PromptScreenPartialsScreenPartialArgs{ +// ScreenName: pulumi.String("customized-consent"), +// InsertionPoints: &auth0.PromptScreenPartialsScreenPartialInsertionPointsArgs{ +// FormContent: pulumi.String("
Form Content
"), +// }, +// }, +// }, +// }) +// if err != nil { +// return err +// } // return nil // }) // } @@ -76,7 +90,7 @@ import ( type PromptScreenPartials struct { pulumi.CustomResourceState - // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. PromptType pulumi.StringOutput `pulumi:"promptType"` ScreenPartials PromptScreenPartialsScreenPartialArrayOutput `pulumi:"screenPartials"` } @@ -114,13 +128,13 @@ func GetPromptScreenPartials(ctx *pulumi.Context, // Input properties used for looking up and filtering PromptScreenPartials resources. type promptScreenPartialsState struct { - // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. PromptType *string `pulumi:"promptType"` ScreenPartials []PromptScreenPartialsScreenPartial `pulumi:"screenPartials"` } type PromptScreenPartialsState struct { - // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. PromptType pulumi.StringPtrInput ScreenPartials PromptScreenPartialsScreenPartialArrayInput } @@ -130,14 +144,14 @@ func (PromptScreenPartialsState) ElementType() reflect.Type { } type promptScreenPartialsArgs struct { - // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. PromptType string `pulumi:"promptType"` ScreenPartials []PromptScreenPartialsScreenPartial `pulumi:"screenPartials"` } // The set of arguments for constructing a PromptScreenPartials resource. type PromptScreenPartialsArgs struct { - // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. PromptType pulumi.StringInput ScreenPartials PromptScreenPartialsScreenPartialArrayInput } @@ -229,7 +243,7 @@ func (o PromptScreenPartialsOutput) ToPromptScreenPartialsOutputWithContext(ctx return o } -// The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. +// The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. func (o PromptScreenPartialsOutput) PromptType() pulumi.StringOutput { return o.ApplyT(func(v *PromptScreenPartials) pulumi.StringOutput { return v.PromptType }).(pulumi.StringOutput) } diff --git a/sdk/go/auth0/promptScreenRenderer.go b/sdk/go/auth0/promptScreenRenderer.go index fc2def0b..87079a32 100644 --- a/sdk/go/auth0/promptScreenRenderer.go +++ b/sdk/go/auth0/promptScreenRenderer.go @@ -110,11 +110,11 @@ type PromptScreenRenderer struct { DefaultHeadTagsDisabled pulumi.BoolPtrOutput `pulumi:"defaultHeadTagsDisabled"` // An array of head tags HeadTags pulumi.StringOutput `pulumi:"headTags"` - // The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`. + // The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`, `mfa`, `mfa-sms`, `mfa-email`, `mfa-push`. PromptType pulumi.StringOutput `pulumi:"promptType"` // Rendering modeOptions are: `standard`, `advanced`. RenderingMode pulumi.StringPtrOutput `pulumi:"renderingMode"` - // The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`. + // The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`, `mfa-detect-browser-capabilities`, `mfa-enroll-result`, `mfa-begin-enroll-options`, `mfa-login-options`, `mfa-country-codes`, `mfa-sms-challenge`, `mfa-sms-enrollment`, `mfa-sms-list`, `mfa-email-challenge`, `mfa-email-list`, `mfa-push-challenge-push`, `mfa-push-enrollment-qr`, `mfa-push-list`, `mfa-push-welcome`. ScreenName pulumi.StringOutput `pulumi:"screenName"` // Tenant ID Tenant pulumi.StringOutput `pulumi:"tenant"` @@ -162,11 +162,11 @@ type promptScreenRendererState struct { DefaultHeadTagsDisabled *bool `pulumi:"defaultHeadTagsDisabled"` // An array of head tags HeadTags *string `pulumi:"headTags"` - // The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`. + // The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`, `mfa`, `mfa-sms`, `mfa-email`, `mfa-push`. PromptType *string `pulumi:"promptType"` // Rendering modeOptions are: `standard`, `advanced`. RenderingMode *string `pulumi:"renderingMode"` - // The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`. + // The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`, `mfa-detect-browser-capabilities`, `mfa-enroll-result`, `mfa-begin-enroll-options`, `mfa-login-options`, `mfa-country-codes`, `mfa-sms-challenge`, `mfa-sms-enrollment`, `mfa-sms-list`, `mfa-email-challenge`, `mfa-email-list`, `mfa-push-challenge-push`, `mfa-push-enrollment-qr`, `mfa-push-list`, `mfa-push-welcome`. ScreenName *string `pulumi:"screenName"` // Tenant ID Tenant *string `pulumi:"tenant"` @@ -179,11 +179,11 @@ type PromptScreenRendererState struct { DefaultHeadTagsDisabled pulumi.BoolPtrInput // An array of head tags HeadTags pulumi.StringPtrInput - // The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`. + // The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`, `mfa`, `mfa-sms`, `mfa-email`, `mfa-push`. PromptType pulumi.StringPtrInput // Rendering modeOptions are: `standard`, `advanced`. RenderingMode pulumi.StringPtrInput - // The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`. + // The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`, `mfa-detect-browser-capabilities`, `mfa-enroll-result`, `mfa-begin-enroll-options`, `mfa-login-options`, `mfa-country-codes`, `mfa-sms-challenge`, `mfa-sms-enrollment`, `mfa-sms-list`, `mfa-email-challenge`, `mfa-email-list`, `mfa-push-challenge-push`, `mfa-push-enrollment-qr`, `mfa-push-list`, `mfa-push-welcome`. ScreenName pulumi.StringPtrInput // Tenant ID Tenant pulumi.StringPtrInput @@ -200,11 +200,11 @@ type promptScreenRendererArgs struct { DefaultHeadTagsDisabled *bool `pulumi:"defaultHeadTagsDisabled"` // An array of head tags HeadTags *string `pulumi:"headTags"` - // The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`. + // The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`, `mfa`, `mfa-sms`, `mfa-email`, `mfa-push`. PromptType string `pulumi:"promptType"` // Rendering modeOptions are: `standard`, `advanced`. RenderingMode *string `pulumi:"renderingMode"` - // The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`. + // The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`, `mfa-detect-browser-capabilities`, `mfa-enroll-result`, `mfa-begin-enroll-options`, `mfa-login-options`, `mfa-country-codes`, `mfa-sms-challenge`, `mfa-sms-enrollment`, `mfa-sms-list`, `mfa-email-challenge`, `mfa-email-list`, `mfa-push-challenge-push`, `mfa-push-enrollment-qr`, `mfa-push-list`, `mfa-push-welcome`. ScreenName string `pulumi:"screenName"` } @@ -216,11 +216,11 @@ type PromptScreenRendererArgs struct { DefaultHeadTagsDisabled pulumi.BoolPtrInput // An array of head tags HeadTags pulumi.StringPtrInput - // The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`. + // The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`, `mfa`, `mfa-sms`, `mfa-email`, `mfa-push`. PromptType pulumi.StringInput // Rendering modeOptions are: `standard`, `advanced`. RenderingMode pulumi.StringPtrInput - // The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`. + // The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`, `mfa-detect-browser-capabilities`, `mfa-enroll-result`, `mfa-begin-enroll-options`, `mfa-login-options`, `mfa-country-codes`, `mfa-sms-challenge`, `mfa-sms-enrollment`, `mfa-sms-list`, `mfa-email-challenge`, `mfa-email-list`, `mfa-push-challenge-push`, `mfa-push-enrollment-qr`, `mfa-push-list`, `mfa-push-welcome`. ScreenName pulumi.StringInput } @@ -326,7 +326,7 @@ func (o PromptScreenRendererOutput) HeadTags() pulumi.StringOutput { return o.ApplyT(func(v *PromptScreenRenderer) pulumi.StringOutput { return v.HeadTags }).(pulumi.StringOutput) } -// The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`. +// The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`, `mfa`, `mfa-sms`, `mfa-email`, `mfa-push`. func (o PromptScreenRendererOutput) PromptType() pulumi.StringOutput { return o.ApplyT(func(v *PromptScreenRenderer) pulumi.StringOutput { return v.PromptType }).(pulumi.StringOutput) } @@ -336,7 +336,7 @@ func (o PromptScreenRendererOutput) RenderingMode() pulumi.StringPtrOutput { return o.ApplyT(func(v *PromptScreenRenderer) pulumi.StringPtrOutput { return v.RenderingMode }).(pulumi.StringPtrOutput) } -// The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`. +// The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`, `mfa-detect-browser-capabilities`, `mfa-enroll-result`, `mfa-begin-enroll-options`, `mfa-login-options`, `mfa-country-codes`, `mfa-sms-challenge`, `mfa-sms-enrollment`, `mfa-sms-list`, `mfa-email-challenge`, `mfa-email-list`, `mfa-push-challenge-push`, `mfa-push-enrollment-qr`, `mfa-push-list`, `mfa-push-welcome`. func (o PromptScreenRendererOutput) ScreenName() pulumi.StringOutput { return o.ApplyT(func(v *PromptScreenRenderer) pulumi.StringOutput { return v.ScreenName }).(pulumi.StringOutput) } diff --git a/sdk/go/auth0/pulumiTypes.go b/sdk/go/auth0/pulumiTypes.go index 0fd0658c..fba25969 100644 --- a/sdk/go/auth0/pulumiTypes.go +++ b/sdk/go/auth0/pulumiTypes.go @@ -2064,6 +2064,8 @@ type BrandingThemeColors struct { BaseHoverColor *string `pulumi:"baseHoverColor"` // Body text. Defaults to `#1e212a`. BodyText *string `pulumi:"bodyText"` + // Captcha Widget Theme. + CaptchaWidgetTheme *string `pulumi:"captchaWidgetTheme"` // Error. Defaults to `#d03c38`. Error *string `pulumi:"error"` // Header. Defaults to `#1e212a`. @@ -2114,6 +2116,8 @@ type BrandingThemeColorsArgs struct { BaseHoverColor pulumi.StringPtrInput `pulumi:"baseHoverColor"` // Body text. Defaults to `#1e212a`. BodyText pulumi.StringPtrInput `pulumi:"bodyText"` + // Captcha Widget Theme. + CaptchaWidgetTheme pulumi.StringPtrInput `pulumi:"captchaWidgetTheme"` // Error. Defaults to `#d03c38`. Error pulumi.StringPtrInput `pulumi:"error"` // Header. Defaults to `#1e212a`. @@ -2238,6 +2242,11 @@ func (o BrandingThemeColorsOutput) BodyText() pulumi.StringPtrOutput { return o.ApplyT(func(v BrandingThemeColors) *string { return v.BodyText }).(pulumi.StringPtrOutput) } +// Captcha Widget Theme. +func (o BrandingThemeColorsOutput) CaptchaWidgetTheme() pulumi.StringPtrOutput { + return o.ApplyT(func(v BrandingThemeColors) *string { return v.CaptchaWidgetTheme }).(pulumi.StringPtrOutput) +} + // Error. Defaults to `#d03c38`. func (o BrandingThemeColorsOutput) Error() pulumi.StringPtrOutput { return o.ApplyT(func(v BrandingThemeColors) *string { return v.Error }).(pulumi.StringPtrOutput) @@ -2367,6 +2376,16 @@ func (o BrandingThemeColorsPtrOutput) BodyText() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } +// Captcha Widget Theme. +func (o BrandingThemeColorsPtrOutput) CaptchaWidgetTheme() pulumi.StringPtrOutput { + return o.ApplyT(func(v *BrandingThemeColors) *string { + if v == nil { + return nil + } + return v.CaptchaWidgetTheme + }).(pulumi.StringPtrOutput) +} + // Error. Defaults to `#d03c38`. func (o BrandingThemeColorsPtrOutput) Error() pulumi.StringPtrOutput { return o.ApplyT(func(v *BrandingThemeColors) *string { @@ -12195,6 +12214,7 @@ func (o ClientMobileIosPtrOutput) TeamId() pulumi.StringPtrOutput { type ClientNativeSocialLogin struct { Apple *ClientNativeSocialLoginApple `pulumi:"apple"` Facebook *ClientNativeSocialLoginFacebook `pulumi:"facebook"` + Google *ClientNativeSocialLoginGoogle `pulumi:"google"` } // ClientNativeSocialLoginInput is an input type that accepts ClientNativeSocialLoginArgs and ClientNativeSocialLoginOutput values. @@ -12211,6 +12231,7 @@ type ClientNativeSocialLoginInput interface { type ClientNativeSocialLoginArgs struct { Apple ClientNativeSocialLoginApplePtrInput `pulumi:"apple"` Facebook ClientNativeSocialLoginFacebookPtrInput `pulumi:"facebook"` + Google ClientNativeSocialLoginGooglePtrInput `pulumi:"google"` } func (ClientNativeSocialLoginArgs) ElementType() reflect.Type { @@ -12298,6 +12319,10 @@ func (o ClientNativeSocialLoginOutput) Facebook() ClientNativeSocialLoginFaceboo return o.ApplyT(func(v ClientNativeSocialLogin) *ClientNativeSocialLoginFacebook { return v.Facebook }).(ClientNativeSocialLoginFacebookPtrOutput) } +func (o ClientNativeSocialLoginOutput) Google() ClientNativeSocialLoginGooglePtrOutput { + return o.ApplyT(func(v ClientNativeSocialLogin) *ClientNativeSocialLoginGoogle { return v.Google }).(ClientNativeSocialLoginGooglePtrOutput) +} + type ClientNativeSocialLoginPtrOutput struct{ *pulumi.OutputState } func (ClientNativeSocialLoginPtrOutput) ElementType() reflect.Type { @@ -12340,6 +12365,15 @@ func (o ClientNativeSocialLoginPtrOutput) Facebook() ClientNativeSocialLoginFace }).(ClientNativeSocialLoginFacebookPtrOutput) } +func (o ClientNativeSocialLoginPtrOutput) Google() ClientNativeSocialLoginGooglePtrOutput { + return o.ApplyT(func(v *ClientNativeSocialLogin) *ClientNativeSocialLoginGoogle { + if v == nil { + return nil + } + return v.Google + }).(ClientNativeSocialLoginGooglePtrOutput) +} + type ClientNativeSocialLoginApple struct { Enabled *bool `pulumi:"enabled"` } @@ -12606,6 +12640,139 @@ func (o ClientNativeSocialLoginFacebookPtrOutput) Enabled() pulumi.BoolPtrOutput }).(pulumi.BoolPtrOutput) } +type ClientNativeSocialLoginGoogle struct { + Enabled *bool `pulumi:"enabled"` +} + +// ClientNativeSocialLoginGoogleInput is an input type that accepts ClientNativeSocialLoginGoogleArgs and ClientNativeSocialLoginGoogleOutput values. +// You can construct a concrete instance of `ClientNativeSocialLoginGoogleInput` via: +// +// ClientNativeSocialLoginGoogleArgs{...} +type ClientNativeSocialLoginGoogleInput interface { + pulumi.Input + + ToClientNativeSocialLoginGoogleOutput() ClientNativeSocialLoginGoogleOutput + ToClientNativeSocialLoginGoogleOutputWithContext(context.Context) ClientNativeSocialLoginGoogleOutput +} + +type ClientNativeSocialLoginGoogleArgs struct { + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` +} + +func (ClientNativeSocialLoginGoogleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClientNativeSocialLoginGoogle)(nil)).Elem() +} + +func (i ClientNativeSocialLoginGoogleArgs) ToClientNativeSocialLoginGoogleOutput() ClientNativeSocialLoginGoogleOutput { + return i.ToClientNativeSocialLoginGoogleOutputWithContext(context.Background()) +} + +func (i ClientNativeSocialLoginGoogleArgs) ToClientNativeSocialLoginGoogleOutputWithContext(ctx context.Context) ClientNativeSocialLoginGoogleOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClientNativeSocialLoginGoogleOutput) +} + +func (i ClientNativeSocialLoginGoogleArgs) ToClientNativeSocialLoginGooglePtrOutput() ClientNativeSocialLoginGooglePtrOutput { + return i.ToClientNativeSocialLoginGooglePtrOutputWithContext(context.Background()) +} + +func (i ClientNativeSocialLoginGoogleArgs) ToClientNativeSocialLoginGooglePtrOutputWithContext(ctx context.Context) ClientNativeSocialLoginGooglePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClientNativeSocialLoginGoogleOutput).ToClientNativeSocialLoginGooglePtrOutputWithContext(ctx) +} + +// ClientNativeSocialLoginGooglePtrInput is an input type that accepts ClientNativeSocialLoginGoogleArgs, ClientNativeSocialLoginGooglePtr and ClientNativeSocialLoginGooglePtrOutput values. +// You can construct a concrete instance of `ClientNativeSocialLoginGooglePtrInput` via: +// +// ClientNativeSocialLoginGoogleArgs{...} +// +// or: +// +// nil +type ClientNativeSocialLoginGooglePtrInput interface { + pulumi.Input + + ToClientNativeSocialLoginGooglePtrOutput() ClientNativeSocialLoginGooglePtrOutput + ToClientNativeSocialLoginGooglePtrOutputWithContext(context.Context) ClientNativeSocialLoginGooglePtrOutput +} + +type clientNativeSocialLoginGooglePtrType ClientNativeSocialLoginGoogleArgs + +func ClientNativeSocialLoginGooglePtr(v *ClientNativeSocialLoginGoogleArgs) ClientNativeSocialLoginGooglePtrInput { + return (*clientNativeSocialLoginGooglePtrType)(v) +} + +func (*clientNativeSocialLoginGooglePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClientNativeSocialLoginGoogle)(nil)).Elem() +} + +func (i *clientNativeSocialLoginGooglePtrType) ToClientNativeSocialLoginGooglePtrOutput() ClientNativeSocialLoginGooglePtrOutput { + return i.ToClientNativeSocialLoginGooglePtrOutputWithContext(context.Background()) +} + +func (i *clientNativeSocialLoginGooglePtrType) ToClientNativeSocialLoginGooglePtrOutputWithContext(ctx context.Context) ClientNativeSocialLoginGooglePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClientNativeSocialLoginGooglePtrOutput) +} + +type ClientNativeSocialLoginGoogleOutput struct{ *pulumi.OutputState } + +func (ClientNativeSocialLoginGoogleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClientNativeSocialLoginGoogle)(nil)).Elem() +} + +func (o ClientNativeSocialLoginGoogleOutput) ToClientNativeSocialLoginGoogleOutput() ClientNativeSocialLoginGoogleOutput { + return o +} + +func (o ClientNativeSocialLoginGoogleOutput) ToClientNativeSocialLoginGoogleOutputWithContext(ctx context.Context) ClientNativeSocialLoginGoogleOutput { + return o +} + +func (o ClientNativeSocialLoginGoogleOutput) ToClientNativeSocialLoginGooglePtrOutput() ClientNativeSocialLoginGooglePtrOutput { + return o.ToClientNativeSocialLoginGooglePtrOutputWithContext(context.Background()) +} + +func (o ClientNativeSocialLoginGoogleOutput) ToClientNativeSocialLoginGooglePtrOutputWithContext(ctx context.Context) ClientNativeSocialLoginGooglePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClientNativeSocialLoginGoogle) *ClientNativeSocialLoginGoogle { + return &v + }).(ClientNativeSocialLoginGooglePtrOutput) +} + +func (o ClientNativeSocialLoginGoogleOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClientNativeSocialLoginGoogle) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +} + +type ClientNativeSocialLoginGooglePtrOutput struct{ *pulumi.OutputState } + +func (ClientNativeSocialLoginGooglePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClientNativeSocialLoginGoogle)(nil)).Elem() +} + +func (o ClientNativeSocialLoginGooglePtrOutput) ToClientNativeSocialLoginGooglePtrOutput() ClientNativeSocialLoginGooglePtrOutput { + return o +} + +func (o ClientNativeSocialLoginGooglePtrOutput) ToClientNativeSocialLoginGooglePtrOutputWithContext(ctx context.Context) ClientNativeSocialLoginGooglePtrOutput { + return o +} + +func (o ClientNativeSocialLoginGooglePtrOutput) Elem() ClientNativeSocialLoginGoogleOutput { + return o.ApplyT(func(v *ClientNativeSocialLoginGoogle) ClientNativeSocialLoginGoogle { + if v != nil { + return *v + } + var ret ClientNativeSocialLoginGoogle + return ret + }).(ClientNativeSocialLoginGoogleOutput) +} + +func (o ClientNativeSocialLoginGooglePtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClientNativeSocialLoginGoogle) *bool { + if v == nil { + return nil + } + return v.Enabled + }).(pulumi.BoolPtrOutput) +} + type ClientOidcLogout struct { // Configure OIDC logout initiators for the Client BackchannelLogoutInitiators *ClientOidcLogoutBackchannelLogoutInitiators `pulumi:"backchannelLogoutInitiators"` @@ -13379,6 +13546,10 @@ type ConnectionOptions struct { GatewayAuthentication *ConnectionOptionsGatewayAuthentication `pulumi:"gatewayAuthentication"` // Defines a custom sms gateway to use instead of Twilio. GatewayUrl *string `pulumi:"gatewayUrl"` + // Specifies the issuer of the JWT used for global token revocation for the SAML connection. + GlobalTokenRevocationJwtIss *string `pulumi:"globalTokenRevocationJwtIss"` + // Specifies the subject of the JWT used for global token revocation for the SAML connection. + GlobalTokenRevocationJwtSub *string `pulumi:"globalTokenRevocationJwtSub"` // Icon URL. IconUrl *string `pulumi:"iconUrl"` // Azure AD Identity API. Available options are: `microsoft-identity-platform-v2.0` or `azure-active-directory-v1.0`. @@ -13581,6 +13752,10 @@ type ConnectionOptionsArgs struct { GatewayAuthentication ConnectionOptionsGatewayAuthenticationPtrInput `pulumi:"gatewayAuthentication"` // Defines a custom sms gateway to use instead of Twilio. GatewayUrl pulumi.StringPtrInput `pulumi:"gatewayUrl"` + // Specifies the issuer of the JWT used for global token revocation for the SAML connection. + GlobalTokenRevocationJwtIss pulumi.StringPtrInput `pulumi:"globalTokenRevocationJwtIss"` + // Specifies the subject of the JWT used for global token revocation for the SAML connection. + GlobalTokenRevocationJwtSub pulumi.StringPtrInput `pulumi:"globalTokenRevocationJwtSub"` // Icon URL. IconUrl pulumi.StringPtrInput `pulumi:"iconUrl"` // Azure AD Identity API. Available options are: `microsoft-identity-platform-v2.0` or `azure-active-directory-v1.0`. @@ -13953,6 +14128,16 @@ func (o ConnectionOptionsOutput) GatewayUrl() pulumi.StringPtrOutput { return o.ApplyT(func(v ConnectionOptions) *string { return v.GatewayUrl }).(pulumi.StringPtrOutput) } +// Specifies the issuer of the JWT used for global token revocation for the SAML connection. +func (o ConnectionOptionsOutput) GlobalTokenRevocationJwtIss() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionOptions) *string { return v.GlobalTokenRevocationJwtIss }).(pulumi.StringPtrOutput) +} + +// Specifies the subject of the JWT used for global token revocation for the SAML connection. +func (o ConnectionOptionsOutput) GlobalTokenRevocationJwtSub() pulumi.StringPtrOutput { + return o.ApplyT(func(v ConnectionOptions) *string { return v.GlobalTokenRevocationJwtSub }).(pulumi.StringPtrOutput) +} + // Icon URL. func (o ConnectionOptionsOutput) IconUrl() pulumi.StringPtrOutput { return o.ApplyT(func(v ConnectionOptions) *string { return v.IconUrl }).(pulumi.StringPtrOutput) @@ -14624,6 +14809,26 @@ func (o ConnectionOptionsPtrOutput) GatewayUrl() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } +// Specifies the issuer of the JWT used for global token revocation for the SAML connection. +func (o ConnectionOptionsPtrOutput) GlobalTokenRevocationJwtIss() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionOptions) *string { + if v == nil { + return nil + } + return v.GlobalTokenRevocationJwtIss + }).(pulumi.StringPtrOutput) +} + +// Specifies the subject of the JWT used for global token revocation for the SAML connection. +func (o ConnectionOptionsPtrOutput) GlobalTokenRevocationJwtSub() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ConnectionOptions) *string { + if v == nil { + return nil + } + return v.GlobalTokenRevocationJwtSub + }).(pulumi.StringPtrOutput) +} + // Icon URL. func (o ConnectionOptionsPtrOutput) IconUrl() pulumi.StringPtrOutput { return o.ApplyT(func(v *ConnectionOptions) *string { @@ -24523,6 +24728,8 @@ func (o PagesLoginPtrOutput) Html() pulumi.StringPtrOutput { } type PromptScreenPartialInsertionPoints struct { + // Content that goes inside the form + FormContent *string `pulumi:"formContent"` // Content that goes at the end of the form. FormContentEnd *string `pulumi:"formContentEnd"` // Content that goes at the start of the form. @@ -24549,6 +24756,8 @@ type PromptScreenPartialInsertionPointsInput interface { } type PromptScreenPartialInsertionPointsArgs struct { + // Content that goes inside the form + FormContent pulumi.StringPtrInput `pulumi:"formContent"` // Content that goes at the end of the form. FormContentEnd pulumi.StringPtrInput `pulumi:"formContentEnd"` // Content that goes at the start of the form. @@ -24640,6 +24849,11 @@ func (o PromptScreenPartialInsertionPointsOutput) ToPromptScreenPartialInsertion }).(PromptScreenPartialInsertionPointsPtrOutput) } +// Content that goes inside the form +func (o PromptScreenPartialInsertionPointsOutput) FormContent() pulumi.StringPtrOutput { + return o.ApplyT(func(v PromptScreenPartialInsertionPoints) *string { return v.FormContent }).(pulumi.StringPtrOutput) +} + // Content that goes at the end of the form. func (o PromptScreenPartialInsertionPointsOutput) FormContentEnd() pulumi.StringPtrOutput { return o.ApplyT(func(v PromptScreenPartialInsertionPoints) *string { return v.FormContentEnd }).(pulumi.StringPtrOutput) @@ -24694,6 +24908,16 @@ func (o PromptScreenPartialInsertionPointsPtrOutput) Elem() PromptScreenPartialI }).(PromptScreenPartialInsertionPointsOutput) } +// Content that goes inside the form +func (o PromptScreenPartialInsertionPointsPtrOutput) FormContent() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PromptScreenPartialInsertionPoints) *string { + if v == nil { + return nil + } + return v.FormContent + }).(pulumi.StringPtrOutput) +} + // Content that goes at the end of the form. func (o PromptScreenPartialInsertionPointsPtrOutput) FormContentEnd() pulumi.StringPtrOutput { return o.ApplyT(func(v *PromptScreenPartialInsertionPoints) *string { @@ -24860,6 +25084,8 @@ func (o PromptScreenPartialsScreenPartialArrayOutput) Index(i pulumi.IntInput) P } type PromptScreenPartialsScreenPartialInsertionPoints struct { + // Content that goes inside the form + FormContent *string `pulumi:"formContent"` // Content that goes at the end of the form. FormContentEnd *string `pulumi:"formContentEnd"` // Content that goes at the start of the form. @@ -24886,6 +25112,8 @@ type PromptScreenPartialsScreenPartialInsertionPointsInput interface { } type PromptScreenPartialsScreenPartialInsertionPointsArgs struct { + // Content that goes inside the form + FormContent pulumi.StringPtrInput `pulumi:"formContent"` // Content that goes at the end of the form. FormContentEnd pulumi.StringPtrInput `pulumi:"formContentEnd"` // Content that goes at the start of the form. @@ -24926,6 +25154,11 @@ func (o PromptScreenPartialsScreenPartialInsertionPointsOutput) ToPromptScreenPa return o } +// Content that goes inside the form +func (o PromptScreenPartialsScreenPartialInsertionPointsOutput) FormContent() pulumi.StringPtrOutput { + return o.ApplyT(func(v PromptScreenPartialsScreenPartialInsertionPoints) *string { return v.FormContent }).(pulumi.StringPtrOutput) +} + // Content that goes at the end of the form. func (o PromptScreenPartialsScreenPartialInsertionPointsOutput) FormContentEnd() pulumi.StringPtrOutput { return o.ApplyT(func(v PromptScreenPartialsScreenPartialInsertionPoints) *string { return v.FormContentEnd }).(pulumi.StringPtrOutput) @@ -28600,6 +28833,8 @@ type GetBrandingThemeColor struct { BaseHoverColor string `pulumi:"baseHoverColor"` // Body text. Defaults to `#1e212a`. BodyText string `pulumi:"bodyText"` + // Captcha Widget Theme. + CaptchaWidgetTheme string `pulumi:"captchaWidgetTheme"` // Error. Defaults to `#d03c38`. Error string `pulumi:"error"` // Header. Defaults to `#1e212a`. @@ -28650,6 +28885,8 @@ type GetBrandingThemeColorArgs struct { BaseHoverColor pulumi.StringInput `pulumi:"baseHoverColor"` // Body text. Defaults to `#1e212a`. BodyText pulumi.StringInput `pulumi:"bodyText"` + // Captcha Widget Theme. + CaptchaWidgetTheme pulumi.StringInput `pulumi:"captchaWidgetTheme"` // Error. Defaults to `#d03c38`. Error pulumi.StringInput `pulumi:"error"` // Header. Defaults to `#1e212a`. @@ -28748,6 +28985,11 @@ func (o GetBrandingThemeColorOutput) BodyText() pulumi.StringOutput { return o.ApplyT(func(v GetBrandingThemeColor) string { return v.BodyText }).(pulumi.StringOutput) } +// Captcha Widget Theme. +func (o GetBrandingThemeColorOutput) CaptchaWidgetTheme() pulumi.StringOutput { + return o.ApplyT(func(v GetBrandingThemeColor) string { return v.CaptchaWidgetTheme }).(pulumi.StringOutput) +} + // Error. Defaults to `#d03c38`. func (o GetBrandingThemeColorOutput) Error() pulumi.StringOutput { return o.ApplyT(func(v GetBrandingThemeColor) string { return v.Error }).(pulumi.StringOutput) @@ -35172,6 +35414,7 @@ func (o GetClientMobileIoArrayOutput) Index(i pulumi.IntInput) GetClientMobileIo type GetClientNativeSocialLogin struct { Apples []GetClientNativeSocialLoginApple `pulumi:"apples"` Facebooks []GetClientNativeSocialLoginFacebook `pulumi:"facebooks"` + Googles []GetClientNativeSocialLoginGoogle `pulumi:"googles"` } // GetClientNativeSocialLoginInput is an input type that accepts GetClientNativeSocialLoginArgs and GetClientNativeSocialLoginOutput values. @@ -35188,6 +35431,7 @@ type GetClientNativeSocialLoginInput interface { type GetClientNativeSocialLoginArgs struct { Apples GetClientNativeSocialLoginAppleArrayInput `pulumi:"apples"` Facebooks GetClientNativeSocialLoginFacebookArrayInput `pulumi:"facebooks"` + Googles GetClientNativeSocialLoginGoogleArrayInput `pulumi:"googles"` } func (GetClientNativeSocialLoginArgs) ElementType() reflect.Type { @@ -35249,6 +35493,10 @@ func (o GetClientNativeSocialLoginOutput) Facebooks() GetClientNativeSocialLogin return o.ApplyT(func(v GetClientNativeSocialLogin) []GetClientNativeSocialLoginFacebook { return v.Facebooks }).(GetClientNativeSocialLoginFacebookArrayOutput) } +func (o GetClientNativeSocialLoginOutput) Googles() GetClientNativeSocialLoginGoogleArrayOutput { + return o.ApplyT(func(v GetClientNativeSocialLogin) []GetClientNativeSocialLoginGoogle { return v.Googles }).(GetClientNativeSocialLoginGoogleArrayOutput) +} + type GetClientNativeSocialLoginArrayOutput struct{ *pulumi.OutputState } func (GetClientNativeSocialLoginArrayOutput) ElementType() reflect.Type { @@ -35457,6 +35705,100 @@ func (o GetClientNativeSocialLoginFacebookArrayOutput) Index(i pulumi.IntInput) }).(GetClientNativeSocialLoginFacebookOutput) } +type GetClientNativeSocialLoginGoogle struct { + Enabled bool `pulumi:"enabled"` +} + +// GetClientNativeSocialLoginGoogleInput is an input type that accepts GetClientNativeSocialLoginGoogleArgs and GetClientNativeSocialLoginGoogleOutput values. +// You can construct a concrete instance of `GetClientNativeSocialLoginGoogleInput` via: +// +// GetClientNativeSocialLoginGoogleArgs{...} +type GetClientNativeSocialLoginGoogleInput interface { + pulumi.Input + + ToGetClientNativeSocialLoginGoogleOutput() GetClientNativeSocialLoginGoogleOutput + ToGetClientNativeSocialLoginGoogleOutputWithContext(context.Context) GetClientNativeSocialLoginGoogleOutput +} + +type GetClientNativeSocialLoginGoogleArgs struct { + Enabled pulumi.BoolInput `pulumi:"enabled"` +} + +func (GetClientNativeSocialLoginGoogleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClientNativeSocialLoginGoogle)(nil)).Elem() +} + +func (i GetClientNativeSocialLoginGoogleArgs) ToGetClientNativeSocialLoginGoogleOutput() GetClientNativeSocialLoginGoogleOutput { + return i.ToGetClientNativeSocialLoginGoogleOutputWithContext(context.Background()) +} + +func (i GetClientNativeSocialLoginGoogleArgs) ToGetClientNativeSocialLoginGoogleOutputWithContext(ctx context.Context) GetClientNativeSocialLoginGoogleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClientNativeSocialLoginGoogleOutput) +} + +// GetClientNativeSocialLoginGoogleArrayInput is an input type that accepts GetClientNativeSocialLoginGoogleArray and GetClientNativeSocialLoginGoogleArrayOutput values. +// You can construct a concrete instance of `GetClientNativeSocialLoginGoogleArrayInput` via: +// +// GetClientNativeSocialLoginGoogleArray{ GetClientNativeSocialLoginGoogleArgs{...} } +type GetClientNativeSocialLoginGoogleArrayInput interface { + pulumi.Input + + ToGetClientNativeSocialLoginGoogleArrayOutput() GetClientNativeSocialLoginGoogleArrayOutput + ToGetClientNativeSocialLoginGoogleArrayOutputWithContext(context.Context) GetClientNativeSocialLoginGoogleArrayOutput +} + +type GetClientNativeSocialLoginGoogleArray []GetClientNativeSocialLoginGoogleInput + +func (GetClientNativeSocialLoginGoogleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClientNativeSocialLoginGoogle)(nil)).Elem() +} + +func (i GetClientNativeSocialLoginGoogleArray) ToGetClientNativeSocialLoginGoogleArrayOutput() GetClientNativeSocialLoginGoogleArrayOutput { + return i.ToGetClientNativeSocialLoginGoogleArrayOutputWithContext(context.Background()) +} + +func (i GetClientNativeSocialLoginGoogleArray) ToGetClientNativeSocialLoginGoogleArrayOutputWithContext(ctx context.Context) GetClientNativeSocialLoginGoogleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClientNativeSocialLoginGoogleArrayOutput) +} + +type GetClientNativeSocialLoginGoogleOutput struct{ *pulumi.OutputState } + +func (GetClientNativeSocialLoginGoogleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClientNativeSocialLoginGoogle)(nil)).Elem() +} + +func (o GetClientNativeSocialLoginGoogleOutput) ToGetClientNativeSocialLoginGoogleOutput() GetClientNativeSocialLoginGoogleOutput { + return o +} + +func (o GetClientNativeSocialLoginGoogleOutput) ToGetClientNativeSocialLoginGoogleOutputWithContext(ctx context.Context) GetClientNativeSocialLoginGoogleOutput { + return o +} + +func (o GetClientNativeSocialLoginGoogleOutput) Enabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetClientNativeSocialLoginGoogle) bool { return v.Enabled }).(pulumi.BoolOutput) +} + +type GetClientNativeSocialLoginGoogleArrayOutput struct{ *pulumi.OutputState } + +func (GetClientNativeSocialLoginGoogleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClientNativeSocialLoginGoogle)(nil)).Elem() +} + +func (o GetClientNativeSocialLoginGoogleArrayOutput) ToGetClientNativeSocialLoginGoogleArrayOutput() GetClientNativeSocialLoginGoogleArrayOutput { + return o +} + +func (o GetClientNativeSocialLoginGoogleArrayOutput) ToGetClientNativeSocialLoginGoogleArrayOutputWithContext(ctx context.Context) GetClientNativeSocialLoginGoogleArrayOutput { + return o +} + +func (o GetClientNativeSocialLoginGoogleArrayOutput) Index(i pulumi.IntInput) GetClientNativeSocialLoginGoogleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClientNativeSocialLoginGoogle { + return vs[0].([]GetClientNativeSocialLoginGoogle)[vs[1].(int)] + }).(GetClientNativeSocialLoginGoogleOutput) +} + type GetClientOidcLogout struct { // Configure OIDC logout initiators for the Client BackchannelLogoutInitiators []GetClientOidcLogoutBackchannelLogoutInitiator `pulumi:"backchannelLogoutInitiators"` @@ -36796,6 +37138,10 @@ type GetConnectionOption struct { GatewayAuthentications []GetConnectionOptionGatewayAuthentication `pulumi:"gatewayAuthentications"` // Defines a custom sms gateway to use instead of Twilio. GatewayUrl string `pulumi:"gatewayUrl"` + // Specifies the issuer of the JWT used for global token revocation for the SAML connection. + GlobalTokenRevocationJwtIss string `pulumi:"globalTokenRevocationJwtIss"` + // Specifies the subject of the JWT used for global token revocation for the SAML connection. + GlobalTokenRevocationJwtSub string `pulumi:"globalTokenRevocationJwtSub"` // Icon URL. IconUrl string `pulumi:"iconUrl"` // Azure AD Identity API. Available options are: `microsoft-identity-platform-v2.0` or `azure-active-directory-v1.0`. @@ -36998,6 +37344,10 @@ type GetConnectionOptionArgs struct { GatewayAuthentications GetConnectionOptionGatewayAuthenticationArrayInput `pulumi:"gatewayAuthentications"` // Defines a custom sms gateway to use instead of Twilio. GatewayUrl pulumi.StringInput `pulumi:"gatewayUrl"` + // Specifies the issuer of the JWT used for global token revocation for the SAML connection. + GlobalTokenRevocationJwtIss pulumi.StringInput `pulumi:"globalTokenRevocationJwtIss"` + // Specifies the subject of the JWT used for global token revocation for the SAML connection. + GlobalTokenRevocationJwtSub pulumi.StringInput `pulumi:"globalTokenRevocationJwtSub"` // Icon URL. IconUrl pulumi.StringInput `pulumi:"iconUrl"` // Azure AD Identity API. Available options are: `microsoft-identity-platform-v2.0` or `azure-active-directory-v1.0`. @@ -37346,6 +37696,16 @@ func (o GetConnectionOptionOutput) GatewayUrl() pulumi.StringOutput { return o.ApplyT(func(v GetConnectionOption) string { return v.GatewayUrl }).(pulumi.StringOutput) } +// Specifies the issuer of the JWT used for global token revocation for the SAML connection. +func (o GetConnectionOptionOutput) GlobalTokenRevocationJwtIss() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionOption) string { return v.GlobalTokenRevocationJwtIss }).(pulumi.StringOutput) +} + +// Specifies the subject of the JWT used for global token revocation for the SAML connection. +func (o GetConnectionOptionOutput) GlobalTokenRevocationJwtSub() pulumi.StringOutput { + return o.ApplyT(func(v GetConnectionOption) string { return v.GlobalTokenRevocationJwtSub }).(pulumi.StringOutput) +} + // Icon URL. func (o GetConnectionOptionOutput) IconUrl() pulumi.StringOutput { return o.ApplyT(func(v GetConnectionOption) string { return v.IconUrl }).(pulumi.StringOutput) @@ -42348,6 +42708,8 @@ func (o GetPromptScreenPartialsScreenPartialArrayOutput) Index(i pulumi.IntInput } type GetPromptScreenPartialsScreenPartialInsertionPoint struct { + // Content that goes inside the form + FormContent string `pulumi:"formContent"` // Content that goes at the end of the form. FormContentEnd string `pulumi:"formContentEnd"` // Content that goes at the start of the form. @@ -42374,6 +42736,8 @@ type GetPromptScreenPartialsScreenPartialInsertionPointInput interface { } type GetPromptScreenPartialsScreenPartialInsertionPointArgs struct { + // Content that goes inside the form + FormContent pulumi.StringInput `pulumi:"formContent"` // Content that goes at the end of the form. FormContentEnd pulumi.StringInput `pulumi:"formContentEnd"` // Content that goes at the start of the form. @@ -42439,6 +42803,11 @@ func (o GetPromptScreenPartialsScreenPartialInsertionPointOutput) ToGetPromptScr return o } +// Content that goes inside the form +func (o GetPromptScreenPartialsScreenPartialInsertionPointOutput) FormContent() pulumi.StringOutput { + return o.ApplyT(func(v GetPromptScreenPartialsScreenPartialInsertionPoint) string { return v.FormContent }).(pulumi.StringOutput) +} + // Content that goes at the end of the form. func (o GetPromptScreenPartialsScreenPartialInsertionPointOutput) FormContentEnd() pulumi.StringOutput { return o.ApplyT(func(v GetPromptScreenPartialsScreenPartialInsertionPoint) string { return v.FormContentEnd }).(pulumi.StringOutput) @@ -44546,6 +44915,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*ClientNativeSocialLoginApplePtrInput)(nil)).Elem(), ClientNativeSocialLoginAppleArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ClientNativeSocialLoginFacebookInput)(nil)).Elem(), ClientNativeSocialLoginFacebookArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ClientNativeSocialLoginFacebookPtrInput)(nil)).Elem(), ClientNativeSocialLoginFacebookArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ClientNativeSocialLoginGoogleInput)(nil)).Elem(), ClientNativeSocialLoginGoogleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ClientNativeSocialLoginGooglePtrInput)(nil)).Elem(), ClientNativeSocialLoginGoogleArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ClientOidcLogoutInput)(nil)).Elem(), ClientOidcLogoutArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ClientOidcLogoutPtrInput)(nil)).Elem(), ClientOidcLogoutArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ClientOidcLogoutBackchannelLogoutInitiatorsInput)(nil)).Elem(), ClientOidcLogoutBackchannelLogoutInitiatorsArgs{}) @@ -44841,6 +45212,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetClientNativeSocialLoginAppleArrayInput)(nil)).Elem(), GetClientNativeSocialLoginAppleArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetClientNativeSocialLoginFacebookInput)(nil)).Elem(), GetClientNativeSocialLoginFacebookArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetClientNativeSocialLoginFacebookArrayInput)(nil)).Elem(), GetClientNativeSocialLoginFacebookArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClientNativeSocialLoginGoogleInput)(nil)).Elem(), GetClientNativeSocialLoginGoogleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClientNativeSocialLoginGoogleArrayInput)(nil)).Elem(), GetClientNativeSocialLoginGoogleArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetClientOidcLogoutInput)(nil)).Elem(), GetClientOidcLogoutArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetClientOidcLogoutArrayInput)(nil)).Elem(), GetClientOidcLogoutArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetClientOidcLogoutBackchannelLogoutInitiatorInput)(nil)).Elem(), GetClientOidcLogoutBackchannelLogoutInitiatorArgs{}) @@ -45123,6 +45496,8 @@ func init() { pulumi.RegisterOutputType(ClientNativeSocialLoginApplePtrOutput{}) pulumi.RegisterOutputType(ClientNativeSocialLoginFacebookOutput{}) pulumi.RegisterOutputType(ClientNativeSocialLoginFacebookPtrOutput{}) + pulumi.RegisterOutputType(ClientNativeSocialLoginGoogleOutput{}) + pulumi.RegisterOutputType(ClientNativeSocialLoginGooglePtrOutput{}) pulumi.RegisterOutputType(ClientOidcLogoutOutput{}) pulumi.RegisterOutputType(ClientOidcLogoutPtrOutput{}) pulumi.RegisterOutputType(ClientOidcLogoutBackchannelLogoutInitiatorsOutput{}) @@ -45418,6 +45793,8 @@ func init() { pulumi.RegisterOutputType(GetClientNativeSocialLoginAppleArrayOutput{}) pulumi.RegisterOutputType(GetClientNativeSocialLoginFacebookOutput{}) pulumi.RegisterOutputType(GetClientNativeSocialLoginFacebookArrayOutput{}) + pulumi.RegisterOutputType(GetClientNativeSocialLoginGoogleOutput{}) + pulumi.RegisterOutputType(GetClientNativeSocialLoginGoogleArrayOutput{}) pulumi.RegisterOutputType(GetClientOidcLogoutOutput{}) pulumi.RegisterOutputType(GetClientOidcLogoutArrayOutput{}) pulumi.RegisterOutputType(GetClientOidcLogoutBackchannelLogoutInitiatorOutput{}) diff --git a/sdk/go/auth0/tokenExchangeProfile.go b/sdk/go/auth0/tokenExchangeProfile.go index f60fabad..91e8ead7 100644 --- a/sdk/go/auth0/tokenExchangeProfile.go +++ b/sdk/go/auth0/tokenExchangeProfile.go @@ -12,6 +12,61 @@ import ( ) // With this resource, you can manage Auth0 Custom Token Exchange Profiles +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-auth0/sdk/v3/go/auth0" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// // Below action is created with custom-token-exchange as supported_triggers +// // This action is then linked using the action_id param to the token-exchange profile +// myAction, err := auth0.NewAction(ctx, "my_action", &auth0.ActionArgs{ +// Name: pulumi.String("TokenExchange-Action"), +// Code: pulumi.String("exports.onContinuePostLogin = async (event, api) => {\n console.log(\"foo\")\n};\"\n"), +// Deploy: pulumi.Bool(true), +// SupportedTriggers: &auth0.ActionSupportedTriggersArgs{ +// Id: pulumi.String("custom-token-exchange"), +// Version: pulumi.String("v1"), +// }, +// }) +// if err != nil { +// return err +// } +// _, err = auth0.NewTokenExchangeProfile(ctx, "my_token_exchange_profile", &auth0.TokenExchangeProfileArgs{ +// Name: pulumi.String("token-exchange-prof"), +// SubjectTokenType: pulumi.String("https://acme.com/cis-token"), +// ActionId: myAction.ID(), +// Type: pulumi.String("custom_authentication"), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Import +// +// This resource can be imported using the token exchange profile ID. +// +// # +// +// Example: +// +// ```sh +// $ pulumi import auth0:index/tokenExchangeProfile:TokenExchangeProfile profile "tep_XXXXXXXXXXXXXX" +// ``` type TokenExchangeProfile struct { pulumi.CustomResourceState diff --git a/sdk/go/auth0/triggerAction.go b/sdk/go/auth0/triggerAction.go index ac6a4719..36127f8f 100644 --- a/sdk/go/auth0/triggerAction.go +++ b/sdk/go/auth0/triggerAction.go @@ -81,7 +81,7 @@ type TriggerAction struct { ActionId pulumi.StringOutput `pulumi:"actionId"` // The name for this action within the trigger. This can be useful for distinguishing between multiple instances of the same action bound to a trigger. Defaults to action name when not provided. DisplayName pulumi.StringOutput `pulumi:"displayName"` - // The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + // The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. Trigger pulumi.StringOutput `pulumi:"trigger"` } @@ -125,7 +125,7 @@ type triggerActionState struct { ActionId *string `pulumi:"actionId"` // The name for this action within the trigger. This can be useful for distinguishing between multiple instances of the same action bound to a trigger. Defaults to action name when not provided. DisplayName *string `pulumi:"displayName"` - // The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + // The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. Trigger *string `pulumi:"trigger"` } @@ -134,7 +134,7 @@ type TriggerActionState struct { ActionId pulumi.StringPtrInput // The name for this action within the trigger. This can be useful for distinguishing between multiple instances of the same action bound to a trigger. Defaults to action name when not provided. DisplayName pulumi.StringPtrInput - // The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + // The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. Trigger pulumi.StringPtrInput } @@ -147,7 +147,7 @@ type triggerActionArgs struct { ActionId string `pulumi:"actionId"` // The name for this action within the trigger. This can be useful for distinguishing between multiple instances of the same action bound to a trigger. Defaults to action name when not provided. DisplayName *string `pulumi:"displayName"` - // The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + // The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. Trigger string `pulumi:"trigger"` } @@ -157,7 +157,7 @@ type TriggerActionArgs struct { ActionId pulumi.StringInput // The name for this action within the trigger. This can be useful for distinguishing between multiple instances of the same action bound to a trigger. Defaults to action name when not provided. DisplayName pulumi.StringPtrInput - // The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + // The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. Trigger pulumi.StringInput } @@ -258,7 +258,7 @@ func (o TriggerActionOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v *TriggerAction) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) } -// The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. +// The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. func (o TriggerActionOutput) Trigger() pulumi.StringOutput { return o.ApplyT(func(v *TriggerAction) pulumi.StringOutput { return v.Trigger }).(pulumi.StringOutput) } diff --git a/sdk/go/auth0/triggerActions.go b/sdk/go/auth0/triggerActions.go index 2d363d12..5ec4aa91 100644 --- a/sdk/go/auth0/triggerActions.go +++ b/sdk/go/auth0/triggerActions.go @@ -94,7 +94,7 @@ type TriggerActions struct { // The list of actions bound to this trigger. Actions TriggerActionsActionArrayOutput `pulumi:"actions"` - // The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + // The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. Trigger pulumi.StringOutput `pulumi:"trigger"` } @@ -136,14 +136,14 @@ func GetTriggerActions(ctx *pulumi.Context, type triggerActionsState struct { // The list of actions bound to this trigger. Actions []TriggerActionsAction `pulumi:"actions"` - // The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + // The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. Trigger *string `pulumi:"trigger"` } type TriggerActionsState struct { // The list of actions bound to this trigger. Actions TriggerActionsActionArrayInput - // The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + // The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. Trigger pulumi.StringPtrInput } @@ -154,7 +154,7 @@ func (TriggerActionsState) ElementType() reflect.Type { type triggerActionsArgs struct { // The list of actions bound to this trigger. Actions []TriggerActionsAction `pulumi:"actions"` - // The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + // The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. Trigger string `pulumi:"trigger"` } @@ -162,7 +162,7 @@ type triggerActionsArgs struct { type TriggerActionsArgs struct { // The list of actions bound to this trigger. Actions TriggerActionsActionArrayInput - // The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + // The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. Trigger pulumi.StringInput } @@ -258,7 +258,7 @@ func (o TriggerActionsOutput) Actions() TriggerActionsActionArrayOutput { return o.ApplyT(func(v *TriggerActions) TriggerActionsActionArrayOutput { return v.Actions }).(TriggerActionsActionArrayOutput) } -// The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. +// The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. func (o TriggerActionsOutput) Trigger() pulumi.StringOutput { return o.ApplyT(func(v *TriggerActions) pulumi.StringOutput { return v.Trigger }).(pulumi.StringOutput) } diff --git a/sdk/java/build.gradle b/sdk/java/build.gradle index 3de1048e..1b2d011a 100644 --- a/sdk/java/build.gradle +++ b/sdk/java/build.gradle @@ -44,7 +44,7 @@ repositories { dependencies { implementation("com.google.code.findbugs:jsr305:3.0.2") implementation("com.google.code.gson:gson:2.8.9") - implementation("com.pulumi:pulumi:1.3.0") + implementation("com.pulumi:pulumi:1.4.0") } task sourcesJar(type: Jar) { diff --git a/sdk/java/src/main/java/com/pulumi/auth0/Auth0Functions.java b/sdk/java/src/main/java/com/pulumi/auth0/Auth0Functions.java index 3935baa7..fd47679b 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/Auth0Functions.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/Auth0Functions.java @@ -5031,41 +5031,6 @@ public static CompletableFuture getTenantPlain(InvokeArgs args, /** * Data source to retrieve a specific Auth0 Token Exchange Profile by `id` * - */ - public static Output getTokenExchangeProfile(GetTokenExchangeProfileArgs args) { - return getTokenExchangeProfile(args, InvokeOptions.Empty); - } - /** - * Data source to retrieve a specific Auth0 Token Exchange Profile by `id` - * - */ - public static CompletableFuture getTokenExchangeProfilePlain(GetTokenExchangeProfilePlainArgs args) { - return getTokenExchangeProfilePlain(args, InvokeOptions.Empty); - } - /** - * Data source to retrieve a specific Auth0 Token Exchange Profile by `id` - * - */ - public static Output getTokenExchangeProfile(GetTokenExchangeProfileArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("auth0:index/getTokenExchangeProfile:getTokenExchangeProfile", TypeShape.of(GetTokenExchangeProfileResult.class), args, Utilities.withVersion(options)); - } - /** - * Data source to retrieve a specific Auth0 Token Exchange Profile by `id` - * - */ - public static Output getTokenExchangeProfile(GetTokenExchangeProfileArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("auth0:index/getTokenExchangeProfile:getTokenExchangeProfile", TypeShape.of(GetTokenExchangeProfileResult.class), args, Utilities.withVersion(options)); - } - /** - * Data source to retrieve a specific Auth0 Token Exchange Profile by `id` - * - */ - public static CompletableFuture getTokenExchangeProfilePlain(GetTokenExchangeProfilePlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("auth0:index/getTokenExchangeProfile:getTokenExchangeProfile", TypeShape.of(GetTokenExchangeProfileResult.class), args, Utilities.withVersion(options)); - } - /** - * Data source to retrieve a specific Auth0 user by `user_id`. - * * ## Example Usage * * <!--Start PulumiCodeChooser --> @@ -5077,7 +5042,7 @@ public static CompletableFuture getTokenExchangeP * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.auth0.Auth0Functions; - * import com.pulumi.auth0.inputs.GetUserArgs; + * import com.pulumi.auth0.inputs.GetTokenExchangeProfileArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -5091,9 +5056,9 @@ public static CompletableFuture getTokenExchangeP * } * * public static void stack(Context ctx) { - * // An Auth0 User loaded using its ID. - * final var myUser = Auth0Functions.getUser(GetUserArgs.builder() - * .userId("auth0|34fdr23fdsfdfsf") + * // An Auth0 Token Exchange Profile loaded using its ID. + * final var myProfile = Auth0Functions.getTokenExchangeProfile(GetTokenExchangeProfileArgs.builder() + * .id("tep_Tnvl88SKv98TkMmr") * .build()); * * } @@ -5103,11 +5068,11 @@ public static CompletableFuture getTokenExchangeP * <!--End PulumiCodeChooser --> * */ - public static Output getUser(GetUserArgs args) { - return getUser(args, InvokeOptions.Empty); + public static Output getTokenExchangeProfile(GetTokenExchangeProfileArgs args) { + return getTokenExchangeProfile(args, InvokeOptions.Empty); } /** - * Data source to retrieve a specific Auth0 user by `user_id`. + * Data source to retrieve a specific Auth0 Token Exchange Profile by `id` * * ## Example Usage * @@ -5120,7 +5085,7 @@ public static Output getUser(GetUserArgs args) { * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.auth0.Auth0Functions; - * import com.pulumi.auth0.inputs.GetUserArgs; + * import com.pulumi.auth0.inputs.GetTokenExchangeProfileArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -5134,9 +5099,9 @@ public static Output getUser(GetUserArgs args) { * } * * public static void stack(Context ctx) { - * // An Auth0 User loaded using its ID. - * final var myUser = Auth0Functions.getUser(GetUserArgs.builder() - * .userId("auth0|34fdr23fdsfdfsf") + * // An Auth0 Token Exchange Profile loaded using its ID. + * final var myProfile = Auth0Functions.getTokenExchangeProfile(GetTokenExchangeProfileArgs.builder() + * .id("tep_Tnvl88SKv98TkMmr") * .build()); * * } @@ -5146,11 +5111,11 @@ public static Output getUser(GetUserArgs args) { * <!--End PulumiCodeChooser --> * */ - public static CompletableFuture getUserPlain(GetUserPlainArgs args) { - return getUserPlain(args, InvokeOptions.Empty); + public static CompletableFuture getTokenExchangeProfilePlain(GetTokenExchangeProfilePlainArgs args) { + return getTokenExchangeProfilePlain(args, InvokeOptions.Empty); } /** - * Data source to retrieve a specific Auth0 user by `user_id`. + * Data source to retrieve a specific Auth0 Token Exchange Profile by `id` * * ## Example Usage * @@ -5163,7 +5128,7 @@ public static CompletableFuture getUserPlain(GetUserPlainArgs arg * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.auth0.Auth0Functions; - * import com.pulumi.auth0.inputs.GetUserArgs; + * import com.pulumi.auth0.inputs.GetTokenExchangeProfileArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -5177,9 +5142,9 @@ public static CompletableFuture getUserPlain(GetUserPlainArgs arg * } * * public static void stack(Context ctx) { - * // An Auth0 User loaded using its ID. - * final var myUser = Auth0Functions.getUser(GetUserArgs.builder() - * .userId("auth0|34fdr23fdsfdfsf") + * // An Auth0 Token Exchange Profile loaded using its ID. + * final var myProfile = Auth0Functions.getTokenExchangeProfile(GetTokenExchangeProfileArgs.builder() + * .id("tep_Tnvl88SKv98TkMmr") * .build()); * * } @@ -5189,11 +5154,11 @@ public static CompletableFuture getUserPlain(GetUserPlainArgs arg * <!--End PulumiCodeChooser --> * */ - public static Output getUser(GetUserArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("auth0:index/getUser:getUser", TypeShape.of(GetUserResult.class), args, Utilities.withVersion(options)); + public static Output getTokenExchangeProfile(GetTokenExchangeProfileArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("auth0:index/getTokenExchangeProfile:getTokenExchangeProfile", TypeShape.of(GetTokenExchangeProfileResult.class), args, Utilities.withVersion(options)); } /** - * Data source to retrieve a specific Auth0 user by `user_id`. + * Data source to retrieve a specific Auth0 Token Exchange Profile by `id` * * ## Example Usage * @@ -5206,7 +5171,7 @@ public static Output getUser(GetUserArgs args, InvokeOptions opti * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.auth0.Auth0Functions; - * import com.pulumi.auth0.inputs.GetUserArgs; + * import com.pulumi.auth0.inputs.GetTokenExchangeProfileArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -5220,9 +5185,9 @@ public static Output getUser(GetUserArgs args, InvokeOptions opti * } * * public static void stack(Context ctx) { - * // An Auth0 User loaded using its ID. - * final var myUser = Auth0Functions.getUser(GetUserArgs.builder() - * .userId("auth0|34fdr23fdsfdfsf") + * // An Auth0 Token Exchange Profile loaded using its ID. + * final var myProfile = Auth0Functions.getTokenExchangeProfile(GetTokenExchangeProfileArgs.builder() + * .id("tep_Tnvl88SKv98TkMmr") * .build()); * * } @@ -5232,11 +5197,11 @@ public static Output getUser(GetUserArgs args, InvokeOptions opti * <!--End PulumiCodeChooser --> * */ - public static Output getUser(GetUserArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("auth0:index/getUser:getUser", TypeShape.of(GetUserResult.class), args, Utilities.withVersion(options)); + public static Output getTokenExchangeProfile(GetTokenExchangeProfileArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("auth0:index/getTokenExchangeProfile:getTokenExchangeProfile", TypeShape.of(GetTokenExchangeProfileResult.class), args, Utilities.withVersion(options)); } /** - * Data source to retrieve a specific Auth0 user by `user_id`. + * Data source to retrieve a specific Auth0 Token Exchange Profile by `id` * * ## Example Usage * @@ -5249,7 +5214,7 @@ public static Output getUser(GetUserArgs args, InvokeOutputOption * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.auth0.Auth0Functions; - * import com.pulumi.auth0.inputs.GetUserArgs; + * import com.pulumi.auth0.inputs.GetTokenExchangeProfileArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -5263,9 +5228,9 @@ public static Output getUser(GetUserArgs args, InvokeOutputOption * } * * public static void stack(Context ctx) { - * // An Auth0 User loaded using its ID. - * final var myUser = Auth0Functions.getUser(GetUserArgs.builder() - * .userId("auth0|34fdr23fdsfdfsf") + * // An Auth0 Token Exchange Profile loaded using its ID. + * final var myProfile = Auth0Functions.getTokenExchangeProfile(GetTokenExchangeProfileArgs.builder() + * .id("tep_Tnvl88SKv98TkMmr") * .build()); * * } @@ -5275,6 +5240,55 @@ public static Output getUser(GetUserArgs args, InvokeOutputOption * <!--End PulumiCodeChooser --> * */ + public static CompletableFuture getTokenExchangeProfilePlain(GetTokenExchangeProfilePlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("auth0:index/getTokenExchangeProfile:getTokenExchangeProfile", TypeShape.of(GetTokenExchangeProfileResult.class), args, Utilities.withVersion(options)); + } + /** + * Data source to retrieve a specific Auth0 user by `user_id` or by `lucene query`. If filtered by Lucene Query, it should include sufficient filters to retrieve a unique user. + * + */ + public static Output getUser() { + return getUser(GetUserArgs.Empty, InvokeOptions.Empty); + } + /** + * Data source to retrieve a specific Auth0 user by `user_id` or by `lucene query`. If filtered by Lucene Query, it should include sufficient filters to retrieve a unique user. + * + */ + public static CompletableFuture getUserPlain() { + return getUserPlain(GetUserPlainArgs.Empty, InvokeOptions.Empty); + } + /** + * Data source to retrieve a specific Auth0 user by `user_id` or by `lucene query`. If filtered by Lucene Query, it should include sufficient filters to retrieve a unique user. + * + */ + public static Output getUser(GetUserArgs args) { + return getUser(args, InvokeOptions.Empty); + } + /** + * Data source to retrieve a specific Auth0 user by `user_id` or by `lucene query`. If filtered by Lucene Query, it should include sufficient filters to retrieve a unique user. + * + */ + public static CompletableFuture getUserPlain(GetUserPlainArgs args) { + return getUserPlain(args, InvokeOptions.Empty); + } + /** + * Data source to retrieve a specific Auth0 user by `user_id` or by `lucene query`. If filtered by Lucene Query, it should include sufficient filters to retrieve a unique user. + * + */ + public static Output getUser(GetUserArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("auth0:index/getUser:getUser", TypeShape.of(GetUserResult.class), args, Utilities.withVersion(options)); + } + /** + * Data source to retrieve a specific Auth0 user by `user_id` or by `lucene query`. If filtered by Lucene Query, it should include sufficient filters to retrieve a unique user. + * + */ + public static Output getUser(GetUserArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("auth0:index/getUser:getUser", TypeShape.of(GetUserResult.class), args, Utilities.withVersion(options)); + } + /** + * Data source to retrieve a specific Auth0 user by `user_id` or by `lucene query`. If filtered by Lucene Query, it should include sufficient filters to retrieve a unique user. + * + */ public static CompletableFuture getUserPlain(GetUserPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("auth0:index/getUser:getUser", TypeShape.of(GetUserResult.class), args, Utilities.withVersion(options)); } diff --git a/sdk/java/src/main/java/com/pulumi/auth0/Client.java b/sdk/java/src/main/java/com/pulumi/auth0/Client.java index 6e7060b0..235c47fa 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/Client.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/Client.java @@ -28,106 +28,6 @@ /** * With this resource, you can set up applications that use Auth0 for authentication and configure allowed callback URLs and secrets for these applications. * - * ## Example Usage - * - * <!--Start PulumiCodeChooser --> - *
- * {@code
- * package generated_program;
- * 
- * import com.pulumi.Context;
- * import com.pulumi.Pulumi;
- * import com.pulumi.core.Output;
- * import com.pulumi.auth0.Client;
- * import com.pulumi.auth0.ClientArgs;
- * import com.pulumi.auth0.inputs.ClientJwtConfigurationArgs;
- * import com.pulumi.auth0.inputs.ClientRefreshTokenArgs;
- * import com.pulumi.auth0.inputs.ClientMobileArgs;
- * import com.pulumi.auth0.inputs.ClientMobileIosArgs;
- * import com.pulumi.auth0.inputs.ClientAddonsArgs;
- * import com.pulumi.auth0.inputs.ClientAddonsSamlpArgs;
- * import java.util.List;
- * import java.util.ArrayList;
- * import java.util.Map;
- * import java.io.File;
- * import java.nio.file.Files;
- * import java.nio.file.Paths;
- * 
- * public class App {
- *     public static void main(String[] args) {
- *         Pulumi.run(App::stack);
- *     }
- * 
- *     public static void stack(Context ctx) {
- *         var myClient = new Client("myClient", ClientArgs.builder()
- *             .name("Application - Acceptance Test")
- *             .description("Test Applications Long Description")
- *             .appType("non_interactive")
- *             .complianceLevel("none")
- *             .customLoginPageOn(true)
- *             .isFirstParty(true)
- *             .isTokenEndpointIpHeaderTrusted(true)
- *             .oidcConformant(false)
- *             .callbacks("https://example.com/callback")
- *             .allowedOrigins("https://example.com")
- *             .allowedLogoutUrls("https://example.com")
- *             .webOrigins("https://example.com")
- *             .requireProofOfPossession(false)
- *             .grantTypes(            
- *                 "authorization_code",
- *                 "http://auth0.com/oauth/grant-type/password-realm",
- *                 "implicit",
- *                 "password",
- *                 "refresh_token")
- *             .clientMetadata(Map.of("foo", "zoo"))
- *             .jwtConfiguration(ClientJwtConfigurationArgs.builder()
- *                 .lifetimeInSeconds(300)
- *                 .secretEncoded(true)
- *                 .alg("RS256")
- *                 .scopes(Map.of("foo", "bar"))
- *                 .build())
- *             .refreshToken(ClientRefreshTokenArgs.builder()
- *                 .leeway(0)
- *                 .tokenLifetime(2592000)
- *                 .rotationType("rotating")
- *                 .expirationType("expiring")
- *                 .build())
- *             .mobile(ClientMobileArgs.builder()
- *                 .ios(ClientMobileIosArgs.builder()
- *                     .teamId("9JA89QQLNQ")
- *                     .appBundleIdentifier("com.my.bundle.id")
- *                     .build())
- *                 .build())
- *             .addons(ClientAddonsArgs.builder()
- *                 .samlp(ClientAddonsSamlpArgs.builder()
- *                     .audience("https://example.com/saml")
- *                     .issuer("https://example.com")
- *                     .mappings(Map.ofEntries(
- *                         Map.entry("email", "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"),
- *                         Map.entry("name", "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name")
- *                     ))
- *                     .createUpnClaim(false)
- *                     .passthroughClaimsWithNoMapping(false)
- *                     .mapUnknownClaimsAsIs(false)
- *                     .mapIdentities(false)
- *                     .nameIdentifierFormat("urn:oasis:names:tc:SAML:2.0:nameid-format:persistent")
- *                     .nameIdentifierProbes("http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress")
- *                     .signingCert("""
- * -----BEGIN PUBLIC KEY-----
- * MIGf...bpP/t3
- * +JGNGIRMj1hF1rnb6QIDAQAB
- * -----END PUBLIC KEY-----
- *                     """)
- *                     .build())
- *                 .build())
- *             .build());
- * 
- *     }
- * }
- * }
- * 
- * <!--End PulumiCodeChooser --> - * * ## Import * * This resource can be imported by specifying the client ID. diff --git a/sdk/java/src/main/java/com/pulumi/auth0/Connection.java b/sdk/java/src/main/java/com/pulumi/auth0/Connection.java index 6594ad67..190cb222 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/Connection.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/Connection.java @@ -820,6 +820,8 @@ * .signingCert("") * .signInEndpoint("https://saml.provider/sign_in") * .signOutEndpoint("https://saml.provider/sign_out") + * .globalTokenRevocationJwtIss("issuer.example.com") + * .globalTokenRevocationJwtSub("user123") * .disableSignOut(true) * .strategyVersion(2) * .tenantDomain("example.com") diff --git a/sdk/java/src/main/java/com/pulumi/auth0/LogStream.java b/sdk/java/src/main/java/com/pulumi/auth0/LogStream.java index d4c29d05..48ee4061 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/LogStream.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/LogStream.java @@ -11,6 +11,7 @@ import com.pulumi.core.annotations.Export; import com.pulumi.core.annotations.ResourceType; import com.pulumi.core.internal.Codegen; +import java.lang.Boolean; import java.lang.String; import java.util.List; import java.util.Map; @@ -20,6 +21,9 @@ /** * With this resource, you can manage your Auth0 log streams. * + * !> isPriority is a field that can be set while the resource is being created. + * This cannot be updated once set. Updating the value might result in a noisy plan. + * * ## Example Usage * * <!--Start PulumiCodeChooser --> @@ -117,6 +121,20 @@ public class LogStream extends com.pulumi.resources.CustomResource { public Output>>> filters() { return Codegen.optional(this.filters); } + /** + * Set True for priority log streams, False for non-priority + * + */ + @Export(name="isPriority", refs={Boolean.class}, tree="[0]") + private Output isPriority; + + /** + * @return Set True for priority log streams, False for non-priority + * + */ + public Output> isPriority() { + return Codegen.optional(this.isPriority); + } /** * Name of the log stream. * diff --git a/sdk/java/src/main/java/com/pulumi/auth0/LogStreamArgs.java b/sdk/java/src/main/java/com/pulumi/auth0/LogStreamArgs.java index fffc6e7c..4222fbc0 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/LogStreamArgs.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/LogStreamArgs.java @@ -7,6 +7,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; import java.lang.String; import java.util.List; import java.util.Map; @@ -34,6 +35,21 @@ public Optional>>> filters() { return Optional.ofNullable(this.filters); } + /** + * Set True for priority log streams, False for non-priority + * + */ + @Import(name="isPriority") + private @Nullable Output isPriority; + + /** + * @return Set True for priority log streams, False for non-priority + * + */ + public Optional> isPriority() { + return Optional.ofNullable(this.isPriority); + } + /** * Name of the log stream. * @@ -98,6 +114,7 @@ private LogStreamArgs() {} private LogStreamArgs(LogStreamArgs $) { this.filters = $.filters; + this.isPriority = $.isPriority; this.name = $.name; this.sink = $.sink; this.status = $.status; @@ -153,6 +170,27 @@ public Builder filters(Map... filters) { return filters(List.of(filters)); } + /** + * @param isPriority Set True for priority log streams, False for non-priority + * + * @return builder + * + */ + public Builder isPriority(@Nullable Output isPriority) { + $.isPriority = isPriority; + return this; + } + + /** + * @param isPriority Set True for priority log streams, False for non-priority + * + * @return builder + * + */ + public Builder isPriority(Boolean isPriority) { + return isPriority(Output.of(isPriority)); + } + /** * @param name Name of the log stream. * diff --git a/sdk/java/src/main/java/com/pulumi/auth0/PromptPartials.java b/sdk/java/src/main/java/com/pulumi/auth0/PromptPartials.java index 598bfe72..c657b021 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/PromptPartials.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/PromptPartials.java @@ -149,7 +149,7 @@ public Output> formFooterStart() { return Codegen.optional(this.formFooterStart); } /** - * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. * * @deprecated * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. @@ -160,7 +160,7 @@ public Output> formFooterStart() { private Output prompt; /** - * @return The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * @return The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. * */ public Output prompt() { diff --git a/sdk/java/src/main/java/com/pulumi/auth0/PromptPartialsArgs.java b/sdk/java/src/main/java/com/pulumi/auth0/PromptPartialsArgs.java index 45504ad5..5c264701 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/PromptPartialsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/PromptPartialsArgs.java @@ -109,7 +109,7 @@ public Optional> formFooterStart() { } /** - * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. * * @deprecated * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. @@ -120,7 +120,7 @@ public Optional> formFooterStart() { private Output prompt; /** - * @return The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * @return The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. * * @deprecated * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. @@ -324,7 +324,7 @@ public Builder formFooterStart(String formFooterStart) { } /** - * @param prompt The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * @param prompt The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. * * @return builder * @@ -339,7 +339,7 @@ public Builder prompt(Output prompt) { } /** - * @param prompt The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * @param prompt The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/auth0/PromptScreenPartial.java b/sdk/java/src/main/java/com/pulumi/auth0/PromptScreenPartial.java index 9fff0b8e..8b3242b9 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/PromptScreenPartial.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/PromptScreenPartial.java @@ -58,6 +58,14 @@ * .build()) * .build()); * + * var customized_consent = new PromptScreenPartial("customized-consent", PromptScreenPartialArgs.builder() + * .promptType("customized-consent") + * .screenName("customized-consent") + * .insertionPoints(PromptScreenPartialInsertionPointsArgs.builder() + * .formContent("
Form Content
") + * .build()) + * .build()); + * * } * } * } @@ -102,14 +110,14 @@ public Output> insertionPoints() { return Codegen.optional(this.insertionPoints); } /** - * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. * */ @Export(name="promptType", refs={String.class}, tree="[0]") private Output promptType; /** - * @return The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * @return The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. * */ public Output promptType() { diff --git a/sdk/java/src/main/java/com/pulumi/auth0/PromptScreenPartialArgs.java b/sdk/java/src/main/java/com/pulumi/auth0/PromptScreenPartialArgs.java index aceb06df..b8928aa0 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/PromptScreenPartialArgs.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/PromptScreenPartialArgs.java @@ -33,14 +33,14 @@ public Optional> insertionPoints( } /** - * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. * */ @Import(name="promptType", required=true) private Output promptType; /** - * @return The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * @return The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. * */ public Output promptType() { @@ -110,7 +110,7 @@ public Builder insertionPoints(PromptScreenPartialInsertionPointsArgs insertionP } /** - * @param promptType The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * @param promptType The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. * * @return builder * @@ -121,7 +121,7 @@ public Builder promptType(Output promptType) { } /** - * @param promptType The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * @param promptType The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/auth0/PromptScreenPartials.java b/sdk/java/src/main/java/com/pulumi/auth0/PromptScreenPartials.java index 3eb300aa..2e8fb9a8 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/PromptScreenPartials.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/PromptScreenPartials.java @@ -70,6 +70,16 @@ * .build()) * .build()); * + * var customized_consent = new PromptScreenPartials("customized-consent", PromptScreenPartialsArgs.builder() + * .promptType("customized-consent") + * .screenPartials(PromptScreenPartialsScreenPartialArgs.builder() + * .screenName("customized-consent") + * .insertionPoints(PromptScreenPartialsScreenPartialInsertionPointsArgs.builder() + * .formContent("
Form Content
") + * .build()) + * .build()) + * .build()); + * * } * } * } @@ -92,14 +102,14 @@ @ResourceType(type="auth0:index/promptScreenPartials:PromptScreenPartials") public class PromptScreenPartials extends com.pulumi.resources.CustomResource { /** - * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. * */ @Export(name="promptType", refs={String.class}, tree="[0]") private Output promptType; /** - * @return The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * @return The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. * */ public Output promptType() { diff --git a/sdk/java/src/main/java/com/pulumi/auth0/PromptScreenPartialsArgs.java b/sdk/java/src/main/java/com/pulumi/auth0/PromptScreenPartialsArgs.java index eea80293..510dcf13 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/PromptScreenPartialsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/PromptScreenPartialsArgs.java @@ -19,14 +19,14 @@ public final class PromptScreenPartialsArgs extends com.pulumi.resources.Resourc public static final PromptScreenPartialsArgs Empty = new PromptScreenPartialsArgs(); /** - * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. * */ @Import(name="promptType", required=true) private Output promptType; /** - * @return The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * @return The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. * */ public Output promptType() { @@ -66,7 +66,7 @@ public Builder(PromptScreenPartialsArgs defaults) { } /** - * @param promptType The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * @param promptType The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. * * @return builder * @@ -77,7 +77,7 @@ public Builder promptType(Output promptType) { } /** - * @param promptType The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * @param promptType The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/auth0/PromptScreenRenderer.java b/sdk/java/src/main/java/com/pulumi/auth0/PromptScreenRenderer.java index ca49a34e..1774edab 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/PromptScreenRenderer.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/PromptScreenRenderer.java @@ -152,14 +152,14 @@ public Output headTags() { return this.headTags; } /** - * The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`. + * The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`, `mfa`, `mfa-sms`, `mfa-email`, `mfa-push`. * */ @Export(name="promptType", refs={String.class}, tree="[0]") private Output promptType; /** - * @return The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`. + * @return The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`, `mfa`, `mfa-sms`, `mfa-email`, `mfa-push`. * */ public Output promptType() { @@ -180,14 +180,14 @@ public Output> renderingMode() { return Codegen.optional(this.renderingMode); } /** - * The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`. + * The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`, `mfa-detect-browser-capabilities`, `mfa-enroll-result`, `mfa-begin-enroll-options`, `mfa-login-options`, `mfa-country-codes`, `mfa-sms-challenge`, `mfa-sms-enrollment`, `mfa-sms-list`, `mfa-email-challenge`, `mfa-email-list`, `mfa-push-challenge-push`, `mfa-push-enrollment-qr`, `mfa-push-list`, `mfa-push-welcome`. * */ @Export(name="screenName", refs={String.class}, tree="[0]") private Output screenName; /** - * @return The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`. + * @return The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`, `mfa-detect-browser-capabilities`, `mfa-enroll-result`, `mfa-begin-enroll-options`, `mfa-login-options`, `mfa-country-codes`, `mfa-sms-challenge`, `mfa-sms-enrollment`, `mfa-sms-list`, `mfa-email-challenge`, `mfa-email-list`, `mfa-push-challenge-push`, `mfa-push-enrollment-qr`, `mfa-push-list`, `mfa-push-welcome`. * */ public Output screenName() { diff --git a/sdk/java/src/main/java/com/pulumi/auth0/PromptScreenRendererArgs.java b/sdk/java/src/main/java/com/pulumi/auth0/PromptScreenRendererArgs.java index 9a125025..8ed11bed 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/PromptScreenRendererArgs.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/PromptScreenRendererArgs.java @@ -64,14 +64,14 @@ public Optional> headTags() { } /** - * The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`. + * The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`, `mfa`, `mfa-sms`, `mfa-email`, `mfa-push`. * */ @Import(name="promptType", required=true) private Output promptType; /** - * @return The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`. + * @return The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`, `mfa`, `mfa-sms`, `mfa-email`, `mfa-push`. * */ public Output promptType() { @@ -94,14 +94,14 @@ public Optional> renderingMode() { } /** - * The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`. + * The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`, `mfa-detect-browser-capabilities`, `mfa-enroll-result`, `mfa-begin-enroll-options`, `mfa-login-options`, `mfa-country-codes`, `mfa-sms-challenge`, `mfa-sms-enrollment`, `mfa-sms-list`, `mfa-email-challenge`, `mfa-email-list`, `mfa-push-challenge-push`, `mfa-push-enrollment-qr`, `mfa-push-list`, `mfa-push-welcome`. * */ @Import(name="screenName", required=true) private Output screenName; /** - * @return The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`. + * @return The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`, `mfa-detect-browser-capabilities`, `mfa-enroll-result`, `mfa-begin-enroll-options`, `mfa-login-options`, `mfa-country-codes`, `mfa-sms-challenge`, `mfa-sms-enrollment`, `mfa-sms-list`, `mfa-email-challenge`, `mfa-email-list`, `mfa-push-challenge-push`, `mfa-push-enrollment-qr`, `mfa-push-list`, `mfa-push-welcome`. * */ public Output screenName() { @@ -211,7 +211,7 @@ public Builder headTags(String headTags) { } /** - * @param promptType The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`. + * @param promptType The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`, `mfa`, `mfa-sms`, `mfa-email`, `mfa-push`. * * @return builder * @@ -222,7 +222,7 @@ public Builder promptType(Output promptType) { } /** - * @param promptType The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`. + * @param promptType The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`, `mfa`, `mfa-sms`, `mfa-email`, `mfa-push`. * * @return builder * @@ -253,7 +253,7 @@ public Builder renderingMode(String renderingMode) { } /** - * @param screenName The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`. + * @param screenName The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`, `mfa-detect-browser-capabilities`, `mfa-enroll-result`, `mfa-begin-enroll-options`, `mfa-login-options`, `mfa-country-codes`, `mfa-sms-challenge`, `mfa-sms-enrollment`, `mfa-sms-list`, `mfa-email-challenge`, `mfa-email-list`, `mfa-push-challenge-push`, `mfa-push-enrollment-qr`, `mfa-push-list`, `mfa-push-welcome`. * * @return builder * @@ -264,7 +264,7 @@ public Builder screenName(Output screenName) { } /** - * @param screenName The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`. + * @param screenName The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`, `mfa-detect-browser-capabilities`, `mfa-enroll-result`, `mfa-begin-enroll-options`, `mfa-login-options`, `mfa-country-codes`, `mfa-sms-challenge`, `mfa-sms-enrollment`, `mfa-sms-list`, `mfa-email-challenge`, `mfa-email-list`, `mfa-push-challenge-push`, `mfa-push-enrollment-qr`, `mfa-push-list`, `mfa-push-welcome`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/auth0/TokenExchangeProfile.java b/sdk/java/src/main/java/com/pulumi/auth0/TokenExchangeProfile.java index 1176b5f2..8b74ca26 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/TokenExchangeProfile.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/TokenExchangeProfile.java @@ -17,6 +17,75 @@ /** * With this resource, you can manage Auth0 Custom Token Exchange Profiles * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+ * {@code
+ * package generated_program;
+ * 
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.auth0.Action;
+ * import com.pulumi.auth0.ActionArgs;
+ * import com.pulumi.auth0.inputs.ActionSupportedTriggersArgs;
+ * import com.pulumi.auth0.TokenExchangeProfile;
+ * import com.pulumi.auth0.TokenExchangeProfileArgs;
+ * import java.util.List;
+ * import java.util.ArrayList;
+ * import java.util.Map;
+ * import java.io.File;
+ * import java.nio.file.Files;
+ * import java.nio.file.Paths;
+ * 
+ * public class App {
+ *     public static void main(String[] args) {
+ *         Pulumi.run(App::stack);
+ *     }
+ * 
+ *     public static void stack(Context ctx) {
+ *         // Below action is created with custom-token-exchange as supported_triggers
+ *         // This action is then linked using the action_id param to the token-exchange profile
+ *         var myAction = new Action("myAction", ActionArgs.builder()
+ *             .name("TokenExchange-Action")
+ *             .code("""
+ * exports.onContinuePostLogin = async (event, api) => {
+ * 	console.log("foo")
+ * };"
+ *             """)
+ *             .deploy(true)
+ *             .supportedTriggers(ActionSupportedTriggersArgs.builder()
+ *                 .id("custom-token-exchange")
+ *                 .version("v1")
+ *                 .build())
+ *             .build());
+ * 
+ *         var myTokenExchangeProfile = new TokenExchangeProfile("myTokenExchangeProfile", TokenExchangeProfileArgs.builder()
+ *             .name("token-exchange-prof")
+ *             .subjectTokenType("https://acme.com/cis-token")
+ *             .actionId(myAction.id())
+ *             .type("custom_authentication")
+ *             .build());
+ * 
+ *     }
+ * }
+ * }
+ * 
+ * <!--End PulumiCodeChooser --> + * + * ## Import + * + * This resource can be imported using the token exchange profile ID. + * + * # + * + * Example: + * + * ```sh + * $ pulumi import auth0:index/tokenExchangeProfile:TokenExchangeProfile profile "tep_XXXXXXXXXXXXXX" + * ``` + * */ @ResourceType(type="auth0:index/tokenExchangeProfile:TokenExchangeProfile") public class TokenExchangeProfile extends com.pulumi.resources.CustomResource { diff --git a/sdk/java/src/main/java/com/pulumi/auth0/TriggerAction.java b/sdk/java/src/main/java/com/pulumi/auth0/TriggerAction.java index 084c75b2..46a83a3f 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/TriggerAction.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/TriggerAction.java @@ -123,14 +123,14 @@ public Output displayName() { return this.displayName; } /** - * The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + * The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. * */ @Export(name="trigger", refs={String.class}, tree="[0]") private Output trigger; /** - * @return The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + * @return The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. * */ public Output trigger() { diff --git a/sdk/java/src/main/java/com/pulumi/auth0/TriggerActionArgs.java b/sdk/java/src/main/java/com/pulumi/auth0/TriggerActionArgs.java index 384a0b43..a8c617ea 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/TriggerActionArgs.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/TriggerActionArgs.java @@ -47,14 +47,14 @@ public Optional> displayName() { } /** - * The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + * The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. * */ @Import(name="trigger", required=true) private Output trigger; /** - * @return The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + * @return The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. * */ public Output trigger() { @@ -130,7 +130,7 @@ public Builder displayName(String displayName) { } /** - * @param trigger The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + * @param trigger The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. * * @return builder * @@ -141,7 +141,7 @@ public Builder trigger(Output trigger) { } /** - * @param trigger The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + * @param trigger The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/auth0/TriggerActions.java b/sdk/java/src/main/java/com/pulumi/auth0/TriggerActions.java index 490cad6d..00dab936 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/TriggerActions.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/TriggerActions.java @@ -128,14 +128,14 @@ public Output> actions() { return this.actions; } /** - * The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + * The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. * */ @Export(name="trigger", refs={String.class}, tree="[0]") private Output trigger; /** - * @return The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + * @return The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. * */ public Output trigger() { diff --git a/sdk/java/src/main/java/com/pulumi/auth0/TriggerActionsArgs.java b/sdk/java/src/main/java/com/pulumi/auth0/TriggerActionsArgs.java index 6a6f7b21..ee3e5ab3 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/TriggerActionsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/TriggerActionsArgs.java @@ -32,14 +32,14 @@ public Output> actions() { } /** - * The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + * The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. * */ @Import(name="trigger", required=true) private Output trigger; /** - * @return The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + * @return The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. * */ public Output trigger() { @@ -103,7 +103,7 @@ public Builder actions(TriggerActionsActionArgs... actions) { } /** - * @param trigger The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + * @param trigger The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. * * @return builder * @@ -114,7 +114,7 @@ public Builder trigger(Output trigger) { } /** - * @param trigger The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + * @param trigger The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/auth0/inputs/BrandingThemeColorsArgs.java b/sdk/java/src/main/java/com/pulumi/auth0/inputs/BrandingThemeColorsArgs.java index 128f672d..36125100 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/inputs/BrandingThemeColorsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/inputs/BrandingThemeColorsArgs.java @@ -60,6 +60,21 @@ public Optional> bodyText() { return Optional.ofNullable(this.bodyText); } + /** + * Captcha Widget Theme. + * + */ + @Import(name="captchaWidgetTheme") + private @Nullable Output captchaWidgetTheme; + + /** + * @return Captcha Widget Theme. + * + */ + public Optional> captchaWidgetTheme() { + return Optional.ofNullable(this.captchaWidgetTheme); + } + /** * Error. Defaults to `#d03c38`. * @@ -291,6 +306,7 @@ private BrandingThemeColorsArgs(BrandingThemeColorsArgs $) { this.baseFocusColor = $.baseFocusColor; this.baseHoverColor = $.baseHoverColor; this.bodyText = $.bodyText; + this.captchaWidgetTheme = $.captchaWidgetTheme; this.error = $.error; this.header = $.header; this.icons = $.icons; @@ -389,6 +405,27 @@ public Builder bodyText(String bodyText) { return bodyText(Output.of(bodyText)); } + /** + * @param captchaWidgetTheme Captcha Widget Theme. + * + * @return builder + * + */ + public Builder captchaWidgetTheme(@Nullable Output captchaWidgetTheme) { + $.captchaWidgetTheme = captchaWidgetTheme; + return this; + } + + /** + * @param captchaWidgetTheme Captcha Widget Theme. + * + * @return builder + * + */ + public Builder captchaWidgetTheme(String captchaWidgetTheme) { + return captchaWidgetTheme(Output.of(captchaWidgetTheme)); + } + /** * @param error Error. Defaults to `#d03c38`. * diff --git a/sdk/java/src/main/java/com/pulumi/auth0/inputs/ClientNativeSocialLoginArgs.java b/sdk/java/src/main/java/com/pulumi/auth0/inputs/ClientNativeSocialLoginArgs.java index 91e27b09..2cacfd15 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/inputs/ClientNativeSocialLoginArgs.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/inputs/ClientNativeSocialLoginArgs.java @@ -5,6 +5,7 @@ import com.pulumi.auth0.inputs.ClientNativeSocialLoginAppleArgs; import com.pulumi.auth0.inputs.ClientNativeSocialLoginFacebookArgs; +import com.pulumi.auth0.inputs.ClientNativeSocialLoginGoogleArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import java.util.Objects; @@ -30,11 +31,19 @@ public Optional> facebook() { return Optional.ofNullable(this.facebook); } + @Import(name="google") + private @Nullable Output google; + + public Optional> google() { + return Optional.ofNullable(this.google); + } + private ClientNativeSocialLoginArgs() {} private ClientNativeSocialLoginArgs(ClientNativeSocialLoginArgs $) { this.apple = $.apple; this.facebook = $.facebook; + this.google = $.google; } public static Builder builder() { @@ -73,6 +82,15 @@ public Builder facebook(ClientNativeSocialLoginFacebookArgs facebook) { return facebook(Output.of(facebook)); } + public Builder google(@Nullable Output google) { + $.google = google; + return this; + } + + public Builder google(ClientNativeSocialLoginGoogleArgs google) { + return google(Output.of(google)); + } + public ClientNativeSocialLoginArgs build() { return $; } diff --git a/sdk/java/src/main/java/com/pulumi/auth0/inputs/ClientNativeSocialLoginGoogleArgs.java b/sdk/java/src/main/java/com/pulumi/auth0/inputs/ClientNativeSocialLoginGoogleArgs.java new file mode 100644 index 00000000..79039d41 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/auth0/inputs/ClientNativeSocialLoginGoogleArgs.java @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.auth0.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class ClientNativeSocialLoginGoogleArgs extends com.pulumi.resources.ResourceArgs { + + public static final ClientNativeSocialLoginGoogleArgs Empty = new ClientNativeSocialLoginGoogleArgs(); + + @Import(name="enabled") + private @Nullable Output enabled; + + public Optional> enabled() { + return Optional.ofNullable(this.enabled); + } + + private ClientNativeSocialLoginGoogleArgs() {} + + private ClientNativeSocialLoginGoogleArgs(ClientNativeSocialLoginGoogleArgs $) { + this.enabled = $.enabled; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ClientNativeSocialLoginGoogleArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ClientNativeSocialLoginGoogleArgs $; + + public Builder() { + $ = new ClientNativeSocialLoginGoogleArgs(); + } + + public Builder(ClientNativeSocialLoginGoogleArgs defaults) { + $ = new ClientNativeSocialLoginGoogleArgs(Objects.requireNonNull(defaults)); + } + + public Builder enabled(@Nullable Output enabled) { + $.enabled = enabled; + return this; + } + + public Builder enabled(Boolean enabled) { + return enabled(Output.of(enabled)); + } + + public ClientNativeSocialLoginGoogleArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/auth0/inputs/ConnectionOptionsArgs.java b/sdk/java/src/main/java/com/pulumi/auth0/inputs/ConnectionOptionsArgs.java index b8d509f9..398d2f26 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/inputs/ConnectionOptionsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/inputs/ConnectionOptionsArgs.java @@ -560,6 +560,36 @@ public Optional> gatewayUrl() { return Optional.ofNullable(this.gatewayUrl); } + /** + * Specifies the issuer of the JWT used for global token revocation for the SAML connection. + * + */ + @Import(name="globalTokenRevocationJwtIss") + private @Nullable Output globalTokenRevocationJwtIss; + + /** + * @return Specifies the issuer of the JWT used for global token revocation for the SAML connection. + * + */ + public Optional> globalTokenRevocationJwtIss() { + return Optional.ofNullable(this.globalTokenRevocationJwtIss); + } + + /** + * Specifies the subject of the JWT used for global token revocation for the SAML connection. + * + */ + @Import(name="globalTokenRevocationJwtSub") + private @Nullable Output globalTokenRevocationJwtSub; + + /** + * @return Specifies the subject of the JWT used for global token revocation for the SAML connection. + * + */ + public Optional> globalTokenRevocationJwtSub() { + return Optional.ofNullable(this.globalTokenRevocationJwtSub); + } + /** * Icon URL. * @@ -1483,6 +1513,8 @@ private ConnectionOptionsArgs(ConnectionOptionsArgs $) { this.from = $.from; this.gatewayAuthentication = $.gatewayAuthentication; this.gatewayUrl = $.gatewayUrl; + this.globalTokenRevocationJwtIss = $.globalTokenRevocationJwtIss; + this.globalTokenRevocationJwtSub = $.globalTokenRevocationJwtSub; this.iconUrl = $.iconUrl; this.identityApi = $.identityApi; this.idpInitiated = $.idpInitiated; @@ -2337,6 +2369,48 @@ public Builder gatewayUrl(String gatewayUrl) { return gatewayUrl(Output.of(gatewayUrl)); } + /** + * @param globalTokenRevocationJwtIss Specifies the issuer of the JWT used for global token revocation for the SAML connection. + * + * @return builder + * + */ + public Builder globalTokenRevocationJwtIss(@Nullable Output globalTokenRevocationJwtIss) { + $.globalTokenRevocationJwtIss = globalTokenRevocationJwtIss; + return this; + } + + /** + * @param globalTokenRevocationJwtIss Specifies the issuer of the JWT used for global token revocation for the SAML connection. + * + * @return builder + * + */ + public Builder globalTokenRevocationJwtIss(String globalTokenRevocationJwtIss) { + return globalTokenRevocationJwtIss(Output.of(globalTokenRevocationJwtIss)); + } + + /** + * @param globalTokenRevocationJwtSub Specifies the subject of the JWT used for global token revocation for the SAML connection. + * + * @return builder + * + */ + public Builder globalTokenRevocationJwtSub(@Nullable Output globalTokenRevocationJwtSub) { + $.globalTokenRevocationJwtSub = globalTokenRevocationJwtSub; + return this; + } + + /** + * @param globalTokenRevocationJwtSub Specifies the subject of the JWT used for global token revocation for the SAML connection. + * + * @return builder + * + */ + public Builder globalTokenRevocationJwtSub(String globalTokenRevocationJwtSub) { + return globalTokenRevocationJwtSub(Output.of(globalTokenRevocationJwtSub)); + } + /** * @param iconUrl Icon URL. * diff --git a/sdk/java/src/main/java/com/pulumi/auth0/inputs/GetPromptScreenPartialsScreenPartialInsertionPoint.java b/sdk/java/src/main/java/com/pulumi/auth0/inputs/GetPromptScreenPartialsScreenPartialInsertionPoint.java index 0655d5e8..a8163f2a 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/inputs/GetPromptScreenPartialsScreenPartialInsertionPoint.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/inputs/GetPromptScreenPartialsScreenPartialInsertionPoint.java @@ -13,6 +13,21 @@ public final class GetPromptScreenPartialsScreenPartialInsertionPoint extends co public static final GetPromptScreenPartialsScreenPartialInsertionPoint Empty = new GetPromptScreenPartialsScreenPartialInsertionPoint(); + /** + * Content that goes inside the form + * + */ + @Import(name="formContent", required=true) + private String formContent; + + /** + * @return Content that goes inside the form + * + */ + public String formContent() { + return this.formContent; + } + /** * Content that goes at the end of the form. * @@ -106,6 +121,7 @@ public String secondaryActionsStart() { private GetPromptScreenPartialsScreenPartialInsertionPoint() {} private GetPromptScreenPartialsScreenPartialInsertionPoint(GetPromptScreenPartialsScreenPartialInsertionPoint $) { + this.formContent = $.formContent; this.formContentEnd = $.formContentEnd; this.formContentStart = $.formContentStart; this.formFooterEnd = $.formFooterEnd; @@ -132,6 +148,17 @@ public Builder(GetPromptScreenPartialsScreenPartialInsertionPoint defaults) { $ = new GetPromptScreenPartialsScreenPartialInsertionPoint(Objects.requireNonNull(defaults)); } + /** + * @param formContent Content that goes inside the form + * + * @return builder + * + */ + public Builder formContent(String formContent) { + $.formContent = formContent; + return this; + } + /** * @param formContentEnd Content that goes at the end of the form. * @@ -199,6 +226,9 @@ public Builder secondaryActionsStart(String secondaryActionsStart) { } public GetPromptScreenPartialsScreenPartialInsertionPoint build() { + if ($.formContent == null) { + throw new MissingRequiredPropertyException("GetPromptScreenPartialsScreenPartialInsertionPoint", "formContent"); + } if ($.formContentEnd == null) { throw new MissingRequiredPropertyException("GetPromptScreenPartialsScreenPartialInsertionPoint", "formContentEnd"); } diff --git a/sdk/java/src/main/java/com/pulumi/auth0/inputs/GetPromptScreenPartialsScreenPartialInsertionPointArgs.java b/sdk/java/src/main/java/com/pulumi/auth0/inputs/GetPromptScreenPartialsScreenPartialInsertionPointArgs.java index 0dca60f2..95d70f6a 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/inputs/GetPromptScreenPartialsScreenPartialInsertionPointArgs.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/inputs/GetPromptScreenPartialsScreenPartialInsertionPointArgs.java @@ -14,6 +14,21 @@ public final class GetPromptScreenPartialsScreenPartialInsertionPointArgs extend public static final GetPromptScreenPartialsScreenPartialInsertionPointArgs Empty = new GetPromptScreenPartialsScreenPartialInsertionPointArgs(); + /** + * Content that goes inside the form + * + */ + @Import(name="formContent", required=true) + private Output formContent; + + /** + * @return Content that goes inside the form + * + */ + public Output formContent() { + return this.formContent; + } + /** * Content that goes at the end of the form. * @@ -107,6 +122,7 @@ public Output secondaryActionsStart() { private GetPromptScreenPartialsScreenPartialInsertionPointArgs() {} private GetPromptScreenPartialsScreenPartialInsertionPointArgs(GetPromptScreenPartialsScreenPartialInsertionPointArgs $) { + this.formContent = $.formContent; this.formContentEnd = $.formContentEnd; this.formContentStart = $.formContentStart; this.formFooterEnd = $.formFooterEnd; @@ -133,6 +149,27 @@ public Builder(GetPromptScreenPartialsScreenPartialInsertionPointArgs defaults) $ = new GetPromptScreenPartialsScreenPartialInsertionPointArgs(Objects.requireNonNull(defaults)); } + /** + * @param formContent Content that goes inside the form + * + * @return builder + * + */ + public Builder formContent(Output formContent) { + $.formContent = formContent; + return this; + } + + /** + * @param formContent Content that goes inside the form + * + * @return builder + * + */ + public Builder formContent(String formContent) { + return formContent(Output.of(formContent)); + } + /** * @param formContentEnd Content that goes at the end of the form. * @@ -260,6 +297,9 @@ public Builder secondaryActionsStart(String secondaryActionsStart) { } public GetPromptScreenPartialsScreenPartialInsertionPointArgs build() { + if ($.formContent == null) { + throw new MissingRequiredPropertyException("GetPromptScreenPartialsScreenPartialInsertionPointArgs", "formContent"); + } if ($.formContentEnd == null) { throw new MissingRequiredPropertyException("GetPromptScreenPartialsScreenPartialInsertionPointArgs", "formContentEnd"); } diff --git a/sdk/java/src/main/java/com/pulumi/auth0/inputs/GetUserArgs.java b/sdk/java/src/main/java/com/pulumi/auth0/inputs/GetUserArgs.java index a6810a95..666160e2 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/inputs/GetUserArgs.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/inputs/GetUserArgs.java @@ -5,33 +5,50 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; public final class GetUserArgs extends com.pulumi.resources.InvokeArgs { public static final GetUserArgs Empty = new GetUserArgs(); + /** + * Lucene Query for retrieving a user. + * + */ + @Import(name="query") + private @Nullable Output query; + + /** + * @return Lucene Query for retrieving a user. + * + */ + public Optional> query() { + return Optional.ofNullable(this.query); + } + /** * ID of the user. * */ - @Import(name="userId", required=true) - private Output userId; + @Import(name="userId") + private @Nullable Output userId; /** * @return ID of the user. * */ - public Output userId() { - return this.userId; + public Optional> userId() { + return Optional.ofNullable(this.userId); } private GetUserArgs() {} private GetUserArgs(GetUserArgs $) { + this.query = $.query; this.userId = $.userId; } @@ -53,13 +70,34 @@ public Builder(GetUserArgs defaults) { $ = new GetUserArgs(Objects.requireNonNull(defaults)); } + /** + * @param query Lucene Query for retrieving a user. + * + * @return builder + * + */ + public Builder query(@Nullable Output query) { + $.query = query; + return this; + } + + /** + * @param query Lucene Query for retrieving a user. + * + * @return builder + * + */ + public Builder query(String query) { + return query(Output.of(query)); + } + /** * @param userId ID of the user. * * @return builder * */ - public Builder userId(Output userId) { + public Builder userId(@Nullable Output userId) { $.userId = userId; return this; } @@ -75,9 +113,6 @@ public Builder userId(String userId) { } public GetUserArgs build() { - if ($.userId == null) { - throw new MissingRequiredPropertyException("GetUserArgs", "userId"); - } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/auth0/inputs/GetUserPlainArgs.java b/sdk/java/src/main/java/com/pulumi/auth0/inputs/GetUserPlainArgs.java index 0ba0891a..a531be16 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/inputs/GetUserPlainArgs.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/inputs/GetUserPlainArgs.java @@ -4,33 +4,50 @@ package com.pulumi.auth0.inputs; import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; public final class GetUserPlainArgs extends com.pulumi.resources.InvokeArgs { public static final GetUserPlainArgs Empty = new GetUserPlainArgs(); + /** + * Lucene Query for retrieving a user. + * + */ + @Import(name="query") + private @Nullable String query; + + /** + * @return Lucene Query for retrieving a user. + * + */ + public Optional query() { + return Optional.ofNullable(this.query); + } + /** * ID of the user. * */ - @Import(name="userId", required=true) - private String userId; + @Import(name="userId") + private @Nullable String userId; /** * @return ID of the user. * */ - public String userId() { - return this.userId; + public Optional userId() { + return Optional.ofNullable(this.userId); } private GetUserPlainArgs() {} private GetUserPlainArgs(GetUserPlainArgs $) { + this.query = $.query; this.userId = $.userId; } @@ -52,21 +69,29 @@ public Builder(GetUserPlainArgs defaults) { $ = new GetUserPlainArgs(Objects.requireNonNull(defaults)); } + /** + * @param query Lucene Query for retrieving a user. + * + * @return builder + * + */ + public Builder query(@Nullable String query) { + $.query = query; + return this; + } + /** * @param userId ID of the user. * * @return builder * */ - public Builder userId(String userId) { + public Builder userId(@Nullable String userId) { $.userId = userId; return this; } public GetUserPlainArgs build() { - if ($.userId == null) { - throw new MissingRequiredPropertyException("GetUserPlainArgs", "userId"); - } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/auth0/inputs/LogStreamState.java b/sdk/java/src/main/java/com/pulumi/auth0/inputs/LogStreamState.java index 72f6b9fa..1cfd20dd 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/inputs/LogStreamState.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/inputs/LogStreamState.java @@ -6,6 +6,7 @@ import com.pulumi.auth0.inputs.LogStreamSinkArgs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import java.lang.Boolean; import java.lang.String; import java.util.List; import java.util.Map; @@ -33,6 +34,21 @@ public Optional>>> filters() { return Optional.ofNullable(this.filters); } + /** + * Set True for priority log streams, False for non-priority + * + */ + @Import(name="isPriority") + private @Nullable Output isPriority; + + /** + * @return Set True for priority log streams, False for non-priority + * + */ + public Optional> isPriority() { + return Optional.ofNullable(this.isPriority); + } + /** * Name of the log stream. * @@ -97,6 +113,7 @@ private LogStreamState() {} private LogStreamState(LogStreamState $) { this.filters = $.filters; + this.isPriority = $.isPriority; this.name = $.name; this.sink = $.sink; this.status = $.status; @@ -152,6 +169,27 @@ public Builder filters(Map... filters) { return filters(List.of(filters)); } + /** + * @param isPriority Set True for priority log streams, False for non-priority + * + * @return builder + * + */ + public Builder isPriority(@Nullable Output isPriority) { + $.isPriority = isPriority; + return this; + } + + /** + * @param isPriority Set True for priority log streams, False for non-priority + * + * @return builder + * + */ + public Builder isPriority(Boolean isPriority) { + return isPriority(Output.of(isPriority)); + } + /** * @param name Name of the log stream. * diff --git a/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptPartialsState.java b/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptPartialsState.java index 0433e4ce..47201a07 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptPartialsState.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptPartialsState.java @@ -108,7 +108,7 @@ public Optional> formFooterStart() { } /** - * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. * * @deprecated * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. @@ -119,7 +119,7 @@ public Optional> formFooterStart() { private @Nullable Output prompt; /** - * @return The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * @return The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. * * @deprecated * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. @@ -323,7 +323,7 @@ public Builder formFooterStart(String formFooterStart) { } /** - * @param prompt The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * @param prompt The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. * * @return builder * @@ -338,7 +338,7 @@ public Builder prompt(@Nullable Output prompt) { } /** - * @param prompt The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * @param prompt The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptScreenPartialInsertionPointsArgs.java b/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptScreenPartialInsertionPointsArgs.java index e14704f5..454fa306 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptScreenPartialInsertionPointsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptScreenPartialInsertionPointsArgs.java @@ -15,6 +15,21 @@ public final class PromptScreenPartialInsertionPointsArgs extends com.pulumi.res public static final PromptScreenPartialInsertionPointsArgs Empty = new PromptScreenPartialInsertionPointsArgs(); + /** + * Content that goes inside the form + * + */ + @Import(name="formContent") + private @Nullable Output formContent; + + /** + * @return Content that goes inside the form + * + */ + public Optional> formContent() { + return Optional.ofNullable(this.formContent); + } + /** * Content that goes at the end of the form. * @@ -108,6 +123,7 @@ public Optional> secondaryActionsStart() { private PromptScreenPartialInsertionPointsArgs() {} private PromptScreenPartialInsertionPointsArgs(PromptScreenPartialInsertionPointsArgs $) { + this.formContent = $.formContent; this.formContentEnd = $.formContentEnd; this.formContentStart = $.formContentStart; this.formFooterEnd = $.formFooterEnd; @@ -134,6 +150,27 @@ public Builder(PromptScreenPartialInsertionPointsArgs defaults) { $ = new PromptScreenPartialInsertionPointsArgs(Objects.requireNonNull(defaults)); } + /** + * @param formContent Content that goes inside the form + * + * @return builder + * + */ + public Builder formContent(@Nullable Output formContent) { + $.formContent = formContent; + return this; + } + + /** + * @param formContent Content that goes inside the form + * + * @return builder + * + */ + public Builder formContent(String formContent) { + return formContent(Output.of(formContent)); + } + /** * @param formContentEnd Content that goes at the end of the form. * diff --git a/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptScreenPartialState.java b/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptScreenPartialState.java index 80de7554..3c4af86b 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptScreenPartialState.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptScreenPartialState.java @@ -32,14 +32,14 @@ public Optional> insertionPoints( } /** - * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. * */ @Import(name="promptType") private @Nullable Output promptType; /** - * @return The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * @return The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. * */ public Optional> promptType() { @@ -109,7 +109,7 @@ public Builder insertionPoints(PromptScreenPartialInsertionPointsArgs insertionP } /** - * @param promptType The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * @param promptType The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. * * @return builder * @@ -120,7 +120,7 @@ public Builder promptType(@Nullable Output promptType) { } /** - * @param promptType The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * @param promptType The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptScreenPartialsScreenPartialInsertionPointsArgs.java b/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptScreenPartialsScreenPartialInsertionPointsArgs.java index 1bb90569..30c95601 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptScreenPartialsScreenPartialInsertionPointsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptScreenPartialsScreenPartialInsertionPointsArgs.java @@ -15,6 +15,21 @@ public final class PromptScreenPartialsScreenPartialInsertionPointsArgs extends public static final PromptScreenPartialsScreenPartialInsertionPointsArgs Empty = new PromptScreenPartialsScreenPartialInsertionPointsArgs(); + /** + * Content that goes inside the form + * + */ + @Import(name="formContent") + private @Nullable Output formContent; + + /** + * @return Content that goes inside the form + * + */ + public Optional> formContent() { + return Optional.ofNullable(this.formContent); + } + /** * Content that goes at the end of the form. * @@ -108,6 +123,7 @@ public Optional> secondaryActionsStart() { private PromptScreenPartialsScreenPartialInsertionPointsArgs() {} private PromptScreenPartialsScreenPartialInsertionPointsArgs(PromptScreenPartialsScreenPartialInsertionPointsArgs $) { + this.formContent = $.formContent; this.formContentEnd = $.formContentEnd; this.formContentStart = $.formContentStart; this.formFooterEnd = $.formFooterEnd; @@ -134,6 +150,27 @@ public Builder(PromptScreenPartialsScreenPartialInsertionPointsArgs defaults) { $ = new PromptScreenPartialsScreenPartialInsertionPointsArgs(Objects.requireNonNull(defaults)); } + /** + * @param formContent Content that goes inside the form + * + * @return builder + * + */ + public Builder formContent(@Nullable Output formContent) { + $.formContent = formContent; + return this; + } + + /** + * @param formContent Content that goes inside the form + * + * @return builder + * + */ + public Builder formContent(String formContent) { + return formContent(Output.of(formContent)); + } + /** * @param formContentEnd Content that goes at the end of the form. * diff --git a/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptScreenPartialsState.java b/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptScreenPartialsState.java index 5fb2aa0c..6af9b20a 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptScreenPartialsState.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptScreenPartialsState.java @@ -18,14 +18,14 @@ public final class PromptScreenPartialsState extends com.pulumi.resources.Resour public static final PromptScreenPartialsState Empty = new PromptScreenPartialsState(); /** - * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. * */ @Import(name="promptType") private @Nullable Output promptType; /** - * @return The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * @return The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. * */ public Optional> promptType() { @@ -65,7 +65,7 @@ public Builder(PromptScreenPartialsState defaults) { } /** - * @param promptType The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * @param promptType The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. * * @return builder * @@ -76,7 +76,7 @@ public Builder promptType(@Nullable Output promptType) { } /** - * @param promptType The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * @param promptType The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptScreenRendererState.java b/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptScreenRendererState.java index a2190a11..d43c15f9 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptScreenRendererState.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptScreenRendererState.java @@ -63,14 +63,14 @@ public Optional> headTags() { } /** - * The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`. + * The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`, `mfa`, `mfa-sms`, `mfa-email`, `mfa-push`. * */ @Import(name="promptType") private @Nullable Output promptType; /** - * @return The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`. + * @return The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`, `mfa`, `mfa-sms`, `mfa-email`, `mfa-push`. * */ public Optional> promptType() { @@ -93,14 +93,14 @@ public Optional> renderingMode() { } /** - * The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`. + * The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`, `mfa-detect-browser-capabilities`, `mfa-enroll-result`, `mfa-begin-enroll-options`, `mfa-login-options`, `mfa-country-codes`, `mfa-sms-challenge`, `mfa-sms-enrollment`, `mfa-sms-list`, `mfa-email-challenge`, `mfa-email-list`, `mfa-push-challenge-push`, `mfa-push-enrollment-qr`, `mfa-push-list`, `mfa-push-welcome`. * */ @Import(name="screenName") private @Nullable Output screenName; /** - * @return The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`. + * @return The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`, `mfa-detect-browser-capabilities`, `mfa-enroll-result`, `mfa-begin-enroll-options`, `mfa-login-options`, `mfa-country-codes`, `mfa-sms-challenge`, `mfa-sms-enrollment`, `mfa-sms-list`, `mfa-email-challenge`, `mfa-email-list`, `mfa-push-challenge-push`, `mfa-push-enrollment-qr`, `mfa-push-list`, `mfa-push-welcome`. * */ public Optional> screenName() { @@ -226,7 +226,7 @@ public Builder headTags(String headTags) { } /** - * @param promptType The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`. + * @param promptType The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`, `mfa`, `mfa-sms`, `mfa-email`, `mfa-push`. * * @return builder * @@ -237,7 +237,7 @@ public Builder promptType(@Nullable Output promptType) { } /** - * @param promptType The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`. + * @param promptType The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`, `mfa`, `mfa-sms`, `mfa-email`, `mfa-push`. * * @return builder * @@ -268,7 +268,7 @@ public Builder renderingMode(String renderingMode) { } /** - * @param screenName The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`. + * @param screenName The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`, `mfa-detect-browser-capabilities`, `mfa-enroll-result`, `mfa-begin-enroll-options`, `mfa-login-options`, `mfa-country-codes`, `mfa-sms-challenge`, `mfa-sms-enrollment`, `mfa-sms-list`, `mfa-email-challenge`, `mfa-email-list`, `mfa-push-challenge-push`, `mfa-push-enrollment-qr`, `mfa-push-list`, `mfa-push-welcome`. * * @return builder * @@ -279,7 +279,7 @@ public Builder screenName(@Nullable Output screenName) { } /** - * @param screenName The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`. + * @param screenName The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`, `mfa-detect-browser-capabilities`, `mfa-enroll-result`, `mfa-begin-enroll-options`, `mfa-login-options`, `mfa-country-codes`, `mfa-sms-challenge`, `mfa-sms-enrollment`, `mfa-sms-list`, `mfa-email-challenge`, `mfa-email-list`, `mfa-push-challenge-push`, `mfa-push-enrollment-qr`, `mfa-push-list`, `mfa-push-welcome`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/auth0/inputs/TriggerActionState.java b/sdk/java/src/main/java/com/pulumi/auth0/inputs/TriggerActionState.java index 54784b30..ec20634c 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/inputs/TriggerActionState.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/inputs/TriggerActionState.java @@ -46,14 +46,14 @@ public Optional> displayName() { } /** - * The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + * The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. * */ @Import(name="trigger") private @Nullable Output trigger; /** - * @return The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + * @return The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. * */ public Optional> trigger() { @@ -129,7 +129,7 @@ public Builder displayName(String displayName) { } /** - * @param trigger The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + * @param trigger The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. * * @return builder * @@ -140,7 +140,7 @@ public Builder trigger(@Nullable Output trigger) { } /** - * @param trigger The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + * @param trigger The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/auth0/inputs/TriggerActionsState.java b/sdk/java/src/main/java/com/pulumi/auth0/inputs/TriggerActionsState.java index f70cfcf2..989b770b 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/inputs/TriggerActionsState.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/inputs/TriggerActionsState.java @@ -33,14 +33,14 @@ public Optional>> actions() { } /** - * The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + * The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. * */ @Import(name="trigger") private @Nullable Output trigger; /** - * @return The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + * @return The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. * */ public Optional> trigger() { @@ -104,7 +104,7 @@ public Builder actions(TriggerActionsActionArgs... actions) { } /** - * @param trigger The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + * @param trigger The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. * * @return builder * @@ -115,7 +115,7 @@ public Builder trigger(@Nullable Output trigger) { } /** - * @param trigger The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + * @param trigger The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/auth0/outputs/BrandingThemeColors.java b/sdk/java/src/main/java/com/pulumi/auth0/outputs/BrandingThemeColors.java index bdc08bd2..4c05206d 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/outputs/BrandingThemeColors.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/outputs/BrandingThemeColors.java @@ -26,6 +26,11 @@ public final class BrandingThemeColors { * */ private @Nullable String bodyText; + /** + * @return Captcha Widget Theme. + * + */ + private @Nullable String captchaWidgetTheme; /** * @return Error. Defaults to `#d03c38`. * @@ -124,6 +129,13 @@ public Optional baseHoverColor() { public Optional bodyText() { return Optional.ofNullable(this.bodyText); } + /** + * @return Captcha Widget Theme. + * + */ + public Optional captchaWidgetTheme() { + return Optional.ofNullable(this.captchaWidgetTheme); + } /** * @return Error. Defaults to `#d03c38`. * @@ -242,6 +254,7 @@ public static final class Builder { private @Nullable String baseFocusColor; private @Nullable String baseHoverColor; private @Nullable String bodyText; + private @Nullable String captchaWidgetTheme; private @Nullable String error; private @Nullable String header; private @Nullable String icons; @@ -263,6 +276,7 @@ public Builder(BrandingThemeColors defaults) { this.baseFocusColor = defaults.baseFocusColor; this.baseHoverColor = defaults.baseHoverColor; this.bodyText = defaults.bodyText; + this.captchaWidgetTheme = defaults.captchaWidgetTheme; this.error = defaults.error; this.header = defaults.header; this.icons = defaults.icons; @@ -299,6 +313,12 @@ public Builder bodyText(@Nullable String bodyText) { return this; } @CustomType.Setter + public Builder captchaWidgetTheme(@Nullable String captchaWidgetTheme) { + + this.captchaWidgetTheme = captchaWidgetTheme; + return this; + } + @CustomType.Setter public Builder error(@Nullable String error) { this.error = error; @@ -393,6 +413,7 @@ public BrandingThemeColors build() { _resultValue.baseFocusColor = baseFocusColor; _resultValue.baseHoverColor = baseHoverColor; _resultValue.bodyText = bodyText; + _resultValue.captchaWidgetTheme = captchaWidgetTheme; _resultValue.error = error; _resultValue.header = header; _resultValue.icons = icons; diff --git a/sdk/java/src/main/java/com/pulumi/auth0/outputs/ClientNativeSocialLogin.java b/sdk/java/src/main/java/com/pulumi/auth0/outputs/ClientNativeSocialLogin.java index c6c9e645..b8039a78 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/outputs/ClientNativeSocialLogin.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/outputs/ClientNativeSocialLogin.java @@ -5,6 +5,7 @@ import com.pulumi.auth0.outputs.ClientNativeSocialLoginApple; import com.pulumi.auth0.outputs.ClientNativeSocialLoginFacebook; +import com.pulumi.auth0.outputs.ClientNativeSocialLoginGoogle; import com.pulumi.core.annotations.CustomType; import java.util.Objects; import java.util.Optional; @@ -14,6 +15,7 @@ public final class ClientNativeSocialLogin { private @Nullable ClientNativeSocialLoginApple apple; private @Nullable ClientNativeSocialLoginFacebook facebook; + private @Nullable ClientNativeSocialLoginGoogle google; private ClientNativeSocialLogin() {} public Optional apple() { @@ -22,6 +24,9 @@ public Optional apple() { public Optional facebook() { return Optional.ofNullable(this.facebook); } + public Optional google() { + return Optional.ofNullable(this.google); + } public static Builder builder() { return new Builder(); @@ -34,11 +39,13 @@ public static Builder builder(ClientNativeSocialLogin defaults) { public static final class Builder { private @Nullable ClientNativeSocialLoginApple apple; private @Nullable ClientNativeSocialLoginFacebook facebook; + private @Nullable ClientNativeSocialLoginGoogle google; public Builder() {} public Builder(ClientNativeSocialLogin defaults) { Objects.requireNonNull(defaults); this.apple = defaults.apple; this.facebook = defaults.facebook; + this.google = defaults.google; } @CustomType.Setter @@ -53,10 +60,17 @@ public Builder facebook(@Nullable ClientNativeSocialLoginFacebook facebook) { this.facebook = facebook; return this; } + @CustomType.Setter + public Builder google(@Nullable ClientNativeSocialLoginGoogle google) { + + this.google = google; + return this; + } public ClientNativeSocialLogin build() { final var _resultValue = new ClientNativeSocialLogin(); _resultValue.apple = apple; _resultValue.facebook = facebook; + _resultValue.google = google; return _resultValue; } } diff --git a/sdk/java/src/main/java/com/pulumi/auth0/outputs/ClientNativeSocialLoginGoogle.java b/sdk/java/src/main/java/com/pulumi/auth0/outputs/ClientNativeSocialLoginGoogle.java new file mode 100644 index 00000000..dc3fcda0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/auth0/outputs/ClientNativeSocialLoginGoogle.java @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.auth0.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Boolean; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class ClientNativeSocialLoginGoogle { + private @Nullable Boolean enabled; + + private ClientNativeSocialLoginGoogle() {} + public Optional enabled() { + return Optional.ofNullable(this.enabled); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(ClientNativeSocialLoginGoogle defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable Boolean enabled; + public Builder() {} + public Builder(ClientNativeSocialLoginGoogle defaults) { + Objects.requireNonNull(defaults); + this.enabled = defaults.enabled; + } + + @CustomType.Setter + public Builder enabled(@Nullable Boolean enabled) { + + this.enabled = enabled; + return this; + } + public ClientNativeSocialLoginGoogle build() { + final var _resultValue = new ClientNativeSocialLoginGoogle(); + _resultValue.enabled = enabled; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/auth0/outputs/ConnectionOptions.java b/sdk/java/src/main/java/com/pulumi/auth0/outputs/ConnectionOptions.java index 6ae62643..926a8928 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/outputs/ConnectionOptions.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/outputs/ConnectionOptions.java @@ -206,6 +206,16 @@ public final class ConnectionOptions { * */ private @Nullable String gatewayUrl; + /** + * @return Specifies the issuer of the JWT used for global token revocation for the SAML connection. + * + */ + private @Nullable String globalTokenRevocationJwtIss; + /** + * @return Specifies the subject of the JWT used for global token revocation for the SAML connection. + * + */ + private @Nullable String globalTokenRevocationJwtSub; /** * @return Icon URL. * @@ -748,6 +758,20 @@ public Optional gatewayAuthentication() public Optional gatewayUrl() { return Optional.ofNullable(this.gatewayUrl); } + /** + * @return Specifies the issuer of the JWT used for global token revocation for the SAML connection. + * + */ + public Optional globalTokenRevocationJwtIss() { + return Optional.ofNullable(this.globalTokenRevocationJwtIss); + } + /** + * @return Specifies the subject of the JWT used for global token revocation for the SAML connection. + * + */ + public Optional globalTokenRevocationJwtSub() { + return Optional.ofNullable(this.globalTokenRevocationJwtSub); + } /** * @return Icon URL. * @@ -1206,6 +1230,8 @@ public static final class Builder { private @Nullable String from; private @Nullable ConnectionOptionsGatewayAuthentication gatewayAuthentication; private @Nullable String gatewayUrl; + private @Nullable String globalTokenRevocationJwtIss; + private @Nullable String globalTokenRevocationJwtSub; private @Nullable String iconUrl; private @Nullable String identityApi; private @Nullable ConnectionOptionsIdpInitiated idpInitiated; @@ -1303,6 +1329,8 @@ public Builder(ConnectionOptions defaults) { this.from = defaults.from; this.gatewayAuthentication = defaults.gatewayAuthentication; this.gatewayUrl = defaults.gatewayUrl; + this.globalTokenRevocationJwtIss = defaults.globalTokenRevocationJwtIss; + this.globalTokenRevocationJwtSub = defaults.globalTokenRevocationJwtSub; this.iconUrl = defaults.iconUrl; this.identityApi = defaults.identityApi; this.idpInitiated = defaults.idpInitiated; @@ -1587,6 +1615,18 @@ public Builder gatewayUrl(@Nullable String gatewayUrl) { return this; } @CustomType.Setter + public Builder globalTokenRevocationJwtIss(@Nullable String globalTokenRevocationJwtIss) { + + this.globalTokenRevocationJwtIss = globalTokenRevocationJwtIss; + return this; + } + @CustomType.Setter + public Builder globalTokenRevocationJwtSub(@Nullable String globalTokenRevocationJwtSub) { + + this.globalTokenRevocationJwtSub = globalTokenRevocationJwtSub; + return this; + } + @CustomType.Setter public Builder iconUrl(@Nullable String iconUrl) { this.iconUrl = iconUrl; @@ -1992,6 +2032,8 @@ public ConnectionOptions build() { _resultValue.from = from; _resultValue.gatewayAuthentication = gatewayAuthentication; _resultValue.gatewayUrl = gatewayUrl; + _resultValue.globalTokenRevocationJwtIss = globalTokenRevocationJwtIss; + _resultValue.globalTokenRevocationJwtSub = globalTokenRevocationJwtSub; _resultValue.iconUrl = iconUrl; _resultValue.identityApi = identityApi; _resultValue.idpInitiated = idpInitiated; diff --git a/sdk/java/src/main/java/com/pulumi/auth0/outputs/GetBrandingThemeColor.java b/sdk/java/src/main/java/com/pulumi/auth0/outputs/GetBrandingThemeColor.java index 07ad11d4..308a27e4 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/outputs/GetBrandingThemeColor.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/outputs/GetBrandingThemeColor.java @@ -25,6 +25,11 @@ public final class GetBrandingThemeColor { * */ private String bodyText; + /** + * @return Captcha Widget Theme. + * + */ + private String captchaWidgetTheme; /** * @return Error. Defaults to `#d03c38`. * @@ -123,6 +128,13 @@ public String baseHoverColor() { public String bodyText() { return this.bodyText; } + /** + * @return Captcha Widget Theme. + * + */ + public String captchaWidgetTheme() { + return this.captchaWidgetTheme; + } /** * @return Error. Defaults to `#d03c38`. * @@ -241,6 +253,7 @@ public static final class Builder { private String baseFocusColor; private String baseHoverColor; private String bodyText; + private String captchaWidgetTheme; private String error; private String header; private String icons; @@ -262,6 +275,7 @@ public Builder(GetBrandingThemeColor defaults) { this.baseFocusColor = defaults.baseFocusColor; this.baseHoverColor = defaults.baseHoverColor; this.bodyText = defaults.bodyText; + this.captchaWidgetTheme = defaults.captchaWidgetTheme; this.error = defaults.error; this.header = defaults.header; this.icons = defaults.icons; @@ -304,6 +318,14 @@ public Builder bodyText(String bodyText) { return this; } @CustomType.Setter + public Builder captchaWidgetTheme(String captchaWidgetTheme) { + if (captchaWidgetTheme == null) { + throw new MissingRequiredPropertyException("GetBrandingThemeColor", "captchaWidgetTheme"); + } + this.captchaWidgetTheme = captchaWidgetTheme; + return this; + } + @CustomType.Setter public Builder error(String error) { if (error == null) { throw new MissingRequiredPropertyException("GetBrandingThemeColor", "error"); @@ -428,6 +450,7 @@ public GetBrandingThemeColor build() { _resultValue.baseFocusColor = baseFocusColor; _resultValue.baseHoverColor = baseHoverColor; _resultValue.bodyText = bodyText; + _resultValue.captchaWidgetTheme = captchaWidgetTheme; _resultValue.error = error; _resultValue.header = header; _resultValue.icons = icons; diff --git a/sdk/java/src/main/java/com/pulumi/auth0/outputs/GetClientNativeSocialLogin.java b/sdk/java/src/main/java/com/pulumi/auth0/outputs/GetClientNativeSocialLogin.java index 203ed88c..0234a891 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/outputs/GetClientNativeSocialLogin.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/outputs/GetClientNativeSocialLogin.java @@ -5,6 +5,7 @@ import com.pulumi.auth0.outputs.GetClientNativeSocialLoginApple; import com.pulumi.auth0.outputs.GetClientNativeSocialLoginFacebook; +import com.pulumi.auth0.outputs.GetClientNativeSocialLoginGoogle; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; import java.util.List; @@ -14,6 +15,7 @@ public final class GetClientNativeSocialLogin { private List apples; private List facebooks; + private List googles; private GetClientNativeSocialLogin() {} public List apples() { @@ -22,6 +24,9 @@ public List apples() { public List facebooks() { return this.facebooks; } + public List googles() { + return this.googles; + } public static Builder builder() { return new Builder(); @@ -34,11 +39,13 @@ public static Builder builder(GetClientNativeSocialLogin defaults) { public static final class Builder { private List apples; private List facebooks; + private List googles; public Builder() {} public Builder(GetClientNativeSocialLogin defaults) { Objects.requireNonNull(defaults); this.apples = defaults.apples; this.facebooks = defaults.facebooks; + this.googles = defaults.googles; } @CustomType.Setter @@ -63,10 +70,22 @@ public Builder facebooks(List facebooks) { public Builder facebooks(GetClientNativeSocialLoginFacebook... facebooks) { return facebooks(List.of(facebooks)); } + @CustomType.Setter + public Builder googles(List googles) { + if (googles == null) { + throw new MissingRequiredPropertyException("GetClientNativeSocialLogin", "googles"); + } + this.googles = googles; + return this; + } + public Builder googles(GetClientNativeSocialLoginGoogle... googles) { + return googles(List.of(googles)); + } public GetClientNativeSocialLogin build() { final var _resultValue = new GetClientNativeSocialLogin(); _resultValue.apples = apples; _resultValue.facebooks = facebooks; + _resultValue.googles = googles; return _resultValue; } } diff --git a/sdk/java/src/main/java/com/pulumi/auth0/outputs/GetClientNativeSocialLoginGoogle.java b/sdk/java/src/main/java/com/pulumi/auth0/outputs/GetClientNativeSocialLoginGoogle.java new file mode 100644 index 00000000..f7b9d028 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/auth0/outputs/GetClientNativeSocialLoginGoogle.java @@ -0,0 +1,50 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.auth0.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.util.Objects; + +@CustomType +public final class GetClientNativeSocialLoginGoogle { + private Boolean enabled; + + private GetClientNativeSocialLoginGoogle() {} + public Boolean enabled() { + return this.enabled; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetClientNativeSocialLoginGoogle defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Boolean enabled; + public Builder() {} + public Builder(GetClientNativeSocialLoginGoogle defaults) { + Objects.requireNonNull(defaults); + this.enabled = defaults.enabled; + } + + @CustomType.Setter + public Builder enabled(Boolean enabled) { + if (enabled == null) { + throw new MissingRequiredPropertyException("GetClientNativeSocialLoginGoogle", "enabled"); + } + this.enabled = enabled; + return this; + } + public GetClientNativeSocialLoginGoogle build() { + final var _resultValue = new GetClientNativeSocialLoginGoogle(); + _resultValue.enabled = enabled; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/auth0/outputs/GetConnectionOption.java b/sdk/java/src/main/java/com/pulumi/auth0/outputs/GetConnectionOption.java index a5ef5028..c455be5f 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/outputs/GetConnectionOption.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/outputs/GetConnectionOption.java @@ -205,6 +205,16 @@ public final class GetConnectionOption { * */ private String gatewayUrl; + /** + * @return Specifies the issuer of the JWT used for global token revocation for the SAML connection. + * + */ + private String globalTokenRevocationJwtIss; + /** + * @return Specifies the subject of the JWT used for global token revocation for the SAML connection. + * + */ + private String globalTokenRevocationJwtSub; /** * @return Icon URL. * @@ -747,6 +757,20 @@ public List gatewayAuthentications() { public String gatewayUrl() { return this.gatewayUrl; } + /** + * @return Specifies the issuer of the JWT used for global token revocation for the SAML connection. + * + */ + public String globalTokenRevocationJwtIss() { + return this.globalTokenRevocationJwtIss; + } + /** + * @return Specifies the subject of the JWT used for global token revocation for the SAML connection. + * + */ + public String globalTokenRevocationJwtSub() { + return this.globalTokenRevocationJwtSub; + } /** * @return Icon URL. * @@ -1205,6 +1229,8 @@ public static final class Builder { private String from; private List gatewayAuthentications; private String gatewayUrl; + private String globalTokenRevocationJwtIss; + private String globalTokenRevocationJwtSub; private String iconUrl; private String identityApi; private List idpInitiateds; @@ -1302,6 +1328,8 @@ public Builder(GetConnectionOption defaults) { this.from = defaults.from; this.gatewayAuthentications = defaults.gatewayAuthentications; this.gatewayUrl = defaults.gatewayUrl; + this.globalTokenRevocationJwtIss = defaults.globalTokenRevocationJwtIss; + this.globalTokenRevocationJwtSub = defaults.globalTokenRevocationJwtSub; this.iconUrl = defaults.iconUrl; this.identityApi = defaults.identityApi; this.idpInitiateds = defaults.idpInitiateds; @@ -1668,6 +1696,22 @@ public Builder gatewayUrl(String gatewayUrl) { return this; } @CustomType.Setter + public Builder globalTokenRevocationJwtIss(String globalTokenRevocationJwtIss) { + if (globalTokenRevocationJwtIss == null) { + throw new MissingRequiredPropertyException("GetConnectionOption", "globalTokenRevocationJwtIss"); + } + this.globalTokenRevocationJwtIss = globalTokenRevocationJwtIss; + return this; + } + @CustomType.Setter + public Builder globalTokenRevocationJwtSub(String globalTokenRevocationJwtSub) { + if (globalTokenRevocationJwtSub == null) { + throw new MissingRequiredPropertyException("GetConnectionOption", "globalTokenRevocationJwtSub"); + } + this.globalTokenRevocationJwtSub = globalTokenRevocationJwtSub; + return this; + } + @CustomType.Setter public Builder iconUrl(String iconUrl) { if (iconUrl == null) { throw new MissingRequiredPropertyException("GetConnectionOption", "iconUrl"); @@ -2218,6 +2262,8 @@ public GetConnectionOption build() { _resultValue.from = from; _resultValue.gatewayAuthentications = gatewayAuthentications; _resultValue.gatewayUrl = gatewayUrl; + _resultValue.globalTokenRevocationJwtIss = globalTokenRevocationJwtIss; + _resultValue.globalTokenRevocationJwtSub = globalTokenRevocationJwtSub; _resultValue.iconUrl = iconUrl; _resultValue.identityApi = identityApi; _resultValue.idpInitiateds = idpInitiateds; diff --git a/sdk/java/src/main/java/com/pulumi/auth0/outputs/GetPromptScreenPartialsScreenPartialInsertionPoint.java b/sdk/java/src/main/java/com/pulumi/auth0/outputs/GetPromptScreenPartialsScreenPartialInsertionPoint.java index f30cad2f..aebf8654 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/outputs/GetPromptScreenPartialsScreenPartialInsertionPoint.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/outputs/GetPromptScreenPartialsScreenPartialInsertionPoint.java @@ -10,6 +10,11 @@ @CustomType public final class GetPromptScreenPartialsScreenPartialInsertionPoint { + /** + * @return Content that goes inside the form + * + */ + private String formContent; /** * @return Content that goes at the end of the form. * @@ -42,6 +47,13 @@ public final class GetPromptScreenPartialsScreenPartialInsertionPoint { private String secondaryActionsStart; private GetPromptScreenPartialsScreenPartialInsertionPoint() {} + /** + * @return Content that goes inside the form + * + */ + public String formContent() { + return this.formContent; + } /** * @return Content that goes at the end of the form. * @@ -94,6 +106,7 @@ public static Builder builder(GetPromptScreenPartialsScreenPartialInsertionPoint } @CustomType.Builder public static final class Builder { + private String formContent; private String formContentEnd; private String formContentStart; private String formFooterEnd; @@ -103,6 +116,7 @@ public static final class Builder { public Builder() {} public Builder(GetPromptScreenPartialsScreenPartialInsertionPoint defaults) { Objects.requireNonNull(defaults); + this.formContent = defaults.formContent; this.formContentEnd = defaults.formContentEnd; this.formContentStart = defaults.formContentStart; this.formFooterEnd = defaults.formFooterEnd; @@ -111,6 +125,14 @@ public Builder(GetPromptScreenPartialsScreenPartialInsertionPoint defaults) { this.secondaryActionsStart = defaults.secondaryActionsStart; } + @CustomType.Setter + public Builder formContent(String formContent) { + if (formContent == null) { + throw new MissingRequiredPropertyException("GetPromptScreenPartialsScreenPartialInsertionPoint", "formContent"); + } + this.formContent = formContent; + return this; + } @CustomType.Setter public Builder formContentEnd(String formContentEnd) { if (formContentEnd == null) { @@ -161,6 +183,7 @@ public Builder secondaryActionsStart(String secondaryActionsStart) { } public GetPromptScreenPartialsScreenPartialInsertionPoint build() { final var _resultValue = new GetPromptScreenPartialsScreenPartialInsertionPoint(); + _resultValue.formContent = formContent; _resultValue.formContentEnd = formContentEnd; _resultValue.formContentStart = formContentStart; _resultValue.formFooterEnd = formFooterEnd; diff --git a/sdk/java/src/main/java/com/pulumi/auth0/outputs/GetUserResult.java b/sdk/java/src/main/java/com/pulumi/auth0/outputs/GetUserResult.java index eaaa5681..13c65a8c 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/outputs/GetUserResult.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/outputs/GetUserResult.java @@ -10,6 +10,8 @@ import java.lang.String; import java.util.List; import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; @CustomType public final class GetUserResult { @@ -88,6 +90,11 @@ public final class GetUserResult { * */ private String picture; + /** + * @return Lucene Query for retrieving a user. + * + */ + private @Nullable String query; /** * @return Set of IDs of roles assigned to the user. * @@ -97,7 +104,7 @@ public final class GetUserResult { * @return ID of the user. * */ - private String userId; + private @Nullable String userId; /** * @return Custom fields that store info about the user that does not impact a user's core functionality. Examples include work address, home address, and user preferences. * @@ -220,6 +227,13 @@ public Boolean phoneVerified() { public String picture() { return this.picture; } + /** + * @return Lucene Query for retrieving a user. + * + */ + public Optional query() { + return Optional.ofNullable(this.query); + } /** * @return Set of IDs of roles assigned to the user. * @@ -231,8 +245,8 @@ public List roles() { * @return ID of the user. * */ - public String userId() { - return this.userId; + public Optional userId() { + return Optional.ofNullable(this.userId); } /** * @return Custom fields that store info about the user that does not impact a user's core functionality. Examples include work address, home address, and user preferences. @@ -280,8 +294,9 @@ public static final class Builder { private String phoneNumber; private Boolean phoneVerified; private String picture; + private @Nullable String query; private List roles; - private String userId; + private @Nullable String userId; private String userMetadata; private String username; private Boolean verifyEmail; @@ -303,6 +318,7 @@ public Builder(GetUserResult defaults) { this.phoneNumber = defaults.phoneNumber; this.phoneVerified = defaults.phoneVerified; this.picture = defaults.picture; + this.query = defaults.query; this.roles = defaults.roles; this.userId = defaults.userId; this.userMetadata = defaults.userMetadata; @@ -434,6 +450,12 @@ public Builder picture(String picture) { return this; } @CustomType.Setter + public Builder query(@Nullable String query) { + + this.query = query; + return this; + } + @CustomType.Setter public Builder roles(List roles) { if (roles == null) { throw new MissingRequiredPropertyException("GetUserResult", "roles"); @@ -445,10 +467,8 @@ public Builder roles(String... roles) { return roles(List.of(roles)); } @CustomType.Setter - public Builder userId(String userId) { - if (userId == null) { - throw new MissingRequiredPropertyException("GetUserResult", "userId"); - } + public Builder userId(@Nullable String userId) { + this.userId = userId; return this; } @@ -493,6 +513,7 @@ public GetUserResult build() { _resultValue.phoneNumber = phoneNumber; _resultValue.phoneVerified = phoneVerified; _resultValue.picture = picture; + _resultValue.query = query; _resultValue.roles = roles; _resultValue.userId = userId; _resultValue.userMetadata = userMetadata; diff --git a/sdk/java/src/main/java/com/pulumi/auth0/outputs/PromptScreenPartialInsertionPoints.java b/sdk/java/src/main/java/com/pulumi/auth0/outputs/PromptScreenPartialInsertionPoints.java index 2e0df278..b903a07a 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/outputs/PromptScreenPartialInsertionPoints.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/outputs/PromptScreenPartialInsertionPoints.java @@ -11,6 +11,11 @@ @CustomType public final class PromptScreenPartialInsertionPoints { + /** + * @return Content that goes inside the form + * + */ + private @Nullable String formContent; /** * @return Content that goes at the end of the form. * @@ -43,6 +48,13 @@ public final class PromptScreenPartialInsertionPoints { private @Nullable String secondaryActionsStart; private PromptScreenPartialInsertionPoints() {} + /** + * @return Content that goes inside the form + * + */ + public Optional formContent() { + return Optional.ofNullable(this.formContent); + } /** * @return Content that goes at the end of the form. * @@ -95,6 +107,7 @@ public static Builder builder(PromptScreenPartialInsertionPoints defaults) { } @CustomType.Builder public static final class Builder { + private @Nullable String formContent; private @Nullable String formContentEnd; private @Nullable String formContentStart; private @Nullable String formFooterEnd; @@ -104,6 +117,7 @@ public static final class Builder { public Builder() {} public Builder(PromptScreenPartialInsertionPoints defaults) { Objects.requireNonNull(defaults); + this.formContent = defaults.formContent; this.formContentEnd = defaults.formContentEnd; this.formContentStart = defaults.formContentStart; this.formFooterEnd = defaults.formFooterEnd; @@ -112,6 +126,12 @@ public Builder(PromptScreenPartialInsertionPoints defaults) { this.secondaryActionsStart = defaults.secondaryActionsStart; } + @CustomType.Setter + public Builder formContent(@Nullable String formContent) { + + this.formContent = formContent; + return this; + } @CustomType.Setter public Builder formContentEnd(@Nullable String formContentEnd) { @@ -150,6 +170,7 @@ public Builder secondaryActionsStart(@Nullable String secondaryActionsStart) { } public PromptScreenPartialInsertionPoints build() { final var _resultValue = new PromptScreenPartialInsertionPoints(); + _resultValue.formContent = formContent; _resultValue.formContentEnd = formContentEnd; _resultValue.formContentStart = formContentStart; _resultValue.formFooterEnd = formFooterEnd; diff --git a/sdk/java/src/main/java/com/pulumi/auth0/outputs/PromptScreenPartialsScreenPartialInsertionPoints.java b/sdk/java/src/main/java/com/pulumi/auth0/outputs/PromptScreenPartialsScreenPartialInsertionPoints.java index d7906dff..f3d1b2fb 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/outputs/PromptScreenPartialsScreenPartialInsertionPoints.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/outputs/PromptScreenPartialsScreenPartialInsertionPoints.java @@ -11,6 +11,11 @@ @CustomType public final class PromptScreenPartialsScreenPartialInsertionPoints { + /** + * @return Content that goes inside the form + * + */ + private @Nullable String formContent; /** * @return Content that goes at the end of the form. * @@ -43,6 +48,13 @@ public final class PromptScreenPartialsScreenPartialInsertionPoints { private @Nullable String secondaryActionsStart; private PromptScreenPartialsScreenPartialInsertionPoints() {} + /** + * @return Content that goes inside the form + * + */ + public Optional formContent() { + return Optional.ofNullable(this.formContent); + } /** * @return Content that goes at the end of the form. * @@ -95,6 +107,7 @@ public static Builder builder(PromptScreenPartialsScreenPartialInsertionPoints d } @CustomType.Builder public static final class Builder { + private @Nullable String formContent; private @Nullable String formContentEnd; private @Nullable String formContentStart; private @Nullable String formFooterEnd; @@ -104,6 +117,7 @@ public static final class Builder { public Builder() {} public Builder(PromptScreenPartialsScreenPartialInsertionPoints defaults) { Objects.requireNonNull(defaults); + this.formContent = defaults.formContent; this.formContentEnd = defaults.formContentEnd; this.formContentStart = defaults.formContentStart; this.formFooterEnd = defaults.formFooterEnd; @@ -112,6 +126,12 @@ public Builder(PromptScreenPartialsScreenPartialInsertionPoints defaults) { this.secondaryActionsStart = defaults.secondaryActionsStart; } + @CustomType.Setter + public Builder formContent(@Nullable String formContent) { + + this.formContent = formContent; + return this; + } @CustomType.Setter public Builder formContentEnd(@Nullable String formContentEnd) { @@ -150,6 +170,7 @@ public Builder secondaryActionsStart(@Nullable String secondaryActionsStart) { } public PromptScreenPartialsScreenPartialInsertionPoints build() { final var _resultValue = new PromptScreenPartialsScreenPartialInsertionPoints(); + _resultValue.formContent = formContent; _resultValue.formContentEnd = formContentEnd; _resultValue.formContentStart = formContentStart; _resultValue.formFooterEnd = formFooterEnd; diff --git a/sdk/nodejs/client.ts b/sdk/nodejs/client.ts index cd640682..30c5c488 100644 --- a/sdk/nodejs/client.ts +++ b/sdk/nodejs/client.ts @@ -9,80 +9,6 @@ import * as utilities from "./utilities"; /** * With this resource, you can set up applications that use Auth0 for authentication and configure allowed callback URLs and secrets for these applications. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as auth0 from "@pulumi/auth0"; - * - * const myClient = new auth0.Client("my_client", { - * name: "Application - Acceptance Test", - * description: "Test Applications Long Description", - * appType: "non_interactive", - * complianceLevel: "none", - * customLoginPageOn: true, - * isFirstParty: true, - * isTokenEndpointIpHeaderTrusted: true, - * oidcConformant: false, - * callbacks: ["https://example.com/callback"], - * allowedOrigins: ["https://example.com"], - * allowedLogoutUrls: ["https://example.com"], - * webOrigins: ["https://example.com"], - * requireProofOfPossession: false, - * grantTypes: [ - * "authorization_code", - * "http://auth0.com/oauth/grant-type/password-realm", - * "implicit", - * "password", - * "refresh_token", - * ], - * clientMetadata: { - * foo: "zoo", - * }, - * jwtConfiguration: { - * lifetimeInSeconds: 300, - * secretEncoded: true, - * alg: "RS256", - * scopes: { - * foo: "bar", - * }, - * }, - * refreshToken: { - * leeway: 0, - * tokenLifetime: 2592000, - * rotationType: "rotating", - * expirationType: "expiring", - * }, - * mobile: { - * ios: { - * teamId: "9JA89QQLNQ", - * appBundleIdentifier: "com.my.bundle.id", - * }, - * }, - * addons: { - * samlp: { - * audience: "https://example.com/saml", - * issuer: "https://example.com", - * mappings: { - * email: "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress", - * name: "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name", - * }, - * createUpnClaim: false, - * passthroughClaimsWithNoMapping: false, - * mapUnknownClaimsAsIs: false, - * mapIdentities: false, - * nameIdentifierFormat: "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent", - * nameIdentifierProbes: ["http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"], - * signingCert: `-----BEGIN PUBLIC KEY----- - * MIGf...bpP/t3 - * +JGNGIRMj1hF1rnb6QIDAQAB - * -----END PUBLIC KEY----- - * `, - * }, - * }, - * }); - * ``` - * * ## Import * * This resource can be imported by specifying the client ID. diff --git a/sdk/nodejs/connection.ts b/sdk/nodejs/connection.ts index c5d9b284..6709a7a4 100644 --- a/sdk/nodejs/connection.ts +++ b/sdk/nodejs/connection.ts @@ -494,6 +494,8 @@ import * as utilities from "./utilities"; * signingCert: "", * signInEndpoint: "https://saml.provider/sign_in", * signOutEndpoint: "https://saml.provider/sign_out", + * globalTokenRevocationJwtIss: "issuer.example.com", + * globalTokenRevocationJwtSub: "user123", * disableSignOut: true, * strategyVersion: 2, * tenantDomain: "example.com", diff --git a/sdk/nodejs/getTokenExchangeProfile.ts b/sdk/nodejs/getTokenExchangeProfile.ts index 1470da85..eadb9715 100644 --- a/sdk/nodejs/getTokenExchangeProfile.ts +++ b/sdk/nodejs/getTokenExchangeProfile.ts @@ -6,6 +6,18 @@ import * as utilities from "./utilities"; /** * Data source to retrieve a specific Auth0 Token Exchange Profile by `id` + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as auth0 from "@pulumi/auth0"; + * + * // An Auth0 Token Exchange Profile loaded using its ID. + * const myProfile = auth0.getTokenExchangeProfile({ + * id: "tep_Tnvl88SKv98TkMmr", + * }); + * ``` */ export function getTokenExchangeProfile(args: GetTokenExchangeProfileArgs, opts?: pulumi.InvokeOptions): Promise { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); @@ -59,6 +71,18 @@ export interface GetTokenExchangeProfileResult { } /** * Data source to retrieve a specific Auth0 Token Exchange Profile by `id` + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as auth0 from "@pulumi/auth0"; + * + * // An Auth0 Token Exchange Profile loaded using its ID. + * const myProfile = auth0.getTokenExchangeProfile({ + * id: "tep_Tnvl88SKv98TkMmr", + * }); + * ``` */ export function getTokenExchangeProfileOutput(args: GetTokenExchangeProfileOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); diff --git a/sdk/nodejs/getUser.ts b/sdk/nodejs/getUser.ts index 386bc732..98161f87 100644 --- a/sdk/nodejs/getUser.ts +++ b/sdk/nodejs/getUser.ts @@ -7,23 +7,13 @@ import * as outputs from "./types/output"; import * as utilities from "./utilities"; /** - * Data source to retrieve a specific Auth0 user by `userId`. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as auth0 from "@pulumi/auth0"; - * - * // An Auth0 User loaded using its ID. - * const myUser = auth0.getUser({ - * userId: "auth0|34fdr23fdsfdfsf", - * }); - * ``` + * Data source to retrieve a specific Auth0 user by `userId` or by `lucene query`. If filtered by Lucene Query, it should include sufficient filters to retrieve a unique user. */ -export function getUser(args: GetUserArgs, opts?: pulumi.InvokeOptions): Promise { +export function getUser(args?: GetUserArgs, opts?: pulumi.InvokeOptions): Promise { + args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("auth0:index/getUser:getUser", { + "query": args.query, "userId": args.userId, }, opts); } @@ -32,10 +22,14 @@ export function getUser(args: GetUserArgs, opts?: pulumi.InvokeOptions): Promise * A collection of arguments for invoking getUser. */ export interface GetUserArgs { + /** + * Lucene Query for retrieving a user. + */ + query?: string; /** * ID of the user. */ - userId: string; + userId?: string; } /** @@ -102,6 +96,10 @@ export interface GetUserResult { * Picture of the user. This value can only be updated if the connection is a database connection (using the Auth0 store), a passwordless connection (email or sms) or has disabled 'Sync user profile attributes at each login'. For more information, see: [Configure Identity Provider Connection for User Profile Updates](https://auth0.com/docs/manage-users/user-accounts/user-profiles/configure-connection-sync-with-auth0). */ readonly picture: string; + /** + * Lucene Query for retrieving a user. + */ + readonly query?: string; /** * Set of IDs of roles assigned to the user. */ @@ -109,7 +107,7 @@ export interface GetUserResult { /** * ID of the user. */ - readonly userId: string; + readonly userId?: string; /** * Custom fields that store info about the user that does not impact a user's core functionality. Examples include work address, home address, and user preferences. */ @@ -124,23 +122,13 @@ export interface GetUserResult { readonly verifyEmail: boolean; } /** - * Data source to retrieve a specific Auth0 user by `userId`. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as auth0 from "@pulumi/auth0"; - * - * // An Auth0 User loaded using its ID. - * const myUser = auth0.getUser({ - * userId: "auth0|34fdr23fdsfdfsf", - * }); - * ``` + * Data source to retrieve a specific Auth0 user by `userId` or by `lucene query`. If filtered by Lucene Query, it should include sufficient filters to retrieve a unique user. */ -export function getUserOutput(args: GetUserOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { +export function getUserOutput(args?: GetUserOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("auth0:index/getUser:getUser", { + "query": args.query, "userId": args.userId, }, opts); } @@ -149,8 +137,12 @@ export function getUserOutput(args: GetUserOutputArgs, opts?: pulumi.InvokeOutpu * A collection of arguments for invoking getUser. */ export interface GetUserOutputArgs { + /** + * Lucene Query for retrieving a user. + */ + query?: pulumi.Input; /** * ID of the user. */ - userId: pulumi.Input; + userId?: pulumi.Input; } diff --git a/sdk/nodejs/logStream.ts b/sdk/nodejs/logStream.ts index f0d58d91..7fadd3bb 100644 --- a/sdk/nodejs/logStream.ts +++ b/sdk/nodejs/logStream.ts @@ -9,6 +9,9 @@ import * as utilities from "./utilities"; /** * With this resource, you can manage your Auth0 log streams. * + * !> isPriority is a field that can be set while the resource is being created. + * This cannot be updated once set. Updating the value might result in a noisy plan. + * * ## Example Usage * * ```typescript @@ -96,6 +99,10 @@ export class LogStream extends pulumi.CustomResource { * Only logs events matching these filters will be delivered by the stream. If omitted or empty, all events will be delivered. Filters available: `auth.ancillary.fail`, `auth.ancillary.success`, `auth.login.fail`, `auth.login.notification`, `auth.login.success`, `auth.logout.fail`, `auth.logout.success`, `auth.signup.fail`, `auth.signup.success`, `auth.silent_auth.fail`, `auth.silent_auth.success`, `auth.token_exchange.fail`, `auth.token_exchange.success`, `management.fail`, `management.success`, `system.notification`, `user.fail`, `user.notification`, `user.success`, `other`. */ public readonly filters!: pulumi.Output<{[key: string]: string}[] | undefined>; + /** + * Set True for priority log streams, False for non-priority + */ + public readonly isPriority!: pulumi.Output; /** * Name of the log stream. */ @@ -127,6 +134,7 @@ export class LogStream extends pulumi.CustomResource { if (opts.id) { const state = argsOrState as LogStreamState | undefined; resourceInputs["filters"] = state ? state.filters : undefined; + resourceInputs["isPriority"] = state ? state.isPriority : undefined; resourceInputs["name"] = state ? state.name : undefined; resourceInputs["sink"] = state ? state.sink : undefined; resourceInputs["status"] = state ? state.status : undefined; @@ -140,6 +148,7 @@ export class LogStream extends pulumi.CustomResource { throw new Error("Missing required property 'type'"); } resourceInputs["filters"] = args ? args.filters : undefined; + resourceInputs["isPriority"] = args ? args.isPriority : undefined; resourceInputs["name"] = args ? args.name : undefined; resourceInputs["sink"] = args ? args.sink : undefined; resourceInputs["status"] = args ? args.status : undefined; @@ -158,6 +167,10 @@ export interface LogStreamState { * Only logs events matching these filters will be delivered by the stream. If omitted or empty, all events will be delivered. Filters available: `auth.ancillary.fail`, `auth.ancillary.success`, `auth.login.fail`, `auth.login.notification`, `auth.login.success`, `auth.logout.fail`, `auth.logout.success`, `auth.signup.fail`, `auth.signup.success`, `auth.silent_auth.fail`, `auth.silent_auth.success`, `auth.token_exchange.fail`, `auth.token_exchange.success`, `management.fail`, `management.success`, `system.notification`, `user.fail`, `user.notification`, `user.success`, `other`. */ filters?: pulumi.Input}>[]>; + /** + * Set True for priority log streams, False for non-priority + */ + isPriority?: pulumi.Input; /** * Name of the log stream. */ @@ -184,6 +197,10 @@ export interface LogStreamArgs { * Only logs events matching these filters will be delivered by the stream. If omitted or empty, all events will be delivered. Filters available: `auth.ancillary.fail`, `auth.ancillary.success`, `auth.login.fail`, `auth.login.notification`, `auth.login.success`, `auth.logout.fail`, `auth.logout.success`, `auth.signup.fail`, `auth.signup.success`, `auth.silent_auth.fail`, `auth.silent_auth.success`, `auth.token_exchange.fail`, `auth.token_exchange.success`, `management.fail`, `management.success`, `system.notification`, `user.fail`, `user.notification`, `user.success`, `other`. */ filters?: pulumi.Input}>[]>; + /** + * Set True for priority log streams, False for non-priority + */ + isPriority?: pulumi.Input; /** * Name of the log stream. */ diff --git a/sdk/nodejs/promptPartials.ts b/sdk/nodejs/promptPartials.ts index 7219d782..ae98780a 100644 --- a/sdk/nodejs/promptPartials.ts +++ b/sdk/nodejs/promptPartials.ts @@ -92,7 +92,7 @@ export class PromptPartials extends pulumi.CustomResource { */ public readonly formFooterStart!: pulumi.Output; /** - * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. * * @deprecated This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ @@ -177,7 +177,7 @@ export interface PromptPartialsState { */ formFooterStart?: pulumi.Input; /** - * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. * * @deprecated This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ @@ -225,7 +225,7 @@ export interface PromptPartialsArgs { */ formFooterStart?: pulumi.Input; /** - * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. * * @deprecated This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ diff --git a/sdk/nodejs/promptScreenPartial.ts b/sdk/nodejs/promptScreenPartial.ts index 3fa89fa7..54dad288 100644 --- a/sdk/nodejs/promptScreenPartial.ts +++ b/sdk/nodejs/promptScreenPartial.ts @@ -28,6 +28,13 @@ import * as utilities from "./utilities"; * formContentEnd: "
Form Content End
", * }, * }); + * const customized_consent = new auth0.PromptScreenPartial("customized-consent", { + * promptType: "customized-consent", + * screenName: "customized-consent", + * insertionPoints: { + * formContent: "
Form Content
", + * }, + * }); * ``` * * ## Import @@ -83,7 +90,7 @@ export class PromptScreenPartial extends pulumi.CustomResource { */ public readonly insertionPoints!: pulumi.Output; /** - * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. */ public readonly promptType!: pulumi.Output; /** @@ -133,7 +140,7 @@ export interface PromptScreenPartialState { */ insertionPoints?: pulumi.Input; /** - * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. */ promptType?: pulumi.Input; /** @@ -151,7 +158,7 @@ export interface PromptScreenPartialArgs { */ insertionPoints?: pulumi.Input; /** - * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. */ promptType: pulumi.Input; /** diff --git a/sdk/nodejs/promptScreenPartials.ts b/sdk/nodejs/promptScreenPartials.ts index 6e07e20c..014e1478 100644 --- a/sdk/nodejs/promptScreenPartials.ts +++ b/sdk/nodejs/promptScreenPartials.ts @@ -39,6 +39,15 @@ import * as utilities from "./utilities"; * }, * ], * }); + * const customized_consent = new auth0.PromptScreenPartials("customized-consent", { + * promptType: "customized-consent", + * screenPartials: [{ + * screenName: "customized-consent", + * insertionPoints: { + * formContent: "
Form Content
", + * }, + * }], + * }); * ``` * * ## Import @@ -82,7 +91,7 @@ export class PromptScreenPartials extends pulumi.CustomResource { } /** - * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. */ public readonly promptType!: pulumi.Output; public readonly screenPartials!: pulumi.Output; @@ -120,7 +129,7 @@ export class PromptScreenPartials extends pulumi.CustomResource { */ export interface PromptScreenPartialsState { /** - * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. */ promptType?: pulumi.Input; screenPartials?: pulumi.Input[]>; @@ -131,7 +140,7 @@ export interface PromptScreenPartialsState { */ export interface PromptScreenPartialsArgs { /** - * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. */ promptType: pulumi.Input; screenPartials?: pulumi.Input[]>; diff --git a/sdk/nodejs/promptScreenRenderer.ts b/sdk/nodejs/promptScreenRenderer.ts index d605009d..73f31906 100644 --- a/sdk/nodejs/promptScreenRenderer.ts +++ b/sdk/nodejs/promptScreenRenderer.ts @@ -110,7 +110,7 @@ export class PromptScreenRenderer extends pulumi.CustomResource { */ public readonly headTags!: pulumi.Output; /** - * The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`. + * The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`, `mfa`, `mfa-sms`, `mfa-email`, `mfa-push`. */ public readonly promptType!: pulumi.Output; /** @@ -118,7 +118,7 @@ export class PromptScreenRenderer extends pulumi.CustomResource { */ public readonly renderingMode!: pulumi.Output; /** - * The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`. + * The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`, `mfa-detect-browser-capabilities`, `mfa-enroll-result`, `mfa-begin-enroll-options`, `mfa-login-options`, `mfa-country-codes`, `mfa-sms-challenge`, `mfa-sms-enrollment`, `mfa-sms-list`, `mfa-email-challenge`, `mfa-email-list`, `mfa-push-challenge-push`, `mfa-push-enrollment-qr`, `mfa-push-list`, `mfa-push-welcome`. */ public readonly screenName!: pulumi.Output; /** @@ -184,7 +184,7 @@ export interface PromptScreenRendererState { */ headTags?: pulumi.Input; /** - * The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`. + * The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`, `mfa`, `mfa-sms`, `mfa-email`, `mfa-push`. */ promptType?: pulumi.Input; /** @@ -192,7 +192,7 @@ export interface PromptScreenRendererState { */ renderingMode?: pulumi.Input; /** - * The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`. + * The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`, `mfa-detect-browser-capabilities`, `mfa-enroll-result`, `mfa-begin-enroll-options`, `mfa-login-options`, `mfa-country-codes`, `mfa-sms-challenge`, `mfa-sms-enrollment`, `mfa-sms-list`, `mfa-email-challenge`, `mfa-email-list`, `mfa-push-challenge-push`, `mfa-push-enrollment-qr`, `mfa-push-list`, `mfa-push-welcome`. */ screenName?: pulumi.Input; /** @@ -218,7 +218,7 @@ export interface PromptScreenRendererArgs { */ headTags?: pulumi.Input; /** - * The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`. + * The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`, `mfa`, `mfa-sms`, `mfa-email`, `mfa-push`. */ promptType: pulumi.Input; /** @@ -226,7 +226,7 @@ export interface PromptScreenRendererArgs { */ renderingMode?: pulumi.Input; /** - * The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`. + * The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`, `mfa-detect-browser-capabilities`, `mfa-enroll-result`, `mfa-begin-enroll-options`, `mfa-login-options`, `mfa-country-codes`, `mfa-sms-challenge`, `mfa-sms-enrollment`, `mfa-sms-list`, `mfa-email-challenge`, `mfa-email-list`, `mfa-push-challenge-push`, `mfa-push-enrollment-qr`, `mfa-push-list`, `mfa-push-welcome`. */ screenName: pulumi.Input; } diff --git a/sdk/nodejs/tokenExchangeProfile.ts b/sdk/nodejs/tokenExchangeProfile.ts index ee81240d..c599cc4e 100644 --- a/sdk/nodejs/tokenExchangeProfile.ts +++ b/sdk/nodejs/tokenExchangeProfile.ts @@ -6,6 +6,46 @@ import * as utilities from "./utilities"; /** * With this resource, you can manage Auth0 Custom Token Exchange Profiles + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as auth0 from "@pulumi/auth0"; + * + * // Below action is created with custom-token-exchange as supported_triggers + * // This action is then linked using the action_id param to the token-exchange profile + * const myAction = new auth0.Action("my_action", { + * name: "TokenExchange-Action", + * code: `exports.onContinuePostLogin = async (event, api) => { + * \x09console.log("foo") + * };" + * `, + * deploy: true, + * supportedTriggers: { + * id: "custom-token-exchange", + * version: "v1", + * }, + * }); + * const myTokenExchangeProfile = new auth0.TokenExchangeProfile("my_token_exchange_profile", { + * name: "token-exchange-prof", + * subjectTokenType: "https://acme.com/cis-token", + * actionId: myAction.id, + * type: "custom_authentication", + * }); + * ``` + * + * ## Import + * + * This resource can be imported using the token exchange profile ID. + * + * # + * + * Example: + * + * ```sh + * $ pulumi import auth0:index/tokenExchangeProfile:TokenExchangeProfile profile "tep_XXXXXXXXXXXXXX" + * ``` */ export class TokenExchangeProfile extends pulumi.CustomResource { /** diff --git a/sdk/nodejs/triggerAction.ts b/sdk/nodejs/triggerAction.ts index 5e1b389f..f685788c 100644 --- a/sdk/nodejs/triggerAction.ts +++ b/sdk/nodejs/triggerAction.ts @@ -90,7 +90,7 @@ export class TriggerAction extends pulumi.CustomResource { */ public readonly displayName!: pulumi.Output; /** - * The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + * The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. */ public readonly trigger!: pulumi.Output; @@ -140,7 +140,7 @@ export interface TriggerActionState { */ displayName?: pulumi.Input; /** - * The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + * The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. */ trigger?: pulumi.Input; } @@ -158,7 +158,7 @@ export interface TriggerActionArgs { */ displayName?: pulumi.Input; /** - * The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + * The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. */ trigger: pulumi.Input; } diff --git a/sdk/nodejs/triggerActions.ts b/sdk/nodejs/triggerActions.ts index b7ae67a4..e1f51359 100644 --- a/sdk/nodejs/triggerActions.ts +++ b/sdk/nodejs/triggerActions.ts @@ -103,7 +103,7 @@ export class TriggerActions extends pulumi.CustomResource { */ public readonly actions!: pulumi.Output; /** - * The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + * The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. */ public readonly trigger!: pulumi.Output; @@ -147,7 +147,7 @@ export interface TriggerActionsState { */ actions?: pulumi.Input[]>; /** - * The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + * The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. */ trigger?: pulumi.Input; } @@ -161,7 +161,7 @@ export interface TriggerActionsArgs { */ actions: pulumi.Input[]>; /** - * The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + * The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. */ trigger: pulumi.Input; } diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index 5b1abb1b..cc3cb3cd 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -206,6 +206,10 @@ export interface BrandingThemeColors { * Body text. Defaults to `#1e212a`. */ bodyText?: pulumi.Input; + /** + * Captcha Widget Theme. + */ + captchaWidgetTheme?: pulumi.Input; /** * Error. Defaults to `#d03c38`. */ @@ -1217,6 +1221,7 @@ export interface ClientMobileIos { export interface ClientNativeSocialLogin { apple?: pulumi.Input; facebook?: pulumi.Input; + google?: pulumi.Input; } export interface ClientNativeSocialLoginApple { @@ -1227,6 +1232,10 @@ export interface ClientNativeSocialLoginFacebook { enabled?: pulumi.Input; } +export interface ClientNativeSocialLoginGoogle { + enabled?: pulumi.Input; +} + export interface ClientOidcLogout { /** * Configure OIDC logout initiators for the Client @@ -1428,6 +1437,14 @@ export interface ConnectionOptions { * Defines a custom sms gateway to use instead of Twilio. */ gatewayUrl?: pulumi.Input; + /** + * Specifies the issuer of the JWT used for global token revocation for the SAML connection. + */ + globalTokenRevocationJwtIss?: pulumi.Input; + /** + * Specifies the subject of the JWT used for global token revocation for the SAML connection. + */ + globalTokenRevocationJwtSub?: pulumi.Input; /** * Icon URL. */ @@ -2242,6 +2259,10 @@ export interface GetPromptScreenPartialsScreenPartialArgs { } export interface GetPromptScreenPartialsScreenPartialInsertionPoint { + /** + * Content that goes inside the form + */ + formContent?: string; /** * Content that goes at the end of the form. */ @@ -2269,6 +2290,10 @@ export interface GetPromptScreenPartialsScreenPartialInsertionPoint { } export interface GetPromptScreenPartialsScreenPartialInsertionPointArgs { + /** + * Content that goes inside the form + */ + formContent?: pulumi.Input; /** * Content that goes at the end of the form. */ @@ -2663,6 +2688,10 @@ export interface PagesLogin { } export interface PromptScreenPartialInsertionPoints { + /** + * Content that goes inside the form + */ + formContent?: pulumi.Input; /** * Content that goes at the end of the form. */ @@ -2698,6 +2727,10 @@ export interface PromptScreenPartialsScreenPartial { } export interface PromptScreenPartialsScreenPartialInsertionPoints { + /** + * Content that goes inside the form + */ + formContent?: pulumi.Input; /** * Content that goes at the end of the form. */ diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index d194e1e0..946d0317 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -206,6 +206,10 @@ export interface BrandingThemeColors { * Body text. Defaults to `#1e212a`. */ bodyText?: string; + /** + * Captcha Widget Theme. + */ + captchaWidgetTheme?: string; /** * Error. Defaults to `#d03c38`. */ @@ -1217,6 +1221,7 @@ export interface ClientMobileIos { export interface ClientNativeSocialLogin { apple: outputs.ClientNativeSocialLoginApple; facebook: outputs.ClientNativeSocialLoginFacebook; + google: outputs.ClientNativeSocialLoginGoogle; } export interface ClientNativeSocialLoginApple { @@ -1227,6 +1232,10 @@ export interface ClientNativeSocialLoginFacebook { enabled?: boolean; } +export interface ClientNativeSocialLoginGoogle { + enabled?: boolean; +} + export interface ClientOidcLogout { /** * Configure OIDC logout initiators for the Client @@ -1428,6 +1437,14 @@ export interface ConnectionOptions { * Defines a custom sms gateway to use instead of Twilio. */ gatewayUrl?: string; + /** + * Specifies the issuer of the JWT used for global token revocation for the SAML connection. + */ + globalTokenRevocationJwtIss?: string; + /** + * Specifies the subject of the JWT used for global token revocation for the SAML connection. + */ + globalTokenRevocationJwtSub?: string; /** * Icon URL. */ @@ -2349,6 +2366,10 @@ export interface GetBrandingThemeColor { * Body text. Defaults to `#1e212a`. */ bodyText: string; + /** + * Captcha Widget Theme. + */ + captchaWidgetTheme: string; /** * Error. Defaults to `#d03c38`. */ @@ -3297,6 +3318,7 @@ export interface GetClientMobileIo { export interface GetClientNativeSocialLogin { apples: outputs.GetClientNativeSocialLoginApple[]; facebooks: outputs.GetClientNativeSocialLoginFacebook[]; + googles: outputs.GetClientNativeSocialLoginGoogle[]; } export interface GetClientNativeSocialLoginApple { @@ -3307,6 +3329,10 @@ export interface GetClientNativeSocialLoginFacebook { enabled: boolean; } +export interface GetClientNativeSocialLoginGoogle { + enabled: boolean; +} + export interface GetClientOidcLogout { /** * Configure OIDC logout initiators for the Client @@ -3647,6 +3673,14 @@ export interface GetConnectionOption { * Defines a custom sms gateway to use instead of Twilio. */ gatewayUrl: string; + /** + * Specifies the issuer of the JWT used for global token revocation for the SAML connection. + */ + globalTokenRevocationJwtIss: string; + /** + * Specifies the subject of the JWT used for global token revocation for the SAML connection. + */ + globalTokenRevocationJwtSub: string; /** * Icon URL. */ @@ -4344,6 +4378,10 @@ export interface GetPromptScreenPartialsScreenPartial { } export interface GetPromptScreenPartialsScreenPartialInsertionPoint { + /** + * Content that goes inside the form + */ + formContent: string; /** * Content that goes at the end of the form. */ @@ -5047,6 +5085,10 @@ export interface PagesLogin { } export interface PromptScreenPartialInsertionPoints { + /** + * Content that goes inside the form + */ + formContent?: string; /** * Content that goes at the end of the form. */ @@ -5082,6 +5124,10 @@ export interface PromptScreenPartialsScreenPartial { } export interface PromptScreenPartialsScreenPartialInsertionPoints { + /** + * Content that goes inside the form + */ + formContent?: string; /** * Content that goes at the end of the form. */ diff --git a/sdk/python/pulumi_auth0/_inputs.py b/sdk/python/pulumi_auth0/_inputs.py index 351f0a92..b12f165e 100644 --- a/sdk/python/pulumi_auth0/_inputs.py +++ b/sdk/python/pulumi_auth0/_inputs.py @@ -155,6 +155,8 @@ 'ClientNativeSocialLoginAppleArgsDict', 'ClientNativeSocialLoginFacebookArgs', 'ClientNativeSocialLoginFacebookArgsDict', + 'ClientNativeSocialLoginGoogleArgs', + 'ClientNativeSocialLoginGoogleArgsDict', 'ClientOidcLogoutArgs', 'ClientOidcLogoutArgsDict', 'ClientOidcLogoutBackchannelLogoutInitiatorsArgs', @@ -1240,6 +1242,10 @@ class BrandingThemeColorsArgsDict(TypedDict): """ Body text. Defaults to `#1e212a`. """ + captcha_widget_theme: NotRequired[pulumi.Input[str]] + """ + Captcha Widget Theme. + """ error: NotRequired[pulumi.Input[str]] """ Error. Defaults to `#d03c38`. @@ -1309,6 +1315,7 @@ def __init__(__self__, *, base_focus_color: Optional[pulumi.Input[str]] = None, base_hover_color: Optional[pulumi.Input[str]] = None, body_text: Optional[pulumi.Input[str]] = None, + captcha_widget_theme: Optional[pulumi.Input[str]] = None, error: Optional[pulumi.Input[str]] = None, header: Optional[pulumi.Input[str]] = None, icons: Optional[pulumi.Input[str]] = None, @@ -1328,6 +1335,7 @@ def __init__(__self__, *, :param pulumi.Input[str] base_focus_color: Base focus color. Defaults to `#635dff`. :param pulumi.Input[str] base_hover_color: Base hover color. Defaults to `#000000`. :param pulumi.Input[str] body_text: Body text. Defaults to `#1e212a`. + :param pulumi.Input[str] captcha_widget_theme: Captcha Widget Theme. :param pulumi.Input[str] error: Error. Defaults to `#d03c38`. :param pulumi.Input[str] header: Header. Defaults to `#1e212a`. :param pulumi.Input[str] icons: Icons. Defaults to `#65676e`. @@ -1350,6 +1358,8 @@ def __init__(__self__, *, pulumi.set(__self__, "base_hover_color", base_hover_color) if body_text is not None: pulumi.set(__self__, "body_text", body_text) + if captcha_widget_theme is not None: + pulumi.set(__self__, "captcha_widget_theme", captcha_widget_theme) if error is not None: pulumi.set(__self__, "error", error) if header is not None: @@ -1417,6 +1427,18 @@ def body_text(self) -> Optional[pulumi.Input[str]]: def body_text(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "body_text", value) + @property + @pulumi.getter(name="captchaWidgetTheme") + def captcha_widget_theme(self) -> Optional[pulumi.Input[str]]: + """ + Captcha Widget Theme. + """ + return pulumi.get(self, "captcha_widget_theme") + + @captcha_widget_theme.setter + def captcha_widget_theme(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "captcha_widget_theme", value) + @property @pulumi.getter def error(self) -> Optional[pulumi.Input[str]]: @@ -6178,6 +6200,7 @@ def team_id(self, value: Optional[pulumi.Input[str]]): class ClientNativeSocialLoginArgsDict(TypedDict): apple: NotRequired[pulumi.Input['ClientNativeSocialLoginAppleArgsDict']] facebook: NotRequired[pulumi.Input['ClientNativeSocialLoginFacebookArgsDict']] + google: NotRequired[pulumi.Input['ClientNativeSocialLoginGoogleArgsDict']] elif False: ClientNativeSocialLoginArgsDict: TypeAlias = Mapping[str, Any] @@ -6185,11 +6208,14 @@ class ClientNativeSocialLoginArgsDict(TypedDict): class ClientNativeSocialLoginArgs: def __init__(__self__, *, apple: Optional[pulumi.Input['ClientNativeSocialLoginAppleArgs']] = None, - facebook: Optional[pulumi.Input['ClientNativeSocialLoginFacebookArgs']] = None): + facebook: Optional[pulumi.Input['ClientNativeSocialLoginFacebookArgs']] = None, + google: Optional[pulumi.Input['ClientNativeSocialLoginGoogleArgs']] = None): if apple is not None: pulumi.set(__self__, "apple", apple) if facebook is not None: pulumi.set(__self__, "facebook", facebook) + if google is not None: + pulumi.set(__self__, "google", google) @property @pulumi.getter @@ -6209,6 +6235,15 @@ def facebook(self) -> Optional[pulumi.Input['ClientNativeSocialLoginFacebookArgs def facebook(self, value: Optional[pulumi.Input['ClientNativeSocialLoginFacebookArgs']]): pulumi.set(self, "facebook", value) + @property + @pulumi.getter + def google(self) -> Optional[pulumi.Input['ClientNativeSocialLoginGoogleArgs']]: + return pulumi.get(self, "google") + + @google.setter + def google(self, value: Optional[pulumi.Input['ClientNativeSocialLoginGoogleArgs']]): + pulumi.set(self, "google", value) + if not MYPY: class ClientNativeSocialLoginAppleArgsDict(TypedDict): @@ -6256,6 +6291,29 @@ def enabled(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "enabled", value) +if not MYPY: + class ClientNativeSocialLoginGoogleArgsDict(TypedDict): + enabled: NotRequired[pulumi.Input[bool]] +elif False: + ClientNativeSocialLoginGoogleArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class ClientNativeSocialLoginGoogleArgs: + def __init__(__self__, *, + enabled: Optional[pulumi.Input[bool]] = None): + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + + @property + @pulumi.getter + def enabled(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enabled", value) + + if not MYPY: class ClientOidcLogoutArgsDict(TypedDict): backchannel_logout_urls: pulumi.Input[Sequence[pulumi.Input[str]]] @@ -6681,6 +6739,14 @@ class ConnectionOptionsArgsDict(TypedDict): """ Defines a custom sms gateway to use instead of Twilio. """ + global_token_revocation_jwt_iss: NotRequired[pulumi.Input[str]] + """ + Specifies the issuer of the JWT used for global token revocation for the SAML connection. + """ + global_token_revocation_jwt_sub: NotRequired[pulumi.Input[str]] + """ + Specifies the subject of the JWT used for global token revocation for the SAML connection. + """ icon_url: NotRequired[pulumi.Input[str]] """ Icon URL. @@ -6958,6 +7024,8 @@ def __init__(__self__, *, from_: Optional[pulumi.Input[str]] = None, gateway_authentication: Optional[pulumi.Input['ConnectionOptionsGatewayAuthenticationArgs']] = None, gateway_url: Optional[pulumi.Input[str]] = None, + global_token_revocation_jwt_iss: Optional[pulumi.Input[str]] = None, + global_token_revocation_jwt_sub: Optional[pulumi.Input[str]] = None, icon_url: Optional[pulumi.Input[str]] = None, identity_api: Optional[pulumi.Input[str]] = None, idp_initiated: Optional[pulumi.Input['ConnectionOptionsIdpInitiatedArgs']] = None, @@ -7053,6 +7121,8 @@ def __init__(__self__, *, :param pulumi.Input[str] from_: Address to use as the sender. :param pulumi.Input['ConnectionOptionsGatewayAuthenticationArgs'] gateway_authentication: Defines the parameters used to generate the auth token for the custom gateway. :param pulumi.Input[str] gateway_url: Defines a custom sms gateway to use instead of Twilio. + :param pulumi.Input[str] global_token_revocation_jwt_iss: Specifies the issuer of the JWT used for global token revocation for the SAML connection. + :param pulumi.Input[str] global_token_revocation_jwt_sub: Specifies the subject of the JWT used for global token revocation for the SAML connection. :param pulumi.Input[str] icon_url: Icon URL. :param pulumi.Input[str] identity_api: Azure AD Identity API. Available options are: `microsoft-identity-platform-v2.0` or `azure-active-directory-v1.0`. :param pulumi.Input['ConnectionOptionsIdpInitiatedArgs'] idp_initiated: Configuration options for IDP Initiated Authentication. This is an object with the properties: `client_id`, `client_protocol`, and `client_authorize_query`. @@ -7183,6 +7253,10 @@ def __init__(__self__, *, pulumi.set(__self__, "gateway_authentication", gateway_authentication) if gateway_url is not None: pulumi.set(__self__, "gateway_url", gateway_url) + if global_token_revocation_jwt_iss is not None: + pulumi.set(__self__, "global_token_revocation_jwt_iss", global_token_revocation_jwt_iss) + if global_token_revocation_jwt_sub is not None: + pulumi.set(__self__, "global_token_revocation_jwt_sub", global_token_revocation_jwt_sub) if icon_url is not None: pulumi.set(__self__, "icon_url", icon_url) if identity_api is not None: @@ -7722,6 +7796,30 @@ def gateway_url(self) -> Optional[pulumi.Input[str]]: def gateway_url(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "gateway_url", value) + @property + @pulumi.getter(name="globalTokenRevocationJwtIss") + def global_token_revocation_jwt_iss(self) -> Optional[pulumi.Input[str]]: + """ + Specifies the issuer of the JWT used for global token revocation for the SAML connection. + """ + return pulumi.get(self, "global_token_revocation_jwt_iss") + + @global_token_revocation_jwt_iss.setter + def global_token_revocation_jwt_iss(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "global_token_revocation_jwt_iss", value) + + @property + @pulumi.getter(name="globalTokenRevocationJwtSub") + def global_token_revocation_jwt_sub(self) -> Optional[pulumi.Input[str]]: + """ + Specifies the subject of the JWT used for global token revocation for the SAML connection. + """ + return pulumi.get(self, "global_token_revocation_jwt_sub") + + @global_token_revocation_jwt_sub.setter + def global_token_revocation_jwt_sub(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "global_token_revocation_jwt_sub", value) + @property @pulumi.getter(name="iconUrl") def icon_url(self) -> Optional[pulumi.Input[str]]: @@ -12727,6 +12825,10 @@ def html(self, value: pulumi.Input[str]): if not MYPY: class PromptScreenPartialInsertionPointsArgsDict(TypedDict): + form_content: NotRequired[pulumi.Input[str]] + """ + Content that goes inside the form + """ form_content_end: NotRequired[pulumi.Input[str]] """ Content that goes at the end of the form. @@ -12757,6 +12859,7 @@ class PromptScreenPartialInsertionPointsArgsDict(TypedDict): @pulumi.input_type class PromptScreenPartialInsertionPointsArgs: def __init__(__self__, *, + form_content: Optional[pulumi.Input[str]] = None, form_content_end: Optional[pulumi.Input[str]] = None, form_content_start: Optional[pulumi.Input[str]] = None, form_footer_end: Optional[pulumi.Input[str]] = None, @@ -12764,6 +12867,7 @@ def __init__(__self__, *, secondary_actions_end: Optional[pulumi.Input[str]] = None, secondary_actions_start: Optional[pulumi.Input[str]] = None): """ + :param pulumi.Input[str] form_content: Content that goes inside the form :param pulumi.Input[str] form_content_end: Content that goes at the end of the form. :param pulumi.Input[str] form_content_start: Content that goes at the start of the form. :param pulumi.Input[str] form_footer_end: Footer content for the end of the footer. @@ -12771,6 +12875,8 @@ def __init__(__self__, *, :param pulumi.Input[str] secondary_actions_end: Actions that go at the end of secondary actions. :param pulumi.Input[str] secondary_actions_start: Actions that go at the start of secondary actions. """ + if form_content is not None: + pulumi.set(__self__, "form_content", form_content) if form_content_end is not None: pulumi.set(__self__, "form_content_end", form_content_end) if form_content_start is not None: @@ -12784,6 +12890,18 @@ def __init__(__self__, *, if secondary_actions_start is not None: pulumi.set(__self__, "secondary_actions_start", secondary_actions_start) + @property + @pulumi.getter(name="formContent") + def form_content(self) -> Optional[pulumi.Input[str]]: + """ + Content that goes inside the form + """ + return pulumi.get(self, "form_content") + + @form_content.setter + def form_content(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "form_content", value) + @property @pulumi.getter(name="formContentEnd") def form_content_end(self) -> Optional[pulumi.Input[str]]: @@ -12902,6 +13020,10 @@ def screen_name(self, value: pulumi.Input[str]): if not MYPY: class PromptScreenPartialsScreenPartialInsertionPointsArgsDict(TypedDict): + form_content: NotRequired[pulumi.Input[str]] + """ + Content that goes inside the form + """ form_content_end: NotRequired[pulumi.Input[str]] """ Content that goes at the end of the form. @@ -12932,6 +13054,7 @@ class PromptScreenPartialsScreenPartialInsertionPointsArgsDict(TypedDict): @pulumi.input_type class PromptScreenPartialsScreenPartialInsertionPointsArgs: def __init__(__self__, *, + form_content: Optional[pulumi.Input[str]] = None, form_content_end: Optional[pulumi.Input[str]] = None, form_content_start: Optional[pulumi.Input[str]] = None, form_footer_end: Optional[pulumi.Input[str]] = None, @@ -12939,6 +13062,7 @@ def __init__(__self__, *, secondary_actions_end: Optional[pulumi.Input[str]] = None, secondary_actions_start: Optional[pulumi.Input[str]] = None): """ + :param pulumi.Input[str] form_content: Content that goes inside the form :param pulumi.Input[str] form_content_end: Content that goes at the end of the form. :param pulumi.Input[str] form_content_start: Content that goes at the start of the form. :param pulumi.Input[str] form_footer_end: Footer content for the end of the footer. @@ -12946,6 +13070,8 @@ def __init__(__self__, *, :param pulumi.Input[str] secondary_actions_end: Actions that go at the end of secondary actions. :param pulumi.Input[str] secondary_actions_start: Actions that go at the start of secondary actions. """ + if form_content is not None: + pulumi.set(__self__, "form_content", form_content) if form_content_end is not None: pulumi.set(__self__, "form_content_end", form_content_end) if form_content_start is not None: @@ -12959,6 +13085,18 @@ def __init__(__self__, *, if secondary_actions_start is not None: pulumi.set(__self__, "secondary_actions_start", secondary_actions_start) + @property + @pulumi.getter(name="formContent") + def form_content(self) -> Optional[pulumi.Input[str]]: + """ + Content that goes inside the form + """ + return pulumi.get(self, "form_content") + + @form_content.setter + def form_content(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "form_content", value) + @property @pulumi.getter(name="formContentEnd") def form_content_end(self) -> Optional[pulumi.Input[str]]: @@ -14528,6 +14666,10 @@ def screen_name(self, value: str): if not MYPY: class GetPromptScreenPartialsScreenPartialInsertionPointArgsDict(TypedDict): + form_content: str + """ + Content that goes inside the form + """ form_content_end: str """ Content that goes at the end of the form. @@ -14558,6 +14700,7 @@ class GetPromptScreenPartialsScreenPartialInsertionPointArgsDict(TypedDict): @pulumi.input_type class GetPromptScreenPartialsScreenPartialInsertionPointArgs: def __init__(__self__, *, + form_content: str, form_content_end: str, form_content_start: str, form_footer_end: str, @@ -14565,6 +14708,7 @@ def __init__(__self__, *, secondary_actions_end: str, secondary_actions_start: str): """ + :param str form_content: Content that goes inside the form :param str form_content_end: Content that goes at the end of the form. :param str form_content_start: Content that goes at the start of the form. :param str form_footer_end: Footer content for the end of the footer. @@ -14572,6 +14716,7 @@ def __init__(__self__, *, :param str secondary_actions_end: Actions that go at the end of secondary actions. :param str secondary_actions_start: Actions that go at the start of secondary actions. """ + pulumi.set(__self__, "form_content", form_content) pulumi.set(__self__, "form_content_end", form_content_end) pulumi.set(__self__, "form_content_start", form_content_start) pulumi.set(__self__, "form_footer_end", form_footer_end) @@ -14579,6 +14724,18 @@ def __init__(__self__, *, pulumi.set(__self__, "secondary_actions_end", secondary_actions_end) pulumi.set(__self__, "secondary_actions_start", secondary_actions_start) + @property + @pulumi.getter(name="formContent") + def form_content(self) -> str: + """ + Content that goes inside the form + """ + return pulumi.get(self, "form_content") + + @form_content.setter + def form_content(self, value: str): + pulumi.set(self, "form_content", value) + @property @pulumi.getter(name="formContentEnd") def form_content_end(self) -> str: diff --git a/sdk/python/pulumi_auth0/client.py b/sdk/python/pulumi_auth0/client.py index aa649e9d..f0bd6793 100644 --- a/sdk/python/pulumi_auth0/client.py +++ b/sdk/python/pulumi_auth0/client.py @@ -1341,79 +1341,6 @@ def __init__(__self__, """ With this resource, you can set up applications that use Auth0 for authentication and configure allowed callback URLs and secrets for these applications. - ## Example Usage - - ```python - import pulumi - import pulumi_auth0 as auth0 - - my_client = auth0.Client("my_client", - name="Application - Acceptance Test", - description="Test Applications Long Description", - app_type="non_interactive", - compliance_level="none", - custom_login_page_on=True, - is_first_party=True, - is_token_endpoint_ip_header_trusted=True, - oidc_conformant=False, - callbacks=["https://example.com/callback"], - allowed_origins=["https://example.com"], - allowed_logout_urls=["https://example.com"], - web_origins=["https://example.com"], - require_proof_of_possession=False, - grant_types=[ - "authorization_code", - "http://auth0.com/oauth/grant-type/password-realm", - "implicit", - "password", - "refresh_token", - ], - client_metadata={ - "foo": "zoo", - }, - jwt_configuration={ - "lifetime_in_seconds": 300, - "secret_encoded": True, - "alg": "RS256", - "scopes": { - "foo": "bar", - }, - }, - refresh_token={ - "leeway": 0, - "token_lifetime": 2592000, - "rotation_type": "rotating", - "expiration_type": "expiring", - }, - mobile={ - "ios": { - "team_id": "9JA89QQLNQ", - "app_bundle_identifier": "com.my.bundle.id", - }, - }, - addons={ - "samlp": { - "audience": "https://example.com/saml", - "issuer": "https://example.com", - "mappings": { - "email": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress", - "name": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name", - }, - "create_upn_claim": False, - "passthrough_claims_with_no_mapping": False, - "map_unknown_claims_as_is": False, - "map_identities": False, - "name_identifier_format": "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent", - "name_identifier_probes": ["http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"], - "signing_cert": \"\"\"-----BEGIN PUBLIC KEY----- - MIGf...bpP/t3 - +JGNGIRMj1hF1rnb6QIDAQAB - -----END PUBLIC KEY----- - \"\"\", - }, - }) - ``` - ## Import This resource can be imported by specifying the client ID. @@ -1476,79 +1403,6 @@ def __init__(__self__, """ With this resource, you can set up applications that use Auth0 for authentication and configure allowed callback URLs and secrets for these applications. - ## Example Usage - - ```python - import pulumi - import pulumi_auth0 as auth0 - - my_client = auth0.Client("my_client", - name="Application - Acceptance Test", - description="Test Applications Long Description", - app_type="non_interactive", - compliance_level="none", - custom_login_page_on=True, - is_first_party=True, - is_token_endpoint_ip_header_trusted=True, - oidc_conformant=False, - callbacks=["https://example.com/callback"], - allowed_origins=["https://example.com"], - allowed_logout_urls=["https://example.com"], - web_origins=["https://example.com"], - require_proof_of_possession=False, - grant_types=[ - "authorization_code", - "http://auth0.com/oauth/grant-type/password-realm", - "implicit", - "password", - "refresh_token", - ], - client_metadata={ - "foo": "zoo", - }, - jwt_configuration={ - "lifetime_in_seconds": 300, - "secret_encoded": True, - "alg": "RS256", - "scopes": { - "foo": "bar", - }, - }, - refresh_token={ - "leeway": 0, - "token_lifetime": 2592000, - "rotation_type": "rotating", - "expiration_type": "expiring", - }, - mobile={ - "ios": { - "team_id": "9JA89QQLNQ", - "app_bundle_identifier": "com.my.bundle.id", - }, - }, - addons={ - "samlp": { - "audience": "https://example.com/saml", - "issuer": "https://example.com", - "mappings": { - "email": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress", - "name": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name", - }, - "create_upn_claim": False, - "passthrough_claims_with_no_mapping": False, - "map_unknown_claims_as_is": False, - "map_identities": False, - "name_identifier_format": "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent", - "name_identifier_probes": ["http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"], - "signing_cert": \"\"\"-----BEGIN PUBLIC KEY----- - MIGf...bpP/t3 - +JGNGIRMj1hF1rnb6QIDAQAB - -----END PUBLIC KEY----- - \"\"\", - }, - }) - ``` - ## Import This resource can be imported by specifying the client ID. diff --git a/sdk/python/pulumi_auth0/connection.py b/sdk/python/pulumi_auth0/connection.py index a331e516..ffa2b25f 100644 --- a/sdk/python/pulumi_auth0/connection.py +++ b/sdk/python/pulumi_auth0/connection.py @@ -784,6 +784,8 @@ def __init__(__self__, "signing_cert": "", "sign_in_endpoint": "https://saml.provider/sign_in", "sign_out_endpoint": "https://saml.provider/sign_out", + "global_token_revocation_jwt_iss": "issuer.example.com", + "global_token_revocation_jwt_sub": "user123", "disable_sign_out": True, "strategy_version": 2, "tenant_domain": "example.com", @@ -1494,6 +1496,8 @@ def __init__(__self__, "signing_cert": "", "sign_in_endpoint": "https://saml.provider/sign_in", "sign_out_endpoint": "https://saml.provider/sign_out", + "global_token_revocation_jwt_iss": "issuer.example.com", + "global_token_revocation_jwt_sub": "user123", "disable_sign_out": True, "strategy_version": 2, "tenant_domain": "example.com", diff --git a/sdk/python/pulumi_auth0/get_token_exchange_profile.py b/sdk/python/pulumi_auth0/get_token_exchange_profile.py index a410bc4b..198cc765 100644 --- a/sdk/python/pulumi_auth0/get_token_exchange_profile.py +++ b/sdk/python/pulumi_auth0/get_token_exchange_profile.py @@ -126,6 +126,16 @@ def get_token_exchange_profile(id: Optional[str] = None, """ Data source to retrieve a specific Auth0 Token Exchange Profile by `id` + ## Example Usage + + ```python + import pulumi + import pulumi_auth0 as auth0 + + # An Auth0 Token Exchange Profile loaded using its ID. + my_profile = auth0.get_token_exchange_profile(id="tep_Tnvl88SKv98TkMmr") + ``` + :param str id: The id of the Token Exchange Profile """ @@ -147,6 +157,16 @@ def get_token_exchange_profile_output(id: Optional[pulumi.Input[str]] = None, """ Data source to retrieve a specific Auth0 Token Exchange Profile by `id` + ## Example Usage + + ```python + import pulumi + import pulumi_auth0 as auth0 + + # An Auth0 Token Exchange Profile loaded using its ID. + my_profile = auth0.get_token_exchange_profile(id="tep_Tnvl88SKv98TkMmr") + ``` + :param str id: The id of the Token Exchange Profile """ diff --git a/sdk/python/pulumi_auth0/get_user.py b/sdk/python/pulumi_auth0/get_user.py index 4603eff1..c1fe0070 100644 --- a/sdk/python/pulumi_auth0/get_user.py +++ b/sdk/python/pulumi_auth0/get_user.py @@ -27,7 +27,7 @@ class GetUserResult: """ A collection of values returned by getUser. """ - def __init__(__self__, app_metadata=None, blocked=None, connection_name=None, email=None, email_verified=None, family_name=None, given_name=None, id=None, name=None, nickname=None, password=None, permissions=None, phone_number=None, phone_verified=None, picture=None, roles=None, user_id=None, user_metadata=None, username=None, verify_email=None): + def __init__(__self__, app_metadata=None, blocked=None, connection_name=None, email=None, email_verified=None, family_name=None, given_name=None, id=None, name=None, nickname=None, password=None, permissions=None, phone_number=None, phone_verified=None, picture=None, query=None, roles=None, user_id=None, user_metadata=None, username=None, verify_email=None): if app_metadata and not isinstance(app_metadata, str): raise TypeError("Expected argument 'app_metadata' to be a str") pulumi.set(__self__, "app_metadata", app_metadata) @@ -73,6 +73,9 @@ def __init__(__self__, app_metadata=None, blocked=None, connection_name=None, em if picture and not isinstance(picture, str): raise TypeError("Expected argument 'picture' to be a str") pulumi.set(__self__, "picture", picture) + if query and not isinstance(query, str): + raise TypeError("Expected argument 'query' to be a str") + pulumi.set(__self__, "query", query) if roles and not isinstance(roles, list): raise TypeError("Expected argument 'roles' to be a list") pulumi.set(__self__, "roles", roles) @@ -209,6 +212,14 @@ def picture(self) -> str: """ return pulumi.get(self, "picture") + @property + @pulumi.getter + def query(self) -> Optional[str]: + """ + Lucene Query for retrieving a user. + """ + return pulumi.get(self, "query") + @property @pulumi.getter def roles(self) -> Sequence[str]: @@ -219,7 +230,7 @@ def roles(self) -> Sequence[str]: @property @pulumi.getter(name="userId") - def user_id(self) -> str: + def user_id(self) -> Optional[str]: """ ID of the user. """ @@ -271,6 +282,7 @@ def __await__(self): phone_number=self.phone_number, phone_verified=self.phone_verified, picture=self.picture, + query=self.query, roles=self.roles, user_id=self.user_id, user_metadata=self.user_metadata, @@ -278,25 +290,18 @@ def __await__(self): verify_email=self.verify_email) -def get_user(user_id: Optional[str] = None, +def get_user(query: Optional[str] = None, + user_id: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetUserResult: """ - Data source to retrieve a specific Auth0 user by `user_id`. - - ## Example Usage - - ```python - import pulumi - import pulumi_auth0 as auth0 - - # An Auth0 User loaded using its ID. - my_user = auth0.get_user(user_id="auth0|34fdr23fdsfdfsf") - ``` + Data source to retrieve a specific Auth0 user by `user_id` or by `lucene query`. If filtered by Lucene Query, it should include sufficient filters to retrieve a unique user. + :param str query: Lucene Query for retrieving a user. :param str user_id: ID of the user. """ __args__ = dict() + __args__['query'] = query __args__['userId'] = user_id opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('auth0:index/getUser:getUser', __args__, opts=opts, typ=GetUserResult).value @@ -317,30 +322,24 @@ def get_user(user_id: Optional[str] = None, phone_number=pulumi.get(__ret__, 'phone_number'), phone_verified=pulumi.get(__ret__, 'phone_verified'), picture=pulumi.get(__ret__, 'picture'), + query=pulumi.get(__ret__, 'query'), roles=pulumi.get(__ret__, 'roles'), user_id=pulumi.get(__ret__, 'user_id'), user_metadata=pulumi.get(__ret__, 'user_metadata'), username=pulumi.get(__ret__, 'username'), verify_email=pulumi.get(__ret__, 'verify_email')) -def get_user_output(user_id: Optional[pulumi.Input[str]] = None, +def get_user_output(query: Optional[pulumi.Input[Optional[str]]] = None, + user_id: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetUserResult]: """ - Data source to retrieve a specific Auth0 user by `user_id`. - - ## Example Usage - - ```python - import pulumi - import pulumi_auth0 as auth0 - - # An Auth0 User loaded using its ID. - my_user = auth0.get_user(user_id="auth0|34fdr23fdsfdfsf") - ``` + Data source to retrieve a specific Auth0 user by `user_id` or by `lucene query`. If filtered by Lucene Query, it should include sufficient filters to retrieve a unique user. + :param str query: Lucene Query for retrieving a user. :param str user_id: ID of the user. """ __args__ = dict() + __args__['query'] = query __args__['userId'] = user_id opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('auth0:index/getUser:getUser', __args__, opts=opts, typ=GetUserResult) @@ -360,6 +359,7 @@ def get_user_output(user_id: Optional[pulumi.Input[str]] = None, phone_number=pulumi.get(__response__, 'phone_number'), phone_verified=pulumi.get(__response__, 'phone_verified'), picture=pulumi.get(__response__, 'picture'), + query=pulumi.get(__response__, 'query'), roles=pulumi.get(__response__, 'roles'), user_id=pulumi.get(__response__, 'user_id'), user_metadata=pulumi.get(__response__, 'user_metadata'), diff --git a/sdk/python/pulumi_auth0/log_stream.py b/sdk/python/pulumi_auth0/log_stream.py index 8cf9c2ea..b65be9e7 100644 --- a/sdk/python/pulumi_auth0/log_stream.py +++ b/sdk/python/pulumi_auth0/log_stream.py @@ -24,6 +24,7 @@ def __init__(__self__, *, sink: pulumi.Input['LogStreamSinkArgs'], type: pulumi.Input[str], filters: Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str, pulumi.Input[str]]]]]] = None, + is_priority: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, status: Optional[pulumi.Input[str]] = None): """ @@ -31,6 +32,7 @@ def __init__(__self__, *, :param pulumi.Input['LogStreamSinkArgs'] sink: The sink configuration for the log stream. :param pulumi.Input[str] type: Type of the log stream, which indicates the sink provider. Options include: `eventbridge`, `eventgrid`, `http`, `datadog`, `splunk`, `sumo`, `mixpanel`, `segment`. :param pulumi.Input[Sequence[pulumi.Input[Mapping[str, pulumi.Input[str]]]]] filters: Only logs events matching these filters will be delivered by the stream. If omitted or empty, all events will be delivered. Filters available: `auth.ancillary.fail`, `auth.ancillary.success`, `auth.login.fail`, `auth.login.notification`, `auth.login.success`, `auth.logout.fail`, `auth.logout.success`, `auth.signup.fail`, `auth.signup.success`, `auth.silent_auth.fail`, `auth.silent_auth.success`, `auth.token_exchange.fail`, `auth.token_exchange.success`, `management.fail`, `management.success`, `system.notification`, `user.fail`, `user.notification`, `user.success`, `other`. + :param pulumi.Input[bool] is_priority: Set True for priority log streams, False for non-priority :param pulumi.Input[str] name: Name of the log stream. :param pulumi.Input[str] status: The current status of the log stream. Options are "active", "paused", "suspended". """ @@ -38,6 +40,8 @@ def __init__(__self__, *, pulumi.set(__self__, "type", type) if filters is not None: pulumi.set(__self__, "filters", filters) + if is_priority is not None: + pulumi.set(__self__, "is_priority", is_priority) if name is not None: pulumi.set(__self__, "name", name) if status is not None: @@ -79,6 +83,18 @@ def filters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str, pu def filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str, pulumi.Input[str]]]]]]): pulumi.set(self, "filters", value) + @property + @pulumi.getter(name="isPriority") + def is_priority(self) -> Optional[pulumi.Input[bool]]: + """ + Set True for priority log streams, False for non-priority + """ + return pulumi.get(self, "is_priority") + + @is_priority.setter + def is_priority(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_priority", value) + @property @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: @@ -108,6 +124,7 @@ def status(self, value: Optional[pulumi.Input[str]]): class _LogStreamState: def __init__(__self__, *, filters: Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str, pulumi.Input[str]]]]]] = None, + is_priority: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, sink: Optional[pulumi.Input['LogStreamSinkArgs']] = None, status: Optional[pulumi.Input[str]] = None, @@ -115,6 +132,7 @@ def __init__(__self__, *, """ Input properties used for looking up and filtering LogStream resources. :param pulumi.Input[Sequence[pulumi.Input[Mapping[str, pulumi.Input[str]]]]] filters: Only logs events matching these filters will be delivered by the stream. If omitted or empty, all events will be delivered. Filters available: `auth.ancillary.fail`, `auth.ancillary.success`, `auth.login.fail`, `auth.login.notification`, `auth.login.success`, `auth.logout.fail`, `auth.logout.success`, `auth.signup.fail`, `auth.signup.success`, `auth.silent_auth.fail`, `auth.silent_auth.success`, `auth.token_exchange.fail`, `auth.token_exchange.success`, `management.fail`, `management.success`, `system.notification`, `user.fail`, `user.notification`, `user.success`, `other`. + :param pulumi.Input[bool] is_priority: Set True for priority log streams, False for non-priority :param pulumi.Input[str] name: Name of the log stream. :param pulumi.Input['LogStreamSinkArgs'] sink: The sink configuration for the log stream. :param pulumi.Input[str] status: The current status of the log stream. Options are "active", "paused", "suspended". @@ -122,6 +140,8 @@ def __init__(__self__, *, """ if filters is not None: pulumi.set(__self__, "filters", filters) + if is_priority is not None: + pulumi.set(__self__, "is_priority", is_priority) if name is not None: pulumi.set(__self__, "name", name) if sink is not None: @@ -143,6 +163,18 @@ def filters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str, pu def filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str, pulumi.Input[str]]]]]]): pulumi.set(self, "filters", value) + @property + @pulumi.getter(name="isPriority") + def is_priority(self) -> Optional[pulumi.Input[bool]]: + """ + Set True for priority log streams, False for non-priority + """ + return pulumi.get(self, "is_priority") + + @is_priority.setter + def is_priority(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_priority", value) + @property @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: @@ -198,6 +230,7 @@ def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, filters: Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str, pulumi.Input[str]]]]]] = None, + is_priority: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, sink: Optional[pulumi.Input[Union['LogStreamSinkArgs', 'LogStreamSinkArgsDict']]] = None, status: Optional[pulumi.Input[str]] = None, @@ -206,6 +239,9 @@ def __init__(__self__, """ With this resource, you can manage your Auth0 log streams. + !> isPriority is a field that can be set while the resource is being created. + This cannot be updated once set. Updating the value might result in a noisy plan. + ## Example Usage ```python @@ -262,6 +298,7 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[Sequence[pulumi.Input[Mapping[str, pulumi.Input[str]]]]] filters: Only logs events matching these filters will be delivered by the stream. If omitted or empty, all events will be delivered. Filters available: `auth.ancillary.fail`, `auth.ancillary.success`, `auth.login.fail`, `auth.login.notification`, `auth.login.success`, `auth.logout.fail`, `auth.logout.success`, `auth.signup.fail`, `auth.signup.success`, `auth.silent_auth.fail`, `auth.silent_auth.success`, `auth.token_exchange.fail`, `auth.token_exchange.success`, `management.fail`, `management.success`, `system.notification`, `user.fail`, `user.notification`, `user.success`, `other`. + :param pulumi.Input[bool] is_priority: Set True for priority log streams, False for non-priority :param pulumi.Input[str] name: Name of the log stream. :param pulumi.Input[Union['LogStreamSinkArgs', 'LogStreamSinkArgsDict']] sink: The sink configuration for the log stream. :param pulumi.Input[str] status: The current status of the log stream. Options are "active", "paused", "suspended". @@ -276,6 +313,9 @@ def __init__(__self__, """ With this resource, you can manage your Auth0 log streams. + !> isPriority is a field that can be set while the resource is being created. + This cannot be updated once set. Updating the value might result in a noisy plan. + ## Example Usage ```python @@ -345,6 +385,7 @@ def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, filters: Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str, pulumi.Input[str]]]]]] = None, + is_priority: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, sink: Optional[pulumi.Input[Union['LogStreamSinkArgs', 'LogStreamSinkArgsDict']]] = None, status: Optional[pulumi.Input[str]] = None, @@ -359,6 +400,7 @@ def _internal_init(__self__, __props__ = LogStreamArgs.__new__(LogStreamArgs) __props__.__dict__["filters"] = filters + __props__.__dict__["is_priority"] = is_priority __props__.__dict__["name"] = name if sink is None and not opts.urn: raise TypeError("Missing required property 'sink'") @@ -378,6 +420,7 @@ def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, filters: Optional[pulumi.Input[Sequence[pulumi.Input[Mapping[str, pulumi.Input[str]]]]]] = None, + is_priority: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, sink: Optional[pulumi.Input[Union['LogStreamSinkArgs', 'LogStreamSinkArgsDict']]] = None, status: Optional[pulumi.Input[str]] = None, @@ -390,6 +433,7 @@ def get(resource_name: str, :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[Sequence[pulumi.Input[Mapping[str, pulumi.Input[str]]]]] filters: Only logs events matching these filters will be delivered by the stream. If omitted or empty, all events will be delivered. Filters available: `auth.ancillary.fail`, `auth.ancillary.success`, `auth.login.fail`, `auth.login.notification`, `auth.login.success`, `auth.logout.fail`, `auth.logout.success`, `auth.signup.fail`, `auth.signup.success`, `auth.silent_auth.fail`, `auth.silent_auth.success`, `auth.token_exchange.fail`, `auth.token_exchange.success`, `management.fail`, `management.success`, `system.notification`, `user.fail`, `user.notification`, `user.success`, `other`. + :param pulumi.Input[bool] is_priority: Set True for priority log streams, False for non-priority :param pulumi.Input[str] name: Name of the log stream. :param pulumi.Input[Union['LogStreamSinkArgs', 'LogStreamSinkArgsDict']] sink: The sink configuration for the log stream. :param pulumi.Input[str] status: The current status of the log stream. Options are "active", "paused", "suspended". @@ -400,6 +444,7 @@ def get(resource_name: str, __props__ = _LogStreamState.__new__(_LogStreamState) __props__.__dict__["filters"] = filters + __props__.__dict__["is_priority"] = is_priority __props__.__dict__["name"] = name __props__.__dict__["sink"] = sink __props__.__dict__["status"] = status @@ -414,6 +459,14 @@ def filters(self) -> pulumi.Output[Optional[Sequence[Mapping[str, str]]]]: """ return pulumi.get(self, "filters") + @property + @pulumi.getter(name="isPriority") + def is_priority(self) -> pulumi.Output[Optional[bool]]: + """ + Set True for priority log streams, False for non-priority + """ + return pulumi.get(self, "is_priority") + @property @pulumi.getter def name(self) -> pulumi.Output[str]: diff --git a/sdk/python/pulumi_auth0/outputs.py b/sdk/python/pulumi_auth0/outputs.py index 2b60ae1e..5605e8ac 100644 --- a/sdk/python/pulumi_auth0/outputs.py +++ b/sdk/python/pulumi_auth0/outputs.py @@ -86,6 +86,7 @@ 'ClientNativeSocialLogin', 'ClientNativeSocialLoginApple', 'ClientNativeSocialLoginFacebook', + 'ClientNativeSocialLoginGoogle', 'ClientOidcLogout', 'ClientOidcLogoutBackchannelLogoutInitiators', 'ClientRefreshToken', @@ -234,6 +235,7 @@ 'GetClientNativeSocialLoginResult', 'GetClientNativeSocialLoginAppleResult', 'GetClientNativeSocialLoginFacebookResult', + 'GetClientNativeSocialLoginGoogleResult', 'GetClientOidcLogoutResult', 'GetClientOidcLogoutBackchannelLogoutInitiatorResult', 'GetClientRefreshTokenResult', @@ -988,6 +990,8 @@ def __key_warning(key: str): suggest = "base_hover_color" elif key == "bodyText": suggest = "body_text" + elif key == "captchaWidgetTheme": + suggest = "captcha_widget_theme" elif key == "inputBackground": suggest = "input_background" elif key == "inputBorder": @@ -1026,6 +1030,7 @@ def __init__(__self__, *, base_focus_color: Optional[str] = None, base_hover_color: Optional[str] = None, body_text: Optional[str] = None, + captcha_widget_theme: Optional[str] = None, error: Optional[str] = None, header: Optional[str] = None, icons: Optional[str] = None, @@ -1045,6 +1050,7 @@ def __init__(__self__, *, :param str base_focus_color: Base focus color. Defaults to `#635dff`. :param str base_hover_color: Base hover color. Defaults to `#000000`. :param str body_text: Body text. Defaults to `#1e212a`. + :param str captcha_widget_theme: Captcha Widget Theme. :param str error: Error. Defaults to `#d03c38`. :param str header: Header. Defaults to `#1e212a`. :param str icons: Icons. Defaults to `#65676e`. @@ -1067,6 +1073,8 @@ def __init__(__self__, *, pulumi.set(__self__, "base_hover_color", base_hover_color) if body_text is not None: pulumi.set(__self__, "body_text", body_text) + if captcha_widget_theme is not None: + pulumi.set(__self__, "captcha_widget_theme", captcha_widget_theme) if error is not None: pulumi.set(__self__, "error", error) if header is not None: @@ -1122,6 +1130,14 @@ def body_text(self) -> Optional[str]: """ return pulumi.get(self, "body_text") + @property + @pulumi.getter(name="captchaWidgetTheme") + def captcha_widget_theme(self) -> Optional[str]: + """ + Captcha Widget Theme. + """ + return pulumi.get(self, "captcha_widget_theme") + @property @pulumi.getter def error(self) -> Optional[str]: @@ -4596,11 +4612,14 @@ def team_id(self) -> Optional[str]: class ClientNativeSocialLogin(dict): def __init__(__self__, *, apple: Optional['outputs.ClientNativeSocialLoginApple'] = None, - facebook: Optional['outputs.ClientNativeSocialLoginFacebook'] = None): + facebook: Optional['outputs.ClientNativeSocialLoginFacebook'] = None, + google: Optional['outputs.ClientNativeSocialLoginGoogle'] = None): if apple is not None: pulumi.set(__self__, "apple", apple) if facebook is not None: pulumi.set(__self__, "facebook", facebook) + if google is not None: + pulumi.set(__self__, "google", google) @property @pulumi.getter @@ -4612,6 +4631,11 @@ def apple(self) -> Optional['outputs.ClientNativeSocialLoginApple']: def facebook(self) -> Optional['outputs.ClientNativeSocialLoginFacebook']: return pulumi.get(self, "facebook") + @property + @pulumi.getter + def google(self) -> Optional['outputs.ClientNativeSocialLoginGoogle']: + return pulumi.get(self, "google") + @pulumi.output_type class ClientNativeSocialLoginApple(dict): @@ -4639,6 +4663,19 @@ def enabled(self) -> Optional[bool]: return pulumi.get(self, "enabled") +@pulumi.output_type +class ClientNativeSocialLoginGoogle(dict): + def __init__(__self__, *, + enabled: Optional[bool] = None): + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + + @property + @pulumi.getter + def enabled(self) -> Optional[bool]: + return pulumi.get(self, "enabled") + + @pulumi.output_type class ClientOidcLogout(dict): @staticmethod @@ -4953,6 +4990,10 @@ def __key_warning(key: str): suggest = "gateway_authentication" elif key == "gatewayUrl": suggest = "gateway_url" + elif key == "globalTokenRevocationJwtIss": + suggest = "global_token_revocation_jwt_iss" + elif key == "globalTokenRevocationJwtSub": + suggest = "global_token_revocation_jwt_sub" elif key == "iconUrl": suggest = "icon_url" elif key == "identityApi": @@ -5091,6 +5132,8 @@ def __init__(__self__, *, from_: Optional[str] = None, gateway_authentication: Optional['outputs.ConnectionOptionsGatewayAuthentication'] = None, gateway_url: Optional[str] = None, + global_token_revocation_jwt_iss: Optional[str] = None, + global_token_revocation_jwt_sub: Optional[str] = None, icon_url: Optional[str] = None, identity_api: Optional[str] = None, idp_initiated: Optional['outputs.ConnectionOptionsIdpInitiated'] = None, @@ -5186,6 +5229,8 @@ def __init__(__self__, *, :param str from_: Address to use as the sender. :param 'ConnectionOptionsGatewayAuthenticationArgs' gateway_authentication: Defines the parameters used to generate the auth token for the custom gateway. :param str gateway_url: Defines a custom sms gateway to use instead of Twilio. + :param str global_token_revocation_jwt_iss: Specifies the issuer of the JWT used for global token revocation for the SAML connection. + :param str global_token_revocation_jwt_sub: Specifies the subject of the JWT used for global token revocation for the SAML connection. :param str icon_url: Icon URL. :param str identity_api: Azure AD Identity API. Available options are: `microsoft-identity-platform-v2.0` or `azure-active-directory-v1.0`. :param 'ConnectionOptionsIdpInitiatedArgs' idp_initiated: Configuration options for IDP Initiated Authentication. This is an object with the properties: `client_id`, `client_protocol`, and `client_authorize_query`. @@ -5316,6 +5361,10 @@ def __init__(__self__, *, pulumi.set(__self__, "gateway_authentication", gateway_authentication) if gateway_url is not None: pulumi.set(__self__, "gateway_url", gateway_url) + if global_token_revocation_jwt_iss is not None: + pulumi.set(__self__, "global_token_revocation_jwt_iss", global_token_revocation_jwt_iss) + if global_token_revocation_jwt_sub is not None: + pulumi.set(__self__, "global_token_revocation_jwt_sub", global_token_revocation_jwt_sub) if icon_url is not None: pulumi.set(__self__, "icon_url", icon_url) if identity_api is not None: @@ -5715,6 +5764,22 @@ def gateway_url(self) -> Optional[str]: """ return pulumi.get(self, "gateway_url") + @property + @pulumi.getter(name="globalTokenRevocationJwtIss") + def global_token_revocation_jwt_iss(self) -> Optional[str]: + """ + Specifies the issuer of the JWT used for global token revocation for the SAML connection. + """ + return pulumi.get(self, "global_token_revocation_jwt_iss") + + @property + @pulumi.getter(name="globalTokenRevocationJwtSub") + def global_token_revocation_jwt_sub(self) -> Optional[str]: + """ + Specifies the subject of the JWT used for global token revocation for the SAML connection. + """ + return pulumi.get(self, "global_token_revocation_jwt_sub") + @property @pulumi.getter(name="iconUrl") def icon_url(self) -> Optional[str]: @@ -9431,7 +9496,9 @@ class PromptScreenPartialInsertionPoints(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "formContentEnd": + if key == "formContent": + suggest = "form_content" + elif key == "formContentEnd": suggest = "form_content_end" elif key == "formContentStart": suggest = "form_content_start" @@ -9456,6 +9523,7 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, + form_content: Optional[str] = None, form_content_end: Optional[str] = None, form_content_start: Optional[str] = None, form_footer_end: Optional[str] = None, @@ -9463,6 +9531,7 @@ def __init__(__self__, *, secondary_actions_end: Optional[str] = None, secondary_actions_start: Optional[str] = None): """ + :param str form_content: Content that goes inside the form :param str form_content_end: Content that goes at the end of the form. :param str form_content_start: Content that goes at the start of the form. :param str form_footer_end: Footer content for the end of the footer. @@ -9470,6 +9539,8 @@ def __init__(__self__, *, :param str secondary_actions_end: Actions that go at the end of secondary actions. :param str secondary_actions_start: Actions that go at the start of secondary actions. """ + if form_content is not None: + pulumi.set(__self__, "form_content", form_content) if form_content_end is not None: pulumi.set(__self__, "form_content_end", form_content_end) if form_content_start is not None: @@ -9483,6 +9554,14 @@ def __init__(__self__, *, if secondary_actions_start is not None: pulumi.set(__self__, "secondary_actions_start", secondary_actions_start) + @property + @pulumi.getter(name="formContent") + def form_content(self) -> Optional[str]: + """ + Content that goes inside the form + """ + return pulumi.get(self, "form_content") + @property @pulumi.getter(name="formContentEnd") def form_content_end(self) -> Optional[str]: @@ -9581,7 +9660,9 @@ class PromptScreenPartialsScreenPartialInsertionPoints(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "formContentEnd": + if key == "formContent": + suggest = "form_content" + elif key == "formContentEnd": suggest = "form_content_end" elif key == "formContentStart": suggest = "form_content_start" @@ -9606,6 +9687,7 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, + form_content: Optional[str] = None, form_content_end: Optional[str] = None, form_content_start: Optional[str] = None, form_footer_end: Optional[str] = None, @@ -9613,6 +9695,7 @@ def __init__(__self__, *, secondary_actions_end: Optional[str] = None, secondary_actions_start: Optional[str] = None): """ + :param str form_content: Content that goes inside the form :param str form_content_end: Content that goes at the end of the form. :param str form_content_start: Content that goes at the start of the form. :param str form_footer_end: Footer content for the end of the footer. @@ -9620,6 +9703,8 @@ def __init__(__self__, *, :param str secondary_actions_end: Actions that go at the end of secondary actions. :param str secondary_actions_start: Actions that go at the start of secondary actions. """ + if form_content is not None: + pulumi.set(__self__, "form_content", form_content) if form_content_end is not None: pulumi.set(__self__, "form_content_end", form_content_end) if form_content_start is not None: @@ -9633,6 +9718,14 @@ def __init__(__self__, *, if secondary_actions_start is not None: pulumi.set(__self__, "secondary_actions_start", secondary_actions_start) + @property + @pulumi.getter(name="formContent") + def form_content(self) -> Optional[str]: + """ + Content that goes inside the form + """ + return pulumi.get(self, "form_content") + @property @pulumi.getter(name="formContentEnd") def form_content_end(self) -> Optional[str]: @@ -11109,6 +11202,7 @@ def __init__(__self__, *, base_focus_color: str, base_hover_color: str, body_text: str, + captcha_widget_theme: str, error: str, header: str, icons: str, @@ -11128,6 +11222,7 @@ def __init__(__self__, *, :param str base_focus_color: Base focus color. Defaults to `#635dff`. :param str base_hover_color: Base hover color. Defaults to `#000000`. :param str body_text: Body text. Defaults to `#1e212a`. + :param str captcha_widget_theme: Captcha Widget Theme. :param str error: Error. Defaults to `#d03c38`. :param str header: Header. Defaults to `#1e212a`. :param str icons: Icons. Defaults to `#65676e`. @@ -11147,6 +11242,7 @@ def __init__(__self__, *, pulumi.set(__self__, "base_focus_color", base_focus_color) pulumi.set(__self__, "base_hover_color", base_hover_color) pulumi.set(__self__, "body_text", body_text) + pulumi.set(__self__, "captcha_widget_theme", captcha_widget_theme) pulumi.set(__self__, "error", error) pulumi.set(__self__, "header", header) pulumi.set(__self__, "icons", icons) @@ -11187,6 +11283,14 @@ def body_text(self) -> str: """ return pulumi.get(self, "body_text") + @property + @pulumi.getter(name="captchaWidgetTheme") + def captcha_widget_theme(self) -> str: + """ + Captcha Widget Theme. + """ + return pulumi.get(self, "captcha_widget_theme") + @property @pulumi.getter def error(self) -> str: @@ -13682,9 +13786,11 @@ def team_id(self) -> str: class GetClientNativeSocialLoginResult(dict): def __init__(__self__, *, apples: Sequence['outputs.GetClientNativeSocialLoginAppleResult'], - facebooks: Sequence['outputs.GetClientNativeSocialLoginFacebookResult']): + facebooks: Sequence['outputs.GetClientNativeSocialLoginFacebookResult'], + googles: Sequence['outputs.GetClientNativeSocialLoginGoogleResult']): pulumi.set(__self__, "apples", apples) pulumi.set(__self__, "facebooks", facebooks) + pulumi.set(__self__, "googles", googles) @property @pulumi.getter @@ -13696,6 +13802,11 @@ def apples(self) -> Sequence['outputs.GetClientNativeSocialLoginAppleResult']: def facebooks(self) -> Sequence['outputs.GetClientNativeSocialLoginFacebookResult']: return pulumi.get(self, "facebooks") + @property + @pulumi.getter + def googles(self) -> Sequence['outputs.GetClientNativeSocialLoginGoogleResult']: + return pulumi.get(self, "googles") + @pulumi.output_type class GetClientNativeSocialLoginAppleResult(dict): @@ -13721,6 +13832,18 @@ def enabled(self) -> bool: return pulumi.get(self, "enabled") +@pulumi.output_type +class GetClientNativeSocialLoginGoogleResult(dict): + def __init__(__self__, *, + enabled: bool): + pulumi.set(__self__, "enabled", enabled) + + @property + @pulumi.getter + def enabled(self) -> bool: + return pulumi.get(self, "enabled") + + @pulumi.output_type class GetClientOidcLogoutResult(dict): def __init__(__self__, *, @@ -14300,6 +14423,8 @@ def __init__(__self__, *, from_: str, gateway_authentications: Sequence['outputs.GetConnectionOptionGatewayAuthenticationResult'], gateway_url: str, + global_token_revocation_jwt_iss: str, + global_token_revocation_jwt_sub: str, icon_url: str, identity_api: str, idp_initiateds: Sequence['outputs.GetConnectionOptionIdpInitiatedResult'], @@ -14395,6 +14520,8 @@ def __init__(__self__, *, :param str from_: Address to use as the sender. :param Sequence['GetConnectionOptionGatewayAuthenticationArgs'] gateway_authentications: Defines the parameters used to generate the auth token for the custom gateway. :param str gateway_url: Defines a custom sms gateway to use instead of Twilio. + :param str global_token_revocation_jwt_iss: Specifies the issuer of the JWT used for global token revocation for the SAML connection. + :param str global_token_revocation_jwt_sub: Specifies the subject of the JWT used for global token revocation for the SAML connection. :param str icon_url: Icon URL. :param str identity_api: Azure AD Identity API. Available options are: `microsoft-identity-platform-v2.0` or `azure-active-directory-v1.0`. :param Sequence['GetConnectionOptionIdpInitiatedArgs'] idp_initiateds: Configuration options for IDP Initiated Authentication. This is an object with the properties: `client_id`, `client_protocol`, and `client_authorize_query`. @@ -14490,6 +14617,8 @@ def __init__(__self__, *, pulumi.set(__self__, "from_", from_) pulumi.set(__self__, "gateway_authentications", gateway_authentications) pulumi.set(__self__, "gateway_url", gateway_url) + pulumi.set(__self__, "global_token_revocation_jwt_iss", global_token_revocation_jwt_iss) + pulumi.set(__self__, "global_token_revocation_jwt_sub", global_token_revocation_jwt_sub) pulumi.set(__self__, "icon_url", icon_url) pulumi.set(__self__, "identity_api", identity_api) pulumi.set(__self__, "idp_initiateds", idp_initiateds) @@ -14830,6 +14959,22 @@ def gateway_url(self) -> str: """ return pulumi.get(self, "gateway_url") + @property + @pulumi.getter(name="globalTokenRevocationJwtIss") + def global_token_revocation_jwt_iss(self) -> str: + """ + Specifies the issuer of the JWT used for global token revocation for the SAML connection. + """ + return pulumi.get(self, "global_token_revocation_jwt_iss") + + @property + @pulumi.getter(name="globalTokenRevocationJwtSub") + def global_token_revocation_jwt_sub(self) -> str: + """ + Specifies the subject of the JWT used for global token revocation for the SAML connection. + """ + return pulumi.get(self, "global_token_revocation_jwt_sub") + @property @pulumi.getter(name="iconUrl") def icon_url(self) -> str: @@ -16558,6 +16703,7 @@ def screen_name(self) -> str: @pulumi.output_type class GetPromptScreenPartialsScreenPartialInsertionPointResult(dict): def __init__(__self__, *, + form_content: str, form_content_end: str, form_content_start: str, form_footer_end: str, @@ -16565,6 +16711,7 @@ def __init__(__self__, *, secondary_actions_end: str, secondary_actions_start: str): """ + :param str form_content: Content that goes inside the form :param str form_content_end: Content that goes at the end of the form. :param str form_content_start: Content that goes at the start of the form. :param str form_footer_end: Footer content for the end of the footer. @@ -16572,6 +16719,7 @@ def __init__(__self__, *, :param str secondary_actions_end: Actions that go at the end of secondary actions. :param str secondary_actions_start: Actions that go at the start of secondary actions. """ + pulumi.set(__self__, "form_content", form_content) pulumi.set(__self__, "form_content_end", form_content_end) pulumi.set(__self__, "form_content_start", form_content_start) pulumi.set(__self__, "form_footer_end", form_footer_end) @@ -16579,6 +16727,14 @@ def __init__(__self__, *, pulumi.set(__self__, "secondary_actions_end", secondary_actions_end) pulumi.set(__self__, "secondary_actions_start", secondary_actions_start) + @property + @pulumi.getter(name="formContent") + def form_content(self) -> str: + """ + Content that goes inside the form + """ + return pulumi.get(self, "form_content") + @property @pulumi.getter(name="formContentEnd") def form_content_end(self) -> str: diff --git a/sdk/python/pulumi_auth0/prompt_partials.py b/sdk/python/pulumi_auth0/prompt_partials.py index 801295c5..b0ca9633 100644 --- a/sdk/python/pulumi_auth0/prompt_partials.py +++ b/sdk/python/pulumi_auth0/prompt_partials.py @@ -28,7 +28,7 @@ def __init__(__self__, *, secondary_actions_start: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a PromptPartials resource. - :param pulumi.Input[str] prompt: The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + :param pulumi.Input[str] prompt: The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. :param pulumi.Input[str] form_content_end: Content that goes at the end of the form. :param pulumi.Input[str] form_content_start: Content that goes at the start of the form. :param pulumi.Input[str] form_footer_end: Footer content for the end of the footer. @@ -76,7 +76,7 @@ def __init__(__self__, *, @_utilities.deprecated("""This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""") def prompt(self) -> pulumi.Input[str]: """ - The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. """ return pulumi.get(self, "prompt") @@ -179,7 +179,7 @@ def __init__(__self__, *, :param pulumi.Input[str] form_content_start: Content that goes at the start of the form. :param pulumi.Input[str] form_footer_end: Footer content for the end of the footer. :param pulumi.Input[str] form_footer_start: Footer content for the start of the footer. - :param pulumi.Input[str] prompt: The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + :param pulumi.Input[str] prompt: The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. :param pulumi.Input[str] secondary_actions_end: Actions that go at the end of secondary actions. :param pulumi.Input[str] secondary_actions_start: Actions that go at the start of secondary actions. """ @@ -276,7 +276,7 @@ def form_footer_start(self, value: Optional[pulumi.Input[str]]): @_utilities.deprecated("""This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""") def prompt(self) -> Optional[pulumi.Input[str]]: """ - The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. """ return pulumi.get(self, "prompt") @@ -364,7 +364,7 @@ def __init__(__self__, :param pulumi.Input[str] form_content_start: Content that goes at the start of the form. :param pulumi.Input[str] form_footer_end: Footer content for the end of the footer. :param pulumi.Input[str] form_footer_start: Footer content for the start of the footer. - :param pulumi.Input[str] prompt: The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + :param pulumi.Input[str] prompt: The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. :param pulumi.Input[str] secondary_actions_end: Actions that go at the end of secondary actions. :param pulumi.Input[str] secondary_actions_start: Actions that go at the start of secondary actions. """ @@ -476,7 +476,7 @@ def get(resource_name: str, :param pulumi.Input[str] form_content_start: Content that goes at the start of the form. :param pulumi.Input[str] form_footer_end: Footer content for the end of the footer. :param pulumi.Input[str] form_footer_start: Footer content for the start of the footer. - :param pulumi.Input[str] prompt: The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + :param pulumi.Input[str] prompt: The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. :param pulumi.Input[str] secondary_actions_end: Actions that go at the end of secondary actions. :param pulumi.Input[str] secondary_actions_start: Actions that go at the start of secondary actions. """ @@ -534,7 +534,7 @@ def form_footer_start(self) -> pulumi.Output[Optional[str]]: @_utilities.deprecated("""This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""") def prompt(self) -> pulumi.Output[str]: """ - The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. """ return pulumi.get(self, "prompt") diff --git a/sdk/python/pulumi_auth0/prompt_screen_partial.py b/sdk/python/pulumi_auth0/prompt_screen_partial.py index 02652b3f..f29b7af3 100644 --- a/sdk/python/pulumi_auth0/prompt_screen_partial.py +++ b/sdk/python/pulumi_auth0/prompt_screen_partial.py @@ -26,7 +26,7 @@ def __init__(__self__, *, insertion_points: Optional[pulumi.Input['PromptScreenPartialInsertionPointsArgs']] = None): """ The set of arguments for constructing a PromptScreenPartial resource. - :param pulumi.Input[str] prompt_type: The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + :param pulumi.Input[str] prompt_type: The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. :param pulumi.Input[str] screen_name: The name of the screen associated with the partials :param pulumi.Input['PromptScreenPartialInsertionPointsArgs'] insertion_points: The insertion points for the partials. """ @@ -39,7 +39,7 @@ def __init__(__self__, *, @pulumi.getter(name="promptType") def prompt_type(self) -> pulumi.Input[str]: """ - The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. """ return pulumi.get(self, "prompt_type") @@ -81,7 +81,7 @@ def __init__(__self__, *, """ Input properties used for looking up and filtering PromptScreenPartial resources. :param pulumi.Input['PromptScreenPartialInsertionPointsArgs'] insertion_points: The insertion points for the partials. - :param pulumi.Input[str] prompt_type: The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + :param pulumi.Input[str] prompt_type: The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. :param pulumi.Input[str] screen_name: The name of the screen associated with the partials """ if insertion_points is not None: @@ -107,7 +107,7 @@ def insertion_points(self, value: Optional[pulumi.Input['PromptScreenPartialInse @pulumi.getter(name="promptType") def prompt_type(self) -> Optional[pulumi.Input[str]]: """ - The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. """ return pulumi.get(self, "prompt_type") @@ -158,6 +158,12 @@ def __init__(__self__, "form_content_start": "
Form Content Start
", "form_content_end": "
Form Content End
", }) + customized_consent = auth0.PromptScreenPartial("customized-consent", + prompt_type="customized-consent", + screen_name="customized-consent", + insertion_points={ + "form_content": "
Form Content
", + }) ``` ## Import @@ -183,7 +189,7 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[Union['PromptScreenPartialInsertionPointsArgs', 'PromptScreenPartialInsertionPointsArgsDict']] insertion_points: The insertion points for the partials. - :param pulumi.Input[str] prompt_type: The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + :param pulumi.Input[str] prompt_type: The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. :param pulumi.Input[str] screen_name: The name of the screen associated with the partials """ ... @@ -213,6 +219,12 @@ def __init__(__self__, "form_content_start": "
Form Content Start
", "form_content_end": "
Form Content End
", }) + customized_consent = auth0.PromptScreenPartial("customized-consent", + prompt_type="customized-consent", + screen_name="customized-consent", + insertion_points={ + "form_content": "
Form Content
", + }) ``` ## Import @@ -290,7 +302,7 @@ def get(resource_name: str, :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[Union['PromptScreenPartialInsertionPointsArgs', 'PromptScreenPartialInsertionPointsArgsDict']] insertion_points: The insertion points for the partials. - :param pulumi.Input[str] prompt_type: The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + :param pulumi.Input[str] prompt_type: The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. :param pulumi.Input[str] screen_name: The name of the screen associated with the partials """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -314,7 +326,7 @@ def insertion_points(self) -> pulumi.Output[Optional['outputs.PromptScreenPartia @pulumi.getter(name="promptType") def prompt_type(self) -> pulumi.Output[str]: """ - The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. """ return pulumi.get(self, "prompt_type") diff --git a/sdk/python/pulumi_auth0/prompt_screen_partials.py b/sdk/python/pulumi_auth0/prompt_screen_partials.py index 0b48b7a5..1e87c71d 100644 --- a/sdk/python/pulumi_auth0/prompt_screen_partials.py +++ b/sdk/python/pulumi_auth0/prompt_screen_partials.py @@ -25,7 +25,7 @@ def __init__(__self__, *, screen_partials: Optional[pulumi.Input[Sequence[pulumi.Input['PromptScreenPartialsScreenPartialArgs']]]] = None): """ The set of arguments for constructing a PromptScreenPartials resource. - :param pulumi.Input[str] prompt_type: The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + :param pulumi.Input[str] prompt_type: The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. """ pulumi.set(__self__, "prompt_type", prompt_type) if screen_partials is not None: @@ -35,7 +35,7 @@ def __init__(__self__, *, @pulumi.getter(name="promptType") def prompt_type(self) -> pulumi.Input[str]: """ - The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. """ return pulumi.get(self, "prompt_type") @@ -60,7 +60,7 @@ def __init__(__self__, *, screen_partials: Optional[pulumi.Input[Sequence[pulumi.Input['PromptScreenPartialsScreenPartialArgs']]]] = None): """ Input properties used for looking up and filtering PromptScreenPartials resources. - :param pulumi.Input[str] prompt_type: The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + :param pulumi.Input[str] prompt_type: The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. """ if prompt_type is not None: pulumi.set(__self__, "prompt_type", prompt_type) @@ -71,7 +71,7 @@ def __init__(__self__, *, @pulumi.getter(name="promptType") def prompt_type(self) -> Optional[pulumi.Input[str]]: """ - The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. """ return pulumi.get(self, "prompt_type") @@ -129,6 +129,14 @@ def __init__(__self__, }, }, ]) + customized_consent = auth0.PromptScreenPartials("customized-consent", + prompt_type="customized-consent", + screen_partials=[{ + "screen_name": "customized-consent", + "insertion_points": { + "form_content": "
Form Content
", + }, + }]) ``` ## Import @@ -145,7 +153,7 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] prompt_type: The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + :param pulumi.Input[str] prompt_type: The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. """ ... @overload @@ -185,6 +193,14 @@ def __init__(__self__, }, }, ]) + customized_consent = auth0.PromptScreenPartials("customized-consent", + prompt_type="customized-consent", + screen_partials=[{ + "screen_name": "customized-consent", + "insertion_points": { + "form_content": "
Form Content
", + }, + }]) ``` ## Import @@ -248,7 +264,7 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] prompt_type: The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + :param pulumi.Input[str] prompt_type: The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -262,7 +278,7 @@ def get(resource_name: str, @pulumi.getter(name="promptType") def prompt_type(self) -> pulumi.Output[str]: """ - The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`, `customized-consent`. """ return pulumi.get(self, "prompt_type") diff --git a/sdk/python/pulumi_auth0/prompt_screen_renderer.py b/sdk/python/pulumi_auth0/prompt_screen_renderer.py index ac8046e8..9244e5ce 100644 --- a/sdk/python/pulumi_auth0/prompt_screen_renderer.py +++ b/sdk/python/pulumi_auth0/prompt_screen_renderer.py @@ -27,8 +27,8 @@ def __init__(__self__, *, rendering_mode: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a PromptScreenRenderer resource. - :param pulumi.Input[str] prompt_type: The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`. - :param pulumi.Input[str] screen_name: The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`. + :param pulumi.Input[str] prompt_type: The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`, `mfa`, `mfa-sms`, `mfa-email`, `mfa-push`. + :param pulumi.Input[str] screen_name: The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`, `mfa-detect-browser-capabilities`, `mfa-enroll-result`, `mfa-begin-enroll-options`, `mfa-login-options`, `mfa-country-codes`, `mfa-sms-challenge`, `mfa-sms-enrollment`, `mfa-sms-list`, `mfa-email-challenge`, `mfa-email-list`, `mfa-push-challenge-push`, `mfa-push-enrollment-qr`, `mfa-push-list`, `mfa-push-welcome`. :param pulumi.Input[Sequence[pulumi.Input[str]]] context_configurations: Context values to make available :param pulumi.Input[bool] default_head_tags_disabled: Override Universal Login default head tags :param pulumi.Input[str] head_tags: An array of head tags @@ -49,7 +49,7 @@ def __init__(__self__, *, @pulumi.getter(name="promptType") def prompt_type(self) -> pulumi.Input[str]: """ - The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`. + The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`, `mfa`, `mfa-sms`, `mfa-email`, `mfa-push`. """ return pulumi.get(self, "prompt_type") @@ -61,7 +61,7 @@ def prompt_type(self, value: pulumi.Input[str]): @pulumi.getter(name="screenName") def screen_name(self) -> pulumi.Input[str]: """ - The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`. + The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`, `mfa-detect-browser-capabilities`, `mfa-enroll-result`, `mfa-begin-enroll-options`, `mfa-login-options`, `mfa-country-codes`, `mfa-sms-challenge`, `mfa-sms-enrollment`, `mfa-sms-list`, `mfa-email-challenge`, `mfa-email-list`, `mfa-push-challenge-push`, `mfa-push-enrollment-qr`, `mfa-push-list`, `mfa-push-welcome`. """ return pulumi.get(self, "screen_name") @@ -133,9 +133,9 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] context_configurations: Context values to make available :param pulumi.Input[bool] default_head_tags_disabled: Override Universal Login default head tags :param pulumi.Input[str] head_tags: An array of head tags - :param pulumi.Input[str] prompt_type: The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`. + :param pulumi.Input[str] prompt_type: The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`, `mfa`, `mfa-sms`, `mfa-email`, `mfa-push`. :param pulumi.Input[str] rendering_mode: Rendering modeOptions are: `standard`, `advanced`. - :param pulumi.Input[str] screen_name: The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`. + :param pulumi.Input[str] screen_name: The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`, `mfa-detect-browser-capabilities`, `mfa-enroll-result`, `mfa-begin-enroll-options`, `mfa-login-options`, `mfa-country-codes`, `mfa-sms-challenge`, `mfa-sms-enrollment`, `mfa-sms-list`, `mfa-email-challenge`, `mfa-email-list`, `mfa-push-challenge-push`, `mfa-push-enrollment-qr`, `mfa-push-list`, `mfa-push-welcome`. :param pulumi.Input[str] tenant: Tenant ID """ if context_configurations is not None: @@ -193,7 +193,7 @@ def head_tags(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="promptType") def prompt_type(self) -> Optional[pulumi.Input[str]]: """ - The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`. + The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`, `mfa`, `mfa-sms`, `mfa-email`, `mfa-push`. """ return pulumi.get(self, "prompt_type") @@ -217,7 +217,7 @@ def rendering_mode(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="screenName") def screen_name(self) -> Optional[pulumi.Input[str]]: """ - The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`. + The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`, `mfa-detect-browser-capabilities`, `mfa-enroll-result`, `mfa-begin-enroll-options`, `mfa-login-options`, `mfa-country-codes`, `mfa-sms-challenge`, `mfa-sms-enrollment`, `mfa-sms-list`, `mfa-email-challenge`, `mfa-email-list`, `mfa-push-challenge-push`, `mfa-push-enrollment-qr`, `mfa-push-list`, `mfa-push-welcome`. """ return pulumi.get(self, "screen_name") @@ -320,9 +320,9 @@ def __init__(__self__, :param pulumi.Input[Sequence[pulumi.Input[str]]] context_configurations: Context values to make available :param pulumi.Input[bool] default_head_tags_disabled: Override Universal Login default head tags :param pulumi.Input[str] head_tags: An array of head tags - :param pulumi.Input[str] prompt_type: The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`. + :param pulumi.Input[str] prompt_type: The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`, `mfa`, `mfa-sms`, `mfa-email`, `mfa-push`. :param pulumi.Input[str] rendering_mode: Rendering modeOptions are: `standard`, `advanced`. - :param pulumi.Input[str] screen_name: The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`. + :param pulumi.Input[str] screen_name: The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`, `mfa-detect-browser-capabilities`, `mfa-enroll-result`, `mfa-begin-enroll-options`, `mfa-login-options`, `mfa-country-codes`, `mfa-sms-challenge`, `mfa-sms-enrollment`, `mfa-sms-list`, `mfa-email-challenge`, `mfa-email-list`, `mfa-push-challenge-push`, `mfa-push-enrollment-qr`, `mfa-push-list`, `mfa-push-welcome`. """ ... @overload @@ -463,9 +463,9 @@ def get(resource_name: str, :param pulumi.Input[Sequence[pulumi.Input[str]]] context_configurations: Context values to make available :param pulumi.Input[bool] default_head_tags_disabled: Override Universal Login default head tags :param pulumi.Input[str] head_tags: An array of head tags - :param pulumi.Input[str] prompt_type: The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`. + :param pulumi.Input[str] prompt_type: The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`, `mfa`, `mfa-sms`, `mfa-email`, `mfa-push`. :param pulumi.Input[str] rendering_mode: Rendering modeOptions are: `standard`, `advanced`. - :param pulumi.Input[str] screen_name: The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`. + :param pulumi.Input[str] screen_name: The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`, `mfa-detect-browser-capabilities`, `mfa-enroll-result`, `mfa-begin-enroll-options`, `mfa-login-options`, `mfa-country-codes`, `mfa-sms-challenge`, `mfa-sms-enrollment`, `mfa-sms-list`, `mfa-email-challenge`, `mfa-email-list`, `mfa-push-challenge-push`, `mfa-push-enrollment-qr`, `mfa-push-list`, `mfa-push-welcome`. :param pulumi.Input[str] tenant: Tenant ID """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -509,7 +509,7 @@ def head_tags(self) -> pulumi.Output[str]: @pulumi.getter(name="promptType") def prompt_type(self) -> pulumi.Output[str]: """ - The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`. + The prompt that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkeys`, `captcha`, `login`, `signup`, `reset-password`, `mfa`, `mfa-sms`, `mfa-email`, `mfa-push`. """ return pulumi.get(self, "prompt_type") @@ -525,7 +525,7 @@ def rendering_mode(self) -> pulumi.Output[Optional[str]]: @pulumi.getter(name="screenName") def screen_name(self) -> pulumi.Output[str]: """ - The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`. + The screen that you are configuring settings for. Options are: `signup-id`, `signup-password`, `login-id`, `login-password`, `login-passwordless-sms-otp`, `login-passwordless-email-code`, `phone-identifier-enrollment`, `phone-identifier-challenge`, `email-identifier-challenge`, `passkey-enrollment`, `passkey-enrollment-local`, `interstitial-captcha`, `login`, `signup`, `reset-password-request`, `reset-password-email`, `reset-password`, `reset-password-success`, `reset-password-error`, `mfa-detect-browser-capabilities`, `mfa-enroll-result`, `mfa-begin-enroll-options`, `mfa-login-options`, `mfa-country-codes`, `mfa-sms-challenge`, `mfa-sms-enrollment`, `mfa-sms-list`, `mfa-email-challenge`, `mfa-email-list`, `mfa-push-challenge-push`, `mfa-push-enrollment-qr`, `mfa-push-list`, `mfa-push-welcome`. """ return pulumi.get(self, "screen_name") diff --git a/sdk/python/pulumi_auth0/token_exchange_profile.py b/sdk/python/pulumi_auth0/token_exchange_profile.py index 4fca312c..98688cab 100644 --- a/sdk/python/pulumi_auth0/token_exchange_profile.py +++ b/sdk/python/pulumi_auth0/token_exchange_profile.py @@ -205,6 +205,44 @@ def __init__(__self__, """ With this resource, you can manage Auth0 Custom Token Exchange Profiles + ## Example Usage + + ```python + import pulumi + import pulumi_auth0 as auth0 + + # Below action is created with custom-token-exchange as supported_triggers + # This action is then linked using the action_id param to the token-exchange profile + my_action = auth0.Action("my_action", + name="TokenExchange-Action", + code=\"\"\"exports.onContinuePostLogin = async (event, api) => { + \\x09console.log("foo") + };" + \"\"\", + deploy=True, + supported_triggers={ + "id": "custom-token-exchange", + "version": "v1", + }) + my_token_exchange_profile = auth0.TokenExchangeProfile("my_token_exchange_profile", + name="token-exchange-prof", + subject_token_type="https://acme.com/cis-token", + action_id=my_action.id, + type="custom_authentication") + ``` + + ## Import + + This resource can be imported using the token exchange profile ID. + + # + + Example: + + ```sh + $ pulumi import auth0:index/tokenExchangeProfile:TokenExchangeProfile profile "tep_XXXXXXXXXXXXXX" + ``` + :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] action_id: Unique identifier of the Action @@ -221,6 +259,44 @@ def __init__(__self__, """ With this resource, you can manage Auth0 Custom Token Exchange Profiles + ## Example Usage + + ```python + import pulumi + import pulumi_auth0 as auth0 + + # Below action is created with custom-token-exchange as supported_triggers + # This action is then linked using the action_id param to the token-exchange profile + my_action = auth0.Action("my_action", + name="TokenExchange-Action", + code=\"\"\"exports.onContinuePostLogin = async (event, api) => { + \\x09console.log("foo") + };" + \"\"\", + deploy=True, + supported_triggers={ + "id": "custom-token-exchange", + "version": "v1", + }) + my_token_exchange_profile = auth0.TokenExchangeProfile("my_token_exchange_profile", + name="token-exchange-prof", + subject_token_type="https://acme.com/cis-token", + action_id=my_action.id, + type="custom_authentication") + ``` + + ## Import + + This resource can be imported using the token exchange profile ID. + + # + + Example: + + ```sh + $ pulumi import auth0:index/tokenExchangeProfile:TokenExchangeProfile profile "tep_XXXXXXXXXXXXXX" + ``` + :param str resource_name: The name of the resource. :param TokenExchangeProfileArgs args: The arguments to use to populate this resource's properties. :param pulumi.ResourceOptions opts: Options for the resource. diff --git a/sdk/python/pulumi_auth0/trigger_action.py b/sdk/python/pulumi_auth0/trigger_action.py index 01a92efe..4a279f61 100644 --- a/sdk/python/pulumi_auth0/trigger_action.py +++ b/sdk/python/pulumi_auth0/trigger_action.py @@ -25,7 +25,7 @@ def __init__(__self__, *, """ The set of arguments for constructing a TriggerAction resource. :param pulumi.Input[str] action_id: The ID of the action to bind to the trigger. - :param pulumi.Input[str] trigger: The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + :param pulumi.Input[str] trigger: The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. :param pulumi.Input[str] display_name: The name for this action within the trigger. This can be useful for distinguishing between multiple instances of the same action bound to a trigger. Defaults to action name when not provided. """ pulumi.set(__self__, "action_id", action_id) @@ -49,7 +49,7 @@ def action_id(self, value: pulumi.Input[str]): @pulumi.getter def trigger(self) -> pulumi.Input[str]: """ - The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. """ return pulumi.get(self, "trigger") @@ -80,7 +80,7 @@ def __init__(__self__, *, Input properties used for looking up and filtering TriggerAction resources. :param pulumi.Input[str] action_id: The ID of the action to bind to the trigger. :param pulumi.Input[str] display_name: The name for this action within the trigger. This can be useful for distinguishing between multiple instances of the same action bound to a trigger. Defaults to action name when not provided. - :param pulumi.Input[str] trigger: The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + :param pulumi.Input[str] trigger: The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. """ if action_id is not None: pulumi.set(__self__, "action_id", action_id) @@ -117,7 +117,7 @@ def display_name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def trigger(self) -> Optional[pulumi.Input[str]]: """ - The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. """ return pulumi.get(self, "trigger") @@ -186,7 +186,7 @@ def __init__(__self__, :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] action_id: The ID of the action to bind to the trigger. :param pulumi.Input[str] display_name: The name for this action within the trigger. This can be useful for distinguishing between multiple instances of the same action bound to a trigger. Defaults to action name when not provided. - :param pulumi.Input[str] trigger: The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + :param pulumi.Input[str] trigger: The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. """ ... @overload @@ -297,7 +297,7 @@ def get(resource_name: str, :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] action_id: The ID of the action to bind to the trigger. :param pulumi.Input[str] display_name: The name for this action within the trigger. This can be useful for distinguishing between multiple instances of the same action bound to a trigger. Defaults to action name when not provided. - :param pulumi.Input[str] trigger: The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + :param pulumi.Input[str] trigger: The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -328,7 +328,7 @@ def display_name(self) -> pulumi.Output[str]: @pulumi.getter def trigger(self) -> pulumi.Output[str]: """ - The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + The ID of the trigger to bind with. Available options: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. """ return pulumi.get(self, "trigger") diff --git a/sdk/python/pulumi_auth0/trigger_actions.py b/sdk/python/pulumi_auth0/trigger_actions.py index ca6c0993..5cc6e6af 100644 --- a/sdk/python/pulumi_auth0/trigger_actions.py +++ b/sdk/python/pulumi_auth0/trigger_actions.py @@ -26,7 +26,7 @@ def __init__(__self__, *, """ The set of arguments for constructing a TriggerActions resource. :param pulumi.Input[Sequence[pulumi.Input['TriggerActionsActionArgs']]] actions: The list of actions bound to this trigger. - :param pulumi.Input[str] trigger: The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + :param pulumi.Input[str] trigger: The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. """ pulumi.set(__self__, "actions", actions) pulumi.set(__self__, "trigger", trigger) @@ -47,7 +47,7 @@ def actions(self, value: pulumi.Input[Sequence[pulumi.Input['TriggerActionsActio @pulumi.getter def trigger(self) -> pulumi.Input[str]: """ - The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. """ return pulumi.get(self, "trigger") @@ -64,7 +64,7 @@ def __init__(__self__, *, """ Input properties used for looking up and filtering TriggerActions resources. :param pulumi.Input[Sequence[pulumi.Input['TriggerActionsActionArgs']]] actions: The list of actions bound to this trigger. - :param pulumi.Input[str] trigger: The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + :param pulumi.Input[str] trigger: The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. """ if actions is not None: pulumi.set(__self__, "actions", actions) @@ -87,7 +87,7 @@ def actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TriggerAct @pulumi.getter def trigger(self) -> Optional[pulumi.Input[str]]: """ - The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. """ return pulumi.get(self, "trigger") @@ -168,7 +168,7 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[Sequence[pulumi.Input[Union['TriggerActionsActionArgs', 'TriggerActionsActionArgsDict']]]] actions: The list of actions bound to this trigger. - :param pulumi.Input[str] trigger: The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + :param pulumi.Input[str] trigger: The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. """ ... @overload @@ -289,7 +289,7 @@ def get(resource_name: str, :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[Sequence[pulumi.Input[Union['TriggerActionsActionArgs', 'TriggerActionsActionArgsDict']]]] actions: The list of actions bound to this trigger. - :param pulumi.Input[str] trigger: The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + :param pulumi.Input[str] trigger: The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -311,7 +311,7 @@ def actions(self) -> pulumi.Output[Sequence['outputs.TriggerActionsAction']]: @pulumi.getter def trigger(self) -> pulumi.Output[str]: """ - The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`. + The ID of the trigger to bind with. Options include: `post-login`, `credentials-exchange`, `pre-user-registration`, `post-user-registration`, `post-change-password`, `send-phone-message`, `password-reset-post-challenge`, `custom-token-exchange`, `custom-email-provider`. """ return pulumi.get(self, "trigger")