import * as pulumi from "@pulumi/pulumi"; /** * With this resource, you can manage the association between an organization and an application (client), controlling that application's entitlement to the organization (EA only). This is distinct from `auth0.OrganizationClientGrant`, which associates an organization with a `clientGrant` (a client/audience/scopes triple used for client-credentials exchanges). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as auth0 from "@pulumi/auth0"; * * const myOrganization = new auth0.Organization("my_organization", { * name: "my-organization", * displayName: "My Organization", * }); * const myClient = new auth0.Client("my_client", {name: "My Application"}); * // Entitle the application to the organization (EA only). This is distinct * // from `auth0_organization_client_grant`, which associates the organization * // with a client_grant instead of an application. * const myOrgClient = new auth0.OrganizationClient("my_org_client", { * organizationId: myOrganization.id, * clientId: myClient.id, * useForMemberAccess: true, * }); * ``` * * ## Import * * This resource can be imported by specifying the * organization ID and client ID separated by "::" (note the double colon) * :: * * Example: * * ```sh * $ pulumi import auth0:index/organizationClient:OrganizationClient my_org_client "org_XXXXX::clientXXXXX" * ``` */ export declare class OrganizationClient extends pulumi.CustomResource { /** * Get an existing OrganizationClient 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?: OrganizationClientState, opts?: pulumi.CustomResourceOptions): OrganizationClient; /** * Check whether an existing OrganizationClient resource with the given ID exists. * * @param id The _unique_ provider ID of the resource to check. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static exists(id: pulumi.Input, state?: OrganizationClientState, opts?: pulumi.CustomResourceOptions): pulumi.Output; /** * Returns true if the given object is an instance of OrganizationClient. 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 OrganizationClient; /** * The type of the associated client application. */ readonly appType: pulumi.Output; /** * The ID of the client (application) to associate with the organization. */ readonly clientId: pulumi.Output; /** * The grant types enabled for the associated client. */ readonly grantTypes: pulumi.Output; /** * Whether the associated client is a first-party client (`true`) or not (`false`). */ readonly isFirstParty: pulumi.Output; /** * The URI of the associated client's logo. */ readonly logoUri: pulumi.Output; /** * The name of the associated client. */ readonly name: pulumi.Output; /** * The ID of the organization to associate the client (application) with. */ readonly organizationId: pulumi.Output; /** * How the associated client handles organizations during authentication. Available values are `deny`, `allow` or `require`. This is a read-only reflection of the client's own `organizationUsage` setting and is managed on the `auth0.Client` resource, not here. */ readonly organizationUsage: pulumi.Output; /** * Whether this client is used for member access to the organization. An association starts out with this turned off and it has to be activated explicitly. */ readonly useForMemberAccess: pulumi.Output; /** * Create a OrganizationClient 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: OrganizationClientArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering OrganizationClient resources. */ export interface OrganizationClientState { /** * The type of the associated client application. */ appType?: pulumi.Input; /** * The ID of the client (application) to associate with the organization. */ clientId?: pulumi.Input; /** * The grant types enabled for the associated client. */ grantTypes?: pulumi.Input[] | undefined>; /** * Whether the associated client is a first-party client (`true`) or not (`false`). */ isFirstParty?: pulumi.Input; /** * The URI of the associated client's logo. */ logoUri?: pulumi.Input; /** * The name of the associated client. */ name?: pulumi.Input; /** * The ID of the organization to associate the client (application) with. */ organizationId?: pulumi.Input; /** * How the associated client handles organizations during authentication. Available values are `deny`, `allow` or `require`. This is a read-only reflection of the client's own `organizationUsage` setting and is managed on the `auth0.Client` resource, not here. */ organizationUsage?: pulumi.Input; /** * Whether this client is used for member access to the organization. An association starts out with this turned off and it has to be activated explicitly. */ useForMemberAccess?: pulumi.Input; } /** * The set of arguments for constructing a OrganizationClient resource. */ export interface OrganizationClientArgs { /** * The ID of the client (application) to associate with the organization. */ clientId: pulumi.Input; /** * The ID of the organization to associate the client (application) with. */ organizationId: pulumi.Input; /** * Whether this client is used for member access to the organization. An association starts out with this turned off and it has to be activated explicitly. */ useForMemberAccess?: pulumi.Input; } //# sourceMappingURL=organizationClient.d.ts.map