import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Create an Oidc Idp configuration for an Identity Toolkit project. */ export declare class OauthIdpConfig extends pulumi.CustomResource { /** * Get an existing OauthIdpConfig 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 opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): OauthIdpConfig; /** * Returns true if the given object is an instance of OauthIdpConfig. 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 OauthIdpConfig; /** * The client id of an OAuth client. */ readonly clientId: pulumi.Output; /** * The client secret of the OAuth client, to enable OIDC code flow. */ readonly clientSecret: pulumi.Output; /** * The config's display name set by developers. */ readonly displayName: pulumi.Output; /** * True if allows the user to sign in with the provider. */ readonly enabled: pulumi.Output; /** * For OIDC Idps, the issuer identifier. */ readonly issuer: pulumi.Output; /** * The name of the OAuthIdpConfig resource, for example: 'projects/my-awesome-project/oauthIdpConfigs/oauth-config-id'. Ignored during create requests. */ readonly name: pulumi.Output; /** * The id to use for this config. */ readonly oauthIdpConfigId: pulumi.Output; readonly project: pulumi.Output; /** * The response type to request for in the OAuth authorization flow. You can set either `id_token` or `code` to true, but not both. Setting both types to be simultaneously true (`{code: true, id_token: true}`) is not yet supported. */ readonly responseType: pulumi.Output; readonly tenantId: pulumi.Output; /** * Create a OauthIdpConfig 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: OauthIdpConfigArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a OauthIdpConfig resource. */ export interface OauthIdpConfigArgs { /** * The client id of an OAuth client. */ clientId?: pulumi.Input; /** * The client secret of the OAuth client, to enable OIDC code flow. */ clientSecret?: pulumi.Input; /** * The config's display name set by developers. */ displayName?: pulumi.Input; /** * True if allows the user to sign in with the provider. */ enabled?: pulumi.Input; /** * For OIDC Idps, the issuer identifier. */ issuer?: pulumi.Input; /** * The name of the OAuthIdpConfig resource, for example: 'projects/my-awesome-project/oauthIdpConfigs/oauth-config-id'. Ignored during create requests. */ name?: pulumi.Input; /** * The id to use for this config. */ oauthIdpConfigId?: pulumi.Input; project?: pulumi.Input; /** * The response type to request for in the OAuth authorization flow. You can set either `id_token` or `code` to true, but not both. Setting both types to be simultaneously true (`{code: true, id_token: true}`) is not yet supported. */ responseType?: pulumi.Input; tenantId: pulumi.Input; }