import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * With this resource, you can manage a customized sign up and login experience by adding custom content, form elements and css/javascript. You can read more about this [here](https://auth0.com/docs/customize/universal-login-pages/customize-signup-and-login-prompts). * * !> This resource appends a specific prompt screen to the list of prompt screens displayed to the user during the authentication flow. * In contrast, the `auth0.PromptScreenPartials` resource manages the complete set of prompt screens that are displayed during the * authentication flow. To avoid potential issues, it is recommended not to use this resource in conjunction with the * `auth0.PromptScreenPartials` resource when managing prompt screens for the same prompt. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as auth0 from "@pulumi/auth0"; * * const login = new auth0.PromptScreenPartial("login", { * promptType: "login", * screenName: "login", * insertionPoints: { * formContentStart: "
Form Content Start
", * formContentEnd: "
Form Content End
", * }, * }); * const customized_consent = new auth0.PromptScreenPartial("customized-consent", { * promptType: "customized-consent", * screenName: "customized-consent", * insertionPoints: { * formContent: "
Form Content
", * }, * }); * ``` * * ## Import * * This resource can be imported using the prompt name and screen_name. * * As this is not a resource identifiable by an ID within the Auth0 Management API, * * login can be imported using the prompt name and screen name using the format: * * prompt_name:screen_name * * Example: * * ```sh * $ pulumi import auth0:index/promptScreenPartial:PromptScreenPartial login "login:login" * ``` */ export declare class PromptScreenPartial extends pulumi.CustomResource { /** * Get an existing PromptScreenPartial resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: PromptScreenPartialState, opts?: pulumi.CustomResourceOptions): PromptScreenPartial; /** * Returns true if the given object is an instance of PromptScreenPartial. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is PromptScreenPartial; /** * The insertion points for the partials. */ 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`, `customized-consent`. */ readonly promptType: pulumi.Output; /** * The name of the screen associated with the partials */ readonly screenName: pulumi.Output; /** * Create a PromptScreenPartial resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: PromptScreenPartialArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering PromptScreenPartial resources. */ export interface PromptScreenPartialState { /** * The insertion points for the partials. */ 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`, `customized-consent`. */ promptType?: pulumi.Input; /** * The name of the screen associated with the partials */ screenName?: pulumi.Input; } /** * The set of arguments for constructing a PromptScreenPartial resource. */ export interface PromptScreenPartialArgs { /** * The insertion points for the partials. */ 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`, `customized-consent`. */ promptType: pulumi.Input; /** * The name of the screen associated with the partials */ screenName: pulumi.Input; }