import * as pulumi from "@pulumi/pulumi"; /** * With this resource, you can manage your Auth0 prompts, including choosing the login experience version. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as auth0 from "@pulumi/auth0"; * * const myPrompt = new auth0.Prompt("my_prompt", { * universalLoginExperience: "new", * identifierFirst: false, * webauthnPlatformFirstFactor: true, * }); * ``` * * ## Import * * As this is not a resource identifiable by an ID within the Auth0 Management API, * * prompts can be imported using a random string. * * We recommend [Version 4 UUID](https://www.uuidgenerator.net/version4) * * Example: * * ```sh * $ pulumi import auth0:index/prompt:Prompt my_prompt "22f4f21b-017a-319d-92e7-2291c1ca36c4" * ``` */ export declare class Prompt extends pulumi.CustomResource { /** * Get an existing Prompt 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?: PromptState, opts?: pulumi.CustomResourceOptions): Prompt; /** * Returns true if the given object is an instance of Prompt. 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 Prompt; /** * Indicates whether the identifier first is used when using the new Universal Login experience. */ readonly identifierFirst: pulumi.Output; /** * Which login experience to use. Options include `classic` and `new`. */ readonly universalLoginExperience: pulumi.Output; /** * Determines if the login screen uses identifier and biometrics first. Setting this property to `true`, requires MFA factors enabled for enrollment; use the `auth0.Guardian` resource to set one up. */ readonly webauthnPlatformFirstFactor: pulumi.Output; /** * Create a Prompt 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?: PromptArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Prompt resources. */ export interface PromptState { /** * Indicates whether the identifier first is used when using the new Universal Login experience. */ identifierFirst?: pulumi.Input; /** * Which login experience to use. Options include `classic` and `new`. */ universalLoginExperience?: pulumi.Input; /** * Determines if the login screen uses identifier and biometrics first. Setting this property to `true`, requires MFA factors enabled for enrollment; use the `auth0.Guardian` resource to set one up. */ webauthnPlatformFirstFactor?: pulumi.Input; } /** * The set of arguments for constructing a Prompt resource. */ export interface PromptArgs { /** * Indicates whether the identifier first is used when using the new Universal Login experience. */ identifierFirst?: pulumi.Input; /** * Which login experience to use. Options include `classic` and `new`. */ universalLoginExperience?: pulumi.Input; /** * Determines if the login screen uses identifier and biometrics first. Setting this property to `true`, requires MFA factors enabled for enrollment; use the `auth0.Guardian` resource to set one up. */ webauthnPlatformFirstFactor?: pulumi.Input; }