import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * 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 declare function getUser(args?: GetUserArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getUser. */ export interface GetUserArgs { /** * Sets the `Auth0-Custom-Domain` header on all requests for this resource. Global setting of provider takes precedence over resource specific param, if both are set. */ customDomainHeader?: string; /** * Lucene Query for retrieving a user. */ query?: string; /** * ID of the user. */ userId?: string; } /** * A collection of values returned by getUser. */ export interface GetUserResult { /** * Custom fields that store info about the user that impact the user's core functionality, such as how an application functions or what the user can access. Examples include support plans and IDs for external accounts. */ readonly appMetadata: string; /** * Indicates whether the user is blocked or not. */ readonly blocked: boolean; /** * Name of the connection from which the user information was sourced. */ readonly connectionName: string; /** * Sets the `Auth0-Custom-Domain` header on all requests for this resource. Global setting of provider takes precedence over resource specific param, if both are set. */ readonly customDomainHeader?: string; /** * Email address of the user. */ readonly email: string; /** * Indicates whether the email address has been verified. */ readonly emailVerified: boolean; /** * Family name 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 familyName: string; /** * Given name 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 givenName: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Name 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 name: string; /** * Preferred nickname or alias 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 nickname: string; /** * Initial password for this user. Required for non-passwordless connections (SMS and email). */ readonly password: string; /** * List of API permissions granted to the user. */ readonly permissions: outputs.GetUserPermission[]; /** * Phone number for the user; follows the E.164 recommendation. Used for SMS connections. */ readonly phoneNumber: string; /** * Indicates whether the phone number has been verified. */ readonly phoneVerified: boolean; /** * 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. */ readonly roles: string[]; /** * ID of the user. */ 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. */ readonly userMetadata: string; /** * Username of the user. Only valid if the connection requires a username. */ readonly username: string; /** * Indicates whether the user will receive a verification email after creation. Overrides behavior of `emailVerified` parameter. */ readonly verifyEmail: boolean; } /** * 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 declare function getUserOutput(args?: GetUserOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getUser. */ export interface GetUserOutputArgs { /** * Sets the `Auth0-Custom-Domain` header on all requests for this resource. Global setting of provider takes precedence over resource specific param, if both are set. */ customDomainHeader?: pulumi.Input; /** * Lucene Query for retrieving a user. */ query?: pulumi.Input; /** * ID of the user. */ userId?: pulumi.Input; }