├── devbox.lock ├── sdk ├── go │ ├── Pulumi.yaml │ └── descope │ │ ├── doc.go │ │ ├── pulumi-plugin.json │ │ ├── internal │ │ └── pulumiVersion.go │ │ └── config │ │ └── config.go ├── dotnet │ ├── Pulumi.yaml │ ├── logo.png │ ├── Config │ │ └── README.md │ ├── Descope │ │ ├── README.md │ │ ├── Outputs │ │ │ ├── ProjectAuthenticationOauthCustomProviderTokenManagement.cs │ │ │ ├── ProjectAuthenticationOauthSystemAppleProviderTokenManagement.cs │ │ │ ├── ProjectAuthenticationOauthSystemGithubProviderTokenManagement.cs │ │ │ ├── ProjectAuthenticationOauthSystemGitlabProviderTokenManagement.cs │ │ │ ├── ProjectAuthenticationOauthSystemGoogleProviderTokenManagement.cs │ │ │ ├── ProjectAuthenticationOauthSystemSlackProviderTokenManagement.cs │ │ │ ├── ProjectAuthenticationOauthSystemDiscordProviderTokenManagement.cs │ │ │ ├── ProjectAuthenticationOauthSystemFacebookProviderTokenManagement.cs │ │ │ ├── ProjectAuthenticationOauthSystemLinkedinProviderTokenManagement.cs │ │ │ ├── ProjectAuthenticationOauthSystemMicrosoftProviderTokenManagement.cs │ │ │ ├── ProjectStyles.cs │ │ │ ├── ProjectFlows.cs │ │ │ ├── ProjectConnectorsSendgridAuthentication.cs │ │ │ ├── ProjectConnectorsTwilioCoreSendersVoice.cs │ │ │ ├── ProjectWidgets.cs │ │ │ ├── ProjectAttributesTenantAuthorization.cs │ │ │ ├── ProjectApplicationsSamlApplicationDynamicConfiguration.cs │ │ │ ├── ProjectConnectorsHttpAuthenticationApiKey.cs │ │ │ ├── ProjectConnectorsSmtpServer.cs │ │ │ ├── ProjectConnectorsAuditWebhookAuthenticationApiKey.cs │ │ │ ├── ProjectConnectorsExternalTokenHttpAuthenticationApiKey.cs │ │ │ ├── ProjectConnectorsGenericSmsGatewayAuthenticationApiKey.cs │ │ │ ├── ProjectConnectorsGenericEmailGatewayAuthenticationApiKey.cs │ │ │ ├── ProjectApplicationsSamlApplicationAttributeMapping.cs │ │ │ ├── ProjectConnectorsSeSender.cs │ │ │ ├── ProjectConnectorsSmtpSender.cs │ │ │ ├── ProjectConnectorsSendgridSender.cs │ │ │ ├── ProjectConnectorsHttpAuthenticationBasic.cs │ │ │ ├── ProjectConnectorsAuditWebhookAuthenticationBasic.cs │ │ │ ├── ProjectConnectorsExternalTokenHttpAuthenticationBasic.cs │ │ │ ├── ProjectConnectorsGenericSmsGatewayAuthenticationBasic.cs │ │ │ ├── ProjectConnectorsGenericEmailGatewayAuthenticationBasic.cs │ │ │ ├── ProjectConnectorsHibp.cs │ │ │ ├── ProjectAuthorizationPermission.cs │ │ │ ├── ProjectConnectorsTwilioCoreSendersSms.cs │ │ │ ├── ProjectAuthorization.cs │ │ │ ├── ProjectAttributes.cs │ │ │ ├── ProjectConnectorsTwilioCoreSenders.cs │ │ │ ├── ProjectInviteSettingsEmailService.cs │ │ │ ├── ProjectAuthenticationOtpEmailService.cs │ │ │ ├── ProjectAuthenticationOtpVoiceService.cs │ │ │ ├── ProjectAuthenticationOtpTextService.cs │ │ │ ├── ProjectAuthenticationTotp.cs │ │ │ ├── ProjectAuthenticationPasswordEmailService.cs │ │ │ ├── ProjectAuthenticationEmbeddedLink.cs │ │ │ ├── ProjectAuthenticationMagicLinkEmailService.cs │ │ │ ├── ProjectAuthenticationPasskeys.cs │ │ │ ├── ProjectAuthenticationMagicLinkTextService.cs │ │ │ ├── ProjectJwtTemplates.cs │ │ │ ├── ProjectAuthenticationEnchantedLinkEmailService.cs │ │ │ ├── ProjectConnectorsSmtpAuthentication.cs │ │ │ ├── ProjectApplications.cs │ │ │ ├── ProjectAttributesUserWidgetAuthorization.cs │ │ │ ├── ProjectApplicationsSamlApplicationManualConfiguration.cs │ │ │ ├── ProjectConnectorsAwsS3AuditFilter.cs │ │ │ ├── ProjectConnectorsDatadogAuditFilter.cs │ │ │ ├── ProjectConnectorsAbuseipdb.cs │ │ │ ├── ProjectConnectorsNewrelicAuditFilter.cs │ │ │ ├── ProjectConnectorsTwilioCoreAuthentication.cs │ │ │ ├── ProjectAuthenticationOauthCustomAppleKeyGenerator.cs │ │ │ ├── ProjectConnectorsElephant.cs │ │ │ └── ProjectConnectorsSumologicAuditFilter.cs │ │ └── Inputs │ │ │ ├── ProjectAuthenticationOauthCustomProviderTokenManagementArgs.cs │ │ │ ├── ProjectAuthenticationOauthCustomProviderTokenManagementGetArgs.cs │ │ │ ├── ProjectAuthenticationOauthSystemAppleProviderTokenManagementArgs.cs │ │ │ ├── ProjectAuthenticationOauthSystemSlackProviderTokenManagementArgs.cs │ │ │ ├── ProjectAuthenticationOauthSystemGithubProviderTokenManagementArgs.cs │ │ │ ├── ProjectAuthenticationOauthSystemGitlabProviderTokenManagementArgs.cs │ │ │ ├── ProjectAuthenticationOauthSystemGoogleProviderTokenManagementArgs.cs │ │ │ ├── ProjectAuthenticationOauthSystemDiscordProviderTokenManagementArgs.cs │ │ │ ├── ProjectAuthenticationOauthSystemAppleProviderTokenManagementGetArgs.cs │ │ │ ├── ProjectAuthenticationOauthSystemFacebookProviderTokenManagementArgs.cs │ │ │ ├── ProjectAuthenticationOauthSystemLinkedinProviderTokenManagementArgs.cs │ │ │ ├── ProjectAuthenticationOauthSystemSlackProviderTokenManagementGetArgs.cs │ │ │ ├── ProjectAuthenticationOauthSystemGithubProviderTokenManagementGetArgs.cs │ │ │ ├── ProjectAuthenticationOauthSystemGitlabProviderTokenManagementGetArgs.cs │ │ │ ├── ProjectAuthenticationOauthSystemGoogleProviderTokenManagementGetArgs.cs │ │ │ ├── ProjectAuthenticationOauthSystemMicrosoftProviderTokenManagementArgs.cs │ │ │ ├── ProjectAuthenticationOauthSystemDiscordProviderTokenManagementGetArgs.cs │ │ │ ├── ProjectAuthenticationOauthSystemFacebookProviderTokenManagementGetArgs.cs │ │ │ ├── ProjectAuthenticationOauthSystemLinkedinProviderTokenManagementGetArgs.cs │ │ │ ├── ProjectAuthenticationOauthSystemMicrosoftProviderTokenManagementGetArgs.cs │ │ │ ├── ProjectStylesArgs.cs │ │ │ ├── ProjectFlowsArgs.cs │ │ │ ├── ProjectStylesGetArgs.cs │ │ │ ├── ProjectFlowsGetArgs.cs │ │ │ ├── ProjectWidgetsArgs.cs │ │ │ ├── ProjectConnectorsTwilioCoreSendersVoiceArgs.cs │ │ │ ├── ProjectWidgetsGetArgs.cs │ │ │ ├── ProjectConnectorsTwilioCoreSendersVoiceGetArgs.cs │ │ │ ├── ProjectApplicationsSamlApplicationDynamicConfigurationArgs.cs │ │ │ ├── ProjectApplicationsSamlApplicationDynamicConfigurationGetArgs.cs │ │ │ ├── ProjectConnectorsSmtpServerArgs.cs │ │ │ ├── ProjectConnectorsSmtpServerGetArgs.cs │ │ │ ├── ProjectConnectorsSeSenderArgs.cs │ │ │ ├── ProjectConnectorsSmtpSenderArgs.cs │ │ │ ├── ProjectConnectorsSeSenderGetArgs.cs │ │ │ ├── ProjectConnectorsSmtpSenderGetArgs.cs │ │ │ ├── ProjectConnectorsSendgridSenderArgs.cs │ │ │ ├── ProjectConnectorsHibpArgs.cs │ │ │ ├── ProjectAttributesTenantAuthorizationArgs.cs │ │ │ ├── ProjectConnectorsSendgridSenderGetArgs.cs │ │ │ ├── ProjectConnectorsHibpGetArgs.cs │ │ │ ├── ProjectConnectorsTwilioCoreSendersSmsArgs.cs │ │ │ ├── ProjectAttributesTenantAuthorizationGetArgs.cs │ │ │ ├── ProjectAuthorizationPermissionArgs.cs │ │ │ ├── ProjectConnectorsTwilioCoreSendersSmsGetArgs.cs │ │ │ ├── ProjectAuthorizationPermissionGetArgs.cs │ │ │ ├── ProjectApplicationsSamlApplicationAttributeMappingArgs.cs │ │ │ ├── ProjectApplicationsSamlApplicationAttributeMappingGetArgs.cs │ │ │ ├── ProjectConnectorsTwilioCoreSendersArgs.cs │ │ │ ├── ProjectConnectorsTwilioCoreSendersGetArgs.cs │ │ │ ├── ProjectConnectorsSendgridAuthenticationArgs.cs │ │ │ ├── ProjectConnectorsSendgridAuthenticationGetArgs.cs │ │ │ ├── ProjectAuthenticationTotpArgs.cs │ │ │ ├── ProjectAuthenticationPasskeysArgs.cs │ │ │ ├── ProjectAuthenticationTotpGetArgs.cs │ │ │ ├── ProjectAuthenticationEmbeddedLinkArgs.cs │ │ │ ├── ProjectAuthenticationPasskeysGetArgs.cs │ │ │ └── ProjectAuthenticationEmbeddedLinkGetArgs.cs │ ├── go.mod │ └── pulumi-plugin.json ├── java │ ├── Pulumi.yaml │ ├── README.md │ ├── go.mod │ ├── src │ │ └── main │ │ │ └── java │ │ │ └── com │ │ │ └── descope │ │ │ └── pulumi │ │ │ └── descope │ │ │ ├── DescopeFunctions.java │ │ │ ├── Config.java │ │ │ ├── inputs │ │ │ ├── ProjectAuthenticationOauthCustomProviderTokenManagementArgs.java │ │ │ ├── ProjectAuthenticationOauthSystemAppleProviderTokenManagementArgs.java │ │ │ ├── ProjectAuthenticationOauthSystemSlackProviderTokenManagementArgs.java │ │ │ ├── ProjectAuthenticationOauthSystemGithubProviderTokenManagementArgs.java │ │ │ ├── ProjectAuthenticationOauthSystemGitlabProviderTokenManagementArgs.java │ │ │ ├── ProjectAuthenticationOauthSystemGoogleProviderTokenManagementArgs.java │ │ │ ├── ProjectAuthenticationOauthSystemDiscordProviderTokenManagementArgs.java │ │ │ ├── ProjectAuthenticationOauthSystemFacebookProviderTokenManagementArgs.java │ │ │ ├── ProjectAuthenticationOauthSystemLinkedinProviderTokenManagementArgs.java │ │ │ └── ProjectAuthenticationOauthSystemMicrosoftProviderTokenManagementArgs.java │ │ │ └── outputs │ │ │ ├── ProjectAuthenticationOauthCustomProviderTokenManagement.java │ │ │ ├── ProjectAuthenticationOauthSystemAppleProviderTokenManagement.java │ │ │ ├── ProjectAuthenticationOauthSystemSlackProviderTokenManagement.java │ │ │ ├── ProjectAuthenticationOauthSystemGithubProviderTokenManagement.java │ │ │ ├── ProjectAuthenticationOauthSystemGitlabProviderTokenManagement.java │ │ │ ├── ProjectAuthenticationOauthSystemGoogleProviderTokenManagement.java │ │ │ ├── ProjectAuthenticationOauthSystemDiscordProviderTokenManagement.java │ │ │ ├── ProjectAuthenticationOauthSystemFacebookProviderTokenManagement.java │ │ │ ├── ProjectAuthenticationOauthSystemLinkedinProviderTokenManagement.java │ │ │ └── ProjectAuthenticationOauthSystemMicrosoftProviderTokenManagement.java │ └── settings.gradle ├── nodejs │ ├── Pulumi.yaml │ ├── go.mod │ ├── config │ │ ├── index.ts │ │ └── vars.ts │ ├── types │ │ └── index.ts │ ├── README.md │ ├── tsconfig.json │ └── package.json ├── python │ ├── Pulumi.yaml │ ├── descope_pulumi │ │ ├── py.typed │ │ ├── pulumi-plugin.json │ │ ├── config │ │ │ ├── __init__.py │ │ │ ├── __init__.pyi │ │ │ └── vars.py │ │ ├── README.md │ │ └── __init__.py │ ├── go.mod │ └── pyproject.toml └── .gitignore ├── .pulumi-java-gen.version ├── examples ├── py │ ├── .gitignore │ ├── requirements.txt │ ├── __main__.py │ └── Pulumi.yaml ├── ts │ ├── .gitignore │ ├── Pulumi.yaml │ ├── package.json │ ├── tsconfig.json │ └── index.ts ├── .gitignore ├── go │ ├── Pulumi.yaml │ └── main.go ├── examples_test.go ├── examples_go_test.go ├── examples_nodejs_test.go └── examples_py_test.go ├── provider ├── cmd │ ├── pulumi-resource-descope │ │ ├── Pulumi.yaml │ │ ├── .gitignore │ │ └── main.go │ └── pulumi-tfgen-descope │ │ └── main.go ├── pkg │ └── version │ │ └── version.go └── shim │ └── shim.go ├── .gitattributes ├── .upgrade-config.yml ├── .devcontainer ├── Dockerfile └── devcontainer.json ├── .config ├── mise.test.toml ├── mise.toml └── mise.lock ├── devbox.json ├── .github ├── actions │ ├── esc-action │ │ ├── index.js │ │ └── action.yaml │ ├── download-sdk │ │ └── action.yml │ ├── upload-sdk │ │ └── action.yml │ ├── download-provider │ │ └── action.yml │ ├── upload-prerequisites │ │ └── action.yml │ └── download-prerequisites │ │ └── action.yml └── workflows │ └── main-post-build.yml ├── COPYRIGHT ├── .gitignore ├── .ci-mgmt.yaml ├── docs └── _index.md ├── .golangci.yml └── README.md /devbox.lock: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /sdk/go/Pulumi.yaml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /sdk/dotnet/Pulumi.yaml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /sdk/java/Pulumi.yaml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /sdk/nodejs/Pulumi.yaml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /sdk/python/Pulumi.yaml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.pulumi-java-gen.version: -------------------------------------------------------------------------------- 1 | 1.13.2 2 | -------------------------------------------------------------------------------- /sdk/python/descope_pulumi/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/py/.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | venv/ 3 | -------------------------------------------------------------------------------- /provider/cmd/pulumi-resource-descope/Pulumi.yaml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | sdk/**/* linguist-generated=true 2 | -------------------------------------------------------------------------------- /examples/py/requirements.txt: -------------------------------------------------------------------------------- 1 | pulumi>=3.0.0,<4.0.0 2 | -------------------------------------------------------------------------------- /examples/ts/.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | /node_modules/ 3 | -------------------------------------------------------------------------------- /provider/cmd/pulumi-resource-descope/.gitignore: -------------------------------------------------------------------------------- 1 | schema.go 2 | -------------------------------------------------------------------------------- /examples/.gitignore: -------------------------------------------------------------------------------- 1 | .pulumi/ 2 | **/bin/ 3 | node_modules/ 4 | 5 | -------------------------------------------------------------------------------- /sdk/.gitignore: -------------------------------------------------------------------------------- 1 | /nodejs/bin/ 2 | /nodejs/node_modules/ 3 | /python/bin/ 4 | -------------------------------------------------------------------------------- /sdk/java/README.md: -------------------------------------------------------------------------------- 1 | A Pulumi package for creating and managing descope cloud resources. 2 | -------------------------------------------------------------------------------- /sdk/dotnet/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/descope/pulumi-descope/HEAD/sdk/dotnet/logo.png -------------------------------------------------------------------------------- /sdk/dotnet/Config/README.md: -------------------------------------------------------------------------------- 1 | A Pulumi package for creating and managing descope cloud resources. 2 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/README.md: -------------------------------------------------------------------------------- 1 | A Pulumi package for creating and managing descope cloud resources. 2 | -------------------------------------------------------------------------------- /sdk/java/go.mod: -------------------------------------------------------------------------------- 1 | module fake_java_module // Exclude this directory from Go tools 2 | 3 | go 1.17 4 | -------------------------------------------------------------------------------- /sdk/dotnet/go.mod: -------------------------------------------------------------------------------- 1 | module fake_dotnet_module // Exclude this directory from Go tools 2 | 3 | go 1.17 4 | -------------------------------------------------------------------------------- /sdk/nodejs/go.mod: -------------------------------------------------------------------------------- 1 | module fake_nodejs_module // Exclude this directory from Go tools 2 | 3 | go 1.17 4 | -------------------------------------------------------------------------------- /sdk/python/go.mod: -------------------------------------------------------------------------------- 1 | module fake_python_module // Exclude this directory from Go tools 2 | 3 | go 1.17 4 | -------------------------------------------------------------------------------- /sdk/go/descope/doc.go: -------------------------------------------------------------------------------- 1 | // A Pulumi package for creating and managing descope cloud resources. 2 | package descope 3 | -------------------------------------------------------------------------------- /sdk/dotnet/pulumi-plugin.json: -------------------------------------------------------------------------------- 1 | { 2 | "resource": true, 3 | "name": "descope", 4 | "version": "1.0.0-alpha.0+dev", 5 | "server": "github://api.github.com/descope" 6 | } 7 | -------------------------------------------------------------------------------- /sdk/go/descope/pulumi-plugin.json: -------------------------------------------------------------------------------- 1 | { 2 | "resource": true, 3 | "name": "descope", 4 | "version": "1.0.0-alpha.0+dev", 5 | "server": "github://api.github.com/descope" 6 | } 7 | -------------------------------------------------------------------------------- /sdk/python/descope_pulumi/pulumi-plugin.json: -------------------------------------------------------------------------------- 1 | { 2 | "resource": true, 3 | "name": "descope", 4 | "version": "1.0.0-alpha.0+dev", 5 | "server": "github://api.github.com/descope" 6 | } 7 | -------------------------------------------------------------------------------- /examples/go/Pulumi.yaml: -------------------------------------------------------------------------------- 1 | name: pulumi-descope-go 2 | runtime: go 3 | description: A minimal Go Pulumi program that uses the Pulumi descope package. 4 | config: 5 | pulumi:tags: 6 | value: 7 | pulumi:template: go 8 | -------------------------------------------------------------------------------- /examples/py/__main__.py: -------------------------------------------------------------------------------- 1 | """A Python Pulumi program""" 2 | 3 | import pulumi 4 | import descope_pulumi 5 | 6 | project = descope_pulumi.Project("pulumi-py-test", environment="production") 7 | 8 | pulumi.export("project", project) -------------------------------------------------------------------------------- /sdk/nodejs/config/index.ts: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-nodejs. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | // Export members: 5 | export * from "./vars"; 6 | -------------------------------------------------------------------------------- /examples/ts/Pulumi.yaml: -------------------------------------------------------------------------------- 1 | name: pulumi-descope-ts 2 | runtime: nodejs 3 | description: A minimal TypeScript Pulumi program that uses the Pulumi descope package. 4 | config: 5 | pulumi:tags: 6 | value: 7 | pulumi:template: typescript 8 | -------------------------------------------------------------------------------- /.upgrade-config.yml: -------------------------------------------------------------------------------- 1 | # WARNING: This file is autogenerated - changes will be overwritten when regenerated by https://github.com/pulumi/ci-mgmt 2 | 3 | --- 4 | upstream-provider-name: terraform-provider-descope 5 | pulumi-infer-version: true 6 | remove-plugins: true 7 | -------------------------------------------------------------------------------- /examples/ts/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "pulumi-descope-ts", 3 | "main": "index.ts", 4 | "devDependencies": { 5 | "@types/node": "^18", 6 | "typescript": "^5.0.0" 7 | }, 8 | "dependencies": { 9 | "@pulumi/pulumi": "^3.113.0" 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /examples/py/Pulumi.yaml: -------------------------------------------------------------------------------- 1 | name: pulumi-descope-py 2 | runtime: 3 | name: python 4 | options: 5 | virtualenv: venv 6 | description: A minimal Python Pulumi program that uses the Pulumi descope package. 7 | config: 8 | pulumi:tags: 9 | value: 10 | pulumi:template: python 11 | -------------------------------------------------------------------------------- /sdk/java/src/main/java/com/descope/pulumi/descope/DescopeFunctions.java: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-java. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | package com.descope.pulumi.descope; 5 | 6 | 7 | 8 | public final class DescopeFunctions { 9 | } 10 | -------------------------------------------------------------------------------- /.devcontainer/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM jetpackio/devbox:latest 2 | 3 | # Installing your devbox project 4 | WORKDIR /code 5 | COPY devbox.json devbox.json 6 | COPY devbox.lock devbox.lock 7 | RUN sudo chown -R "${DEVBOX_USER}:${DEVBOX_USER}" /code 8 | 9 | 10 | RUN devbox run -- echo "Installed Packages." 11 | 12 | RUN devbox shellenv --init-hook >> ~/.profile 13 | -------------------------------------------------------------------------------- /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Devbox Remote Container", 3 | "build": { 4 | "dockerfile": "./Dockerfile", 5 | "context": ".." 6 | }, 7 | "customizations": { 8 | "vscode": { 9 | "settings": {}, 10 | "extensions": [ 11 | "jetpack-io.devbox" 12 | ] 13 | } 14 | }, 15 | "remoteUser": "devbox" 16 | } -------------------------------------------------------------------------------- /sdk/go/descope/internal/pulumiVersion.go: -------------------------------------------------------------------------------- 1 | // Code generated by pulumi-language-go DO NOT EDIT. 2 | // *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | package internal 5 | 6 | import ( 7 | "github.com/blang/semver" 8 | ) 9 | 10 | var SdkVersion semver.Version = semver.Version{} 11 | var pluginDownloadURL string = "" 12 | -------------------------------------------------------------------------------- /sdk/python/descope_pulumi/config/__init__.py: -------------------------------------------------------------------------------- 1 | # coding=utf-8 2 | # *** WARNING: this file was generated by pulumi-language-python. *** 3 | # *** Do not edit by hand unless you're certain you know what you are doing! *** 4 | 5 | import builtins as _builtins 6 | import sys 7 | from .vars import _ExportableConfig 8 | 9 | sys.modules[__name__].__class__ = _ExportableConfig 10 | -------------------------------------------------------------------------------- /sdk/nodejs/types/index.ts: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-nodejs. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | import * as utilities from "../utilities"; 5 | 6 | // Export sub-modules: 7 | import * as input from "./input"; 8 | import * as output from "./output"; 9 | 10 | export { 11 | input, 12 | output, 13 | }; 14 | -------------------------------------------------------------------------------- /.config/mise.test.toml: -------------------------------------------------------------------------------- 1 | # WARNING: This file is autogenerated - changes will be overwritten when regenerated by https://github.com/pulumi/ci-mgmt 2 | 3 | # Overrides for test workflows 4 | 5 | [env] 6 | # Acceptance (specifically providertest) tests require that PULUMI_HOME be the default 7 | PULUMI_HOME = "{{ env.HOME }}/.pulumi" 8 | 9 | [tools] 10 | # always use pulumi latest for tests 11 | pulumi = "latest" 12 | -------------------------------------------------------------------------------- /devbox.json: -------------------------------------------------------------------------------- 1 | { 2 | "packages": [ 3 | "yarn@latest", 4 | "pulumictl@latest", 5 | "go@1.21.", 6 | "nodejs@20.", 7 | "python3@3.11.8", 8 | "dotnet-sdk@8.0.", 9 | "gradle_7@7.6", 10 | "curl@8" 11 | ], 12 | "shell": { 13 | "init_hook": [ 14 | "export PATH=\"$(pwd)/bin/:$PATH\"" 15 | ], 16 | "scripts": { 17 | "test": [ 18 | "echo \"Error: no test specified\" && exit 1" 19 | ] 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /examples/examples_test.go: -------------------------------------------------------------------------------- 1 | package examples 2 | 3 | import ( 4 | "os" 5 | "testing" 6 | 7 | "github.com/pulumi/pulumi/pkg/v3/testing/integration" 8 | ) 9 | 10 | func getCwd(t *testing.T) string { 11 | cwd, err := os.Getwd() 12 | if err != nil { 13 | t.FailNow() 14 | } 15 | 16 | return cwd 17 | } 18 | 19 | func getBaseOptions() integration.ProgramTestOptions { 20 | return integration.ProgramTestOptions{ 21 | RunUpdateTest: false, 22 | ExpectRefreshChanges: true, 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /sdk/java/settings.gradle: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-java-gen. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | pluginManagement { 5 | repositories { 6 | maven { // The google mirror is less flaky than mavenCentral() 7 | url("https://maven-central.storage-download.googleapis.com/maven2/") 8 | } 9 | gradlePluginPortal() 10 | } 11 | } 12 | 13 | rootProject.name = "com.descope.pulumi.descope" 14 | include("lib") 15 | -------------------------------------------------------------------------------- /.github/actions/esc-action/index.js: -------------------------------------------------------------------------------- 1 | const fs = require("fs"); 2 | 3 | const file = process.env["GITHUB_OUTPUT"]; 4 | var stream = fs.createWriteStream(file, { flags: "a" }); 5 | 6 | for (const [name, value] of Object.entries(process.env)) { 7 | try { 8 | stream.write(`${name}< This provider is a derived work of the [Terraform Provider](https://github.com/descope/terraform-provider-descope) 2 | > distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature, 3 | > first check the [`pulumi-descope` repo](https://github.com/descope/pulumi-descope/issues); however, if that doesn't turn up anything, 4 | > please consult the source [`terraform-provider-descope` repo](https://github.com/descope/terraform-provider-descope/issues). 5 | -------------------------------------------------------------------------------- /examples/go/main.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "github.com/descope/pulumi-descope/sdk/go/descope" 5 | "github.com/pulumi/pulumi/sdk/v3/go/pulumi" 6 | ) 7 | 8 | func main() { 9 | pulumi.Run(func(ctx *pulumi.Context) error { 10 | project, err := descope.NewProject( 11 | ctx, 12 | "pulumi-go-test", 13 | &descope.ProjectArgs{Environment: pulumi.String("production")}, 14 | ) 15 | if err != nil { 16 | return err 17 | } 18 | ctx.Export("project", project) 19 | return nil 20 | }) 21 | } 22 | -------------------------------------------------------------------------------- /sdk/python/descope_pulumi/README.md: -------------------------------------------------------------------------------- 1 | > This provider is a derived work of the [Terraform Provider](https://github.com/descope/terraform-provider-descope) 2 | > distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature, 3 | > first check the [`pulumi-descope` repo](https://github.com/descope/pulumi-descope/issues); however, if that doesn't turn up anything, 4 | > please consult the source [`terraform-provider-descope` repo](https://github.com/descope/terraform-provider-descope/issues). -------------------------------------------------------------------------------- /examples/ts/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "strict": true, 4 | "outDir": "bin", 5 | "target": "es2020", 6 | "module": "commonjs", 7 | "moduleResolution": "node", 8 | "sourceMap": true, 9 | "experimentalDecorators": true, 10 | "pretty": true, 11 | "noFallthroughCasesInSwitch": true, 12 | "noImplicitReturns": true, 13 | "forceConsistentCasingInFileNames": true 14 | }, 15 | "files": [ 16 | "index.ts" 17 | ] 18 | } -------------------------------------------------------------------------------- /.github/workflows/main-post-build.yml: -------------------------------------------------------------------------------- 1 | # WARNING: This file is autogenerated - changes will be overwritten when regenerated by https://github.com/pulumi/ci-mgmt 2 | 3 | name: "Main post-build" 4 | 5 | on: 6 | workflow_call: 7 | inputs: 8 | version: 9 | type: string 10 | required: true 11 | 12 | jobs: 13 | post_build: 14 | name: post_build 15 | runs-on: ubuntu-latest 16 | if: false 17 | steps: 18 | - name: Placeholder 19 | shell: bash 20 | run: echo "This is a placeholder job to ensure that the post_build job is always present" 21 | -------------------------------------------------------------------------------- /COPYRIGHT: -------------------------------------------------------------------------------- 1 | Except as otherwise noted below and/or in individual files, this 2 | project is licensed under the Apache License, Version 2.0 (see 3 | LICENSE or ). 4 | 5 | This project is a larger work that combines with software written 6 | by third parties, licensed under their own terms. 7 | 8 | Notably, this larger work combines with the Terraform XYZ Provider, 9 | which is licensed under the Mozilla Public License 2.0 (see 10 | or the project itself at 11 | ). 12 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | .code 3 | **/vendor/ 4 | .pulumi 5 | **/bin/ 6 | **/obj/ 7 | Pulumi.*.yaml 8 | **/node_modules/ 9 | .DS_Store 10 | 11 | **/command-output/ 12 | 13 | .idea/ 14 | *.iml 15 | *.sln 16 | .vscode/settings.json 17 | 18 | yarn.lock 19 | **/pulumiManifest.go 20 | 21 | ci-scripts 22 | provider/**/schema-embed.json 23 | **/version.txt 24 | **/nuget 25 | **/dist 26 | 27 | sdk/java/build 28 | sdk/java/.gradle 29 | sdk/java/gradle 30 | sdk/java/gradlew 31 | sdk/java/gradlew.bat 32 | 33 | sdk/python/venv 34 | 35 | go.work 36 | go.work.sum 37 | 38 | # Ignore local build tracking directory 39 | .make 40 | -------------------------------------------------------------------------------- /examples/examples_go_test.go: -------------------------------------------------------------------------------- 1 | //go:build go || all 2 | // +build go all 3 | 4 | package examples 5 | 6 | import ( 7 | "path/filepath" 8 | "testing" 9 | 10 | "github.com/pulumi/pulumi/pkg/v3/testing/integration" 11 | ) 12 | 13 | func getGoBaseOptions(t *testing.T) integration.ProgramTestOptions { 14 | base := getBaseOptions() 15 | baseGo := base.With(integration.ProgramTestOptions{ 16 | Dependencies: []string{ 17 | filepath.Join("..", "sdk"), 18 | }, 19 | }) 20 | 21 | return baseGo 22 | } 23 | func TestAccDescopeGo(t *testing.T) { 24 | test := getGoBaseOptions(t). 25 | With(integration.ProgramTestOptions{ 26 | Dir: filepath.Join(getCwd(t), "go"), 27 | }) 28 | integration.ProgramTest(t, &test) 29 | } 30 | -------------------------------------------------------------------------------- /sdk/python/descope_pulumi/config/__init__.pyi: -------------------------------------------------------------------------------- 1 | # coding=utf-8 2 | # *** WARNING: this file was generated by pulumi-language-python. *** 3 | # *** Do not edit by hand unless you're certain you know what you are doing! *** 4 | 5 | import builtins as _builtins 6 | import warnings 7 | import sys 8 | import pulumi 9 | import pulumi.runtime 10 | from typing import Any, Mapping, Optional, Sequence, Union, overload 11 | if sys.version_info >= (3, 11): 12 | from typing import NotRequired, TypedDict, TypeAlias 13 | else: 14 | from typing_extensions import NotRequired, TypedDict, TypeAlias 15 | from .. import _utilities 16 | 17 | baseUrl: Optional[str] 18 | 19 | managementKey: Optional[str] 20 | 21 | projectId: Optional[str] 22 | 23 | -------------------------------------------------------------------------------- /.github/actions/download-sdk/action.yml: -------------------------------------------------------------------------------- 1 | name: Download SDK asset 2 | description: Restores the SDK asset for a language. 3 | 4 | inputs: 5 | language: 6 | required: true 7 | description: One of nodejs, python, dotnet, go, java 8 | 9 | runs: 10 | using: "composite" 11 | steps: 12 | - name: Download ${{ inputs.language }} SDK 13 | uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0 14 | with: 15 | name: ${{ inputs.language }}-sdk.tar.gz 16 | path: ${{ github.workspace}}/sdk/ 17 | - name: Uncompress SDK folder 18 | shell: bash 19 | run: tar -zxf ${{ github.workspace }}/sdk/${{ inputs.language }}.tar.gz -C ${{ github.workspace }}/sdk/${{ inputs.language }} 20 | -------------------------------------------------------------------------------- /examples/examples_nodejs_test.go: -------------------------------------------------------------------------------- 1 | //go:build nodejs || all 2 | // +build nodejs all 3 | 4 | package examples 5 | 6 | import ( 7 | "path/filepath" 8 | "testing" 9 | 10 | "github.com/pulumi/pulumi/pkg/v3/testing/integration" 11 | ) 12 | 13 | func getJSBaseOptions(t *testing.T) integration.ProgramTestOptions { 14 | base := getBaseOptions() 15 | baseJS := base.With(integration.ProgramTestOptions{ 16 | Dependencies: []string{ 17 | "@descope/pulumi-descope", 18 | }, 19 | }) 20 | 21 | return baseJS 22 | } 23 | 24 | func TestAccDescopeTs(t *testing.T) { 25 | test := getJSBaseOptions(t). 26 | With(integration.ProgramTestOptions{ 27 | Dir: filepath.Join(getCwd(t), "ts"), 28 | }) 29 | integration.ProgramTest(t, &test) 30 | } 31 | -------------------------------------------------------------------------------- /.ci-mgmt.yaml: -------------------------------------------------------------------------------- 1 | template: external-bridged-provider 2 | organization: descope 3 | provider: descope 4 | env: 5 | NODE_AUTH_TOKEN: ${{ secrets.CI_NPM_REGISTRY }} 6 | NPM_TOKEN: ${{ secrets.CI_NPM_REGISTRY }} 7 | NUGET_PUBLISH_KEY: ${{ secrets.NUGET_ORG_KEY }} 8 | PYPI_API_TOKEN: ${{ secrets.PYPI_TOKEN }} 9 | DESCOPE_MANAGEMENT_KEY: ${{ secrets.DESCOPE_MANAGEMENT_KEY }} 10 | DESCOPE_PROJECT_ID: ${{ secrets.DESCOPE_PROJECT_ID }} 11 | providerDefaultBranch: main 12 | pulumiConvert: 1 13 | goBuildParallelism: 2 14 | testMasterAndReleaseWorkflows: false 15 | publish: 16 | cdn: false 17 | generate-nightly-test-workflow: true 18 | registryDocs: true 19 | publishRegistry: false 20 | autoMergeProviderUpgrades: true 21 | major-version: 1 22 | -------------------------------------------------------------------------------- /.github/actions/upload-sdk/action.yml: -------------------------------------------------------------------------------- 1 | name: Upload SDK asset 2 | description: Upload the SDK for a specific language as an asset for the workflow. 3 | 4 | inputs: 5 | language: 6 | required: true 7 | description: One of nodejs, python, dotnet, go, java 8 | 9 | runs: 10 | using: "composite" 11 | steps: 12 | - name: Compress SDK folder 13 | shell: bash 14 | run: tar -zcf sdk/${{ inputs.language }}.tar.gz -C sdk/${{ inputs.language }} . 15 | - name: Upload artifacts 16 | uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 17 | with: 18 | name: ${{ inputs.language }}-sdk.tar.gz 19 | path: ${{ github.workspace}}/sdk/${{ inputs.language }}.tar.gz 20 | retention-days: 30 21 | -------------------------------------------------------------------------------- /provider/pkg/version/version.go: -------------------------------------------------------------------------------- 1 | // Licensed under the Apache License, Version 2.0 (the "License"); 2 | // you may not use this file except in compliance with the License. 3 | // You may obtain a copy of the License at 4 | // 5 | // http://www.apache.org/licenses/LICENSE-2.0 6 | // 7 | // Unless required by applicable law or agreed to in writing, software 8 | // distributed under the License is distributed on an "AS IS" BASIS, 9 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | // See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | package version 14 | 15 | // Version is initialized by the Go linker to contain the semver of this build. 16 | var Version string 17 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectAuthenticationOauthCustomProviderTokenManagement.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectAuthenticationOauthCustomProviderTokenManagement 16 | { 17 | [OutputConstructor] 18 | private ProjectAuthenticationOauthCustomProviderTokenManagement() 19 | { 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /examples/examples_py_test.go: -------------------------------------------------------------------------------- 1 | //go:build python || all 2 | // +build python all 3 | 4 | package examples 5 | 6 | import ( 7 | "path/filepath" 8 | "testing" 9 | 10 | "github.com/pulumi/pulumi/pkg/v3/testing/integration" 11 | ) 12 | 13 | func getPythonBaseOptions(t *testing.T) integration.ProgramTestOptions { 14 | base := getBaseOptions() 15 | basePython := base.With(integration.ProgramTestOptions{ 16 | Dependencies: []string{ 17 | filepath.Join("..", "sdk", "python", "bin"), 18 | }, 19 | }) 20 | 21 | return basePython 22 | } 23 | 24 | func TestAccDescopePy(t *testing.T) { 25 | test := getPythonBaseOptions(t). 26 | With(integration.ProgramTestOptions{ 27 | Dir: filepath.Join(getCwd(t), "py"), 28 | }) 29 | integration.ProgramTest(t, &test) 30 | } 31 | -------------------------------------------------------------------------------- /sdk/go/descope/config/config.go: -------------------------------------------------------------------------------- 1 | // Code generated by pulumi-language-go DO NOT EDIT. 2 | // *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | package config 5 | 6 | import ( 7 | "github.com/descope/pulumi-descope/sdk/go/descope/internal" 8 | "github.com/pulumi/pulumi/sdk/v3/go/pulumi" 9 | "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" 10 | ) 11 | 12 | var _ = internal.GetEnvOrDefault 13 | 14 | func GetBaseUrl(ctx *pulumi.Context) string { 15 | return config.Get(ctx, "descope:baseUrl") 16 | } 17 | func GetManagementKey(ctx *pulumi.Context) string { 18 | return config.Get(ctx, "descope:managementKey") 19 | } 20 | func GetProjectId(ctx *pulumi.Context) string { 21 | return config.Get(ctx, "descope:projectId") 22 | } 23 | -------------------------------------------------------------------------------- /sdk/nodejs/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "outDir": "bin", 4 | "target": "ES2020", 5 | "module": "commonjs", 6 | "moduleResolution": "node", 7 | "declaration": true, 8 | "sourceMap": true, 9 | "stripInternal": true, 10 | "experimentalDecorators": true, 11 | "noFallthroughCasesInSwitch": true, 12 | "forceConsistentCasingInFileNames": true, 13 | "strict": true 14 | }, 15 | "files": [ 16 | "config/index.ts", 17 | "config/vars.ts", 18 | "index.ts", 19 | "project.ts", 20 | "provider.ts", 21 | "types/index.ts", 22 | "types/input.ts", 23 | "types/output.ts", 24 | "utilities.ts" 25 | ] 26 | } 27 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectAuthenticationOauthSystemAppleProviderTokenManagement.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectAuthenticationOauthSystemAppleProviderTokenManagement 16 | { 17 | [OutputConstructor] 18 | private ProjectAuthenticationOauthSystemAppleProviderTokenManagement() 19 | { 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectAuthenticationOauthSystemGithubProviderTokenManagement.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectAuthenticationOauthSystemGithubProviderTokenManagement 16 | { 17 | [OutputConstructor] 18 | private ProjectAuthenticationOauthSystemGithubProviderTokenManagement() 19 | { 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectAuthenticationOauthSystemGitlabProviderTokenManagement.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectAuthenticationOauthSystemGitlabProviderTokenManagement 16 | { 17 | [OutputConstructor] 18 | private ProjectAuthenticationOauthSystemGitlabProviderTokenManagement() 19 | { 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectAuthenticationOauthSystemGoogleProviderTokenManagement.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectAuthenticationOauthSystemGoogleProviderTokenManagement 16 | { 17 | [OutputConstructor] 18 | private ProjectAuthenticationOauthSystemGoogleProviderTokenManagement() 19 | { 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectAuthenticationOauthSystemSlackProviderTokenManagement.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectAuthenticationOauthSystemSlackProviderTokenManagement 16 | { 17 | [OutputConstructor] 18 | private ProjectAuthenticationOauthSystemSlackProviderTokenManagement() 19 | { 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectAuthenticationOauthSystemDiscordProviderTokenManagement.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectAuthenticationOauthSystemDiscordProviderTokenManagement 16 | { 17 | [OutputConstructor] 18 | private ProjectAuthenticationOauthSystemDiscordProviderTokenManagement() 19 | { 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectAuthenticationOauthSystemFacebookProviderTokenManagement.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectAuthenticationOauthSystemFacebookProviderTokenManagement 16 | { 17 | [OutputConstructor] 18 | private ProjectAuthenticationOauthSystemFacebookProviderTokenManagement() 19 | { 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectAuthenticationOauthSystemLinkedinProviderTokenManagement.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectAuthenticationOauthSystemLinkedinProviderTokenManagement 16 | { 17 | [OutputConstructor] 18 | private ProjectAuthenticationOauthSystemLinkedinProviderTokenManagement() 19 | { 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectAuthenticationOauthSystemMicrosoftProviderTokenManagement.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectAuthenticationOauthSystemMicrosoftProviderTokenManagement 16 | { 17 | [OutputConstructor] 18 | private ProjectAuthenticationOauthSystemMicrosoftProviderTokenManagement() 19 | { 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /sdk/python/pyproject.toml: -------------------------------------------------------------------------------- 1 | [project] 2 | name = "descope_pulumi" 3 | description = "A Pulumi package for creating and managing descope cloud resources." 4 | dependencies = ["parver>=0.2.1", "pulumi>=3.165.0,<4.0.0", "semver>=2.8.1", "typing-extensions>=4.11,<5; python_version < \"3.11\""] 5 | keywords = ["descope", "category/cloud"] 6 | readme = "README.md" 7 | requires-python = ">=3.9" 8 | version = "1.0.0a0+dev" 9 | [project.license] 10 | text = "Apache-2.0" 11 | [project.urls] 12 | Homepage = "https://www.descope.com" 13 | Repository = "https://github.com/descope/pulumi-descope" 14 | 15 | [build-system] 16 | requires = ["setuptools>=61.0"] 17 | build-backend = "setuptools.build_meta" 18 | 19 | [tool] 20 | [tool.setuptools] 21 | [tool.setuptools.package-data] 22 | descope_pulumi = ["py.typed", "pulumi-plugin.json"] 23 | -------------------------------------------------------------------------------- /.github/actions/download-provider/action.yml: -------------------------------------------------------------------------------- 1 | name: Download the provider binary 2 | description: Downloads the provider binary to `bin/`. 3 | 4 | runs: 5 | using: "composite" 6 | steps: 7 | 8 | - name: Download pulumi-resource-descope 9 | uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0 10 | with: 11 | pattern: pulumi-resource-descope-*-linux-amd64.tar.gz 12 | path: ${{ github.workspace }}/bin 13 | merge-multiple: true 14 | 15 | - name: Untar pulumi-resource-descope 16 | shell: bash 17 | run: | 18 | tar -zxf ${{ github.workspace }}/bin/*amd64.tar.gz -C ${{ github.workspace}}/bin 19 | 20 | - name: Mark pulumi-resource-descope as executable 21 | shell: bash 22 | run: | 23 | find ${{ github.workspace }} -name "pulumi-*-descope" -print -exec chmod +x {} \; 24 | -------------------------------------------------------------------------------- /.github/actions/upload-prerequisites/action.yml: -------------------------------------------------------------------------------- 1 | name: Upload SDK asset 2 | description: Upload the SDK for a specific language as an asset for the workflow. 3 | 4 | runs: 5 | using: "composite" 6 | steps: 7 | - name: Capture executable permissions 8 | shell: bash 9 | run: find bin -type f -executable > bin/executables.txt 10 | 11 | - name: Upload prerequisites bin 12 | uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 13 | with: 14 | name: prerequisites-bin 15 | path: bin/* 16 | retention-days: 30 17 | 18 | - name: Upload schema-embed.json 19 | uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 20 | with: 21 | name: schema-embed.json 22 | path: provider/cmd/pulumi-resource-descope/schema-embed.json 23 | retention-days: 30 24 | -------------------------------------------------------------------------------- /sdk/nodejs/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@descope/pulumi-descope", 3 | "version": "1.0.0-alpha.0+dev", 4 | "description": "A Pulumi package for creating and managing descope cloud resources.", 5 | "keywords": [ 6 | "descope", 7 | "category/cloud" 8 | ], 9 | "homepage": "https://www.descope.com", 10 | "repository": "https://github.com/descope/pulumi-descope", 11 | "license": "Apache-2.0", 12 | "scripts": { 13 | "build": "tsc" 14 | }, 15 | "dependencies": { 16 | "@pulumi/pulumi": "^3.142.0" 17 | }, 18 | "devDependencies": { 19 | "@types/node": "^18", 20 | "typescript": "^4.3.5" 21 | }, 22 | "pulumi": { 23 | "resource": true, 24 | "name": "descope", 25 | "version": "1.0.0-alpha.0+dev", 26 | "server": "github://api.github.com/descope" 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectStyles.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectStyles 16 | { 17 | /// 18 | /// The JSON data defining the visual styling and theme configuration used for authentication, widgets, etc. 19 | /// 20 | public readonly string Data; 21 | 22 | [OutputConstructor] 23 | private ProjectStyles(string data) 24 | { 25 | Data = data; 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /sdk/java/src/main/java/com/descope/pulumi/descope/Config.java: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-java. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | package com.descope.pulumi.descope; 5 | 6 | import com.pulumi.core.internal.Codegen; 7 | import java.lang.String; 8 | import java.util.Optional; 9 | 10 | public final class Config { 11 | 12 | private static final com.pulumi.Config config = com.pulumi.Config.of("descope"); 13 | public Optional baseUrl() { 14 | return Codegen.stringProp("baseUrl").config(config).get(); 15 | } 16 | public Optional managementKey() { 17 | return Codegen.stringProp("managementKey").config(config).get(); 18 | } 19 | public Optional projectId() { 20 | return Codegen.stringProp("projectId").config(config).get(); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectFlows.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectFlows 16 | { 17 | /// 18 | /// The JSON data defining the authentication flow configuration, including metadata, screens, contents, and references. 19 | /// 20 | public readonly string Data; 21 | 22 | [OutputConstructor] 23 | private ProjectFlows(string data) 24 | { 25 | Data = data; 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /provider/shim/shim.go: -------------------------------------------------------------------------------- 1 | // Licensed under the Apache License, Version 2.0 (the "License"); 2 | // you may not use this file except in compliance with the License. 3 | // You may obtain a copy of the License at 4 | // 5 | // http://www.apache.org/licenses/LICENSE-2.0 6 | // 7 | // Unless required by applicable law or agreed to in writing, software 8 | // distributed under the License is distributed on an "AS IS" BASIS, 9 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | // See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | package shim 14 | 15 | import ( 16 | p "github.com/descope/terraform-provider-descope/internal/provider" 17 | "github.com/hashicorp/terraform-plugin-framework/provider" 18 | ) 19 | 20 | func Provider(version string) provider.Provider { 21 | return p.NewDescopeProvider(version)() 22 | } 23 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectAuthenticationOauthCustomProviderTokenManagementArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectAuthenticationOauthCustomProviderTokenManagementArgs : global::Pulumi.ResourceArgs 15 | { 16 | public ProjectAuthenticationOauthCustomProviderTokenManagementArgs() 17 | { 18 | } 19 | public static new ProjectAuthenticationOauthCustomProviderTokenManagementArgs Empty => new ProjectAuthenticationOauthCustomProviderTokenManagementArgs(); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectConnectorsSendgridAuthentication.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectConnectorsSendgridAuthentication 16 | { 17 | /// 18 | /// SendGrid API key for authentication. 19 | /// 20 | public readonly string ApiKey; 21 | 22 | [OutputConstructor] 23 | private ProjectConnectorsSendgridAuthentication(string apiKey) 24 | { 25 | ApiKey = apiKey; 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectAuthenticationOauthCustomProviderTokenManagementGetArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectAuthenticationOauthCustomProviderTokenManagementGetArgs : global::Pulumi.ResourceArgs 15 | { 16 | public ProjectAuthenticationOauthCustomProviderTokenManagementGetArgs() 17 | { 18 | } 19 | public static new ProjectAuthenticationOauthCustomProviderTokenManagementGetArgs Empty => new ProjectAuthenticationOauthCustomProviderTokenManagementGetArgs(); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectAuthenticationOauthSystemAppleProviderTokenManagementArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectAuthenticationOauthSystemAppleProviderTokenManagementArgs : global::Pulumi.ResourceArgs 15 | { 16 | public ProjectAuthenticationOauthSystemAppleProviderTokenManagementArgs() 17 | { 18 | } 19 | public static new ProjectAuthenticationOauthSystemAppleProviderTokenManagementArgs Empty => new ProjectAuthenticationOauthSystemAppleProviderTokenManagementArgs(); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectAuthenticationOauthSystemSlackProviderTokenManagementArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectAuthenticationOauthSystemSlackProviderTokenManagementArgs : global::Pulumi.ResourceArgs 15 | { 16 | public ProjectAuthenticationOauthSystemSlackProviderTokenManagementArgs() 17 | { 18 | } 19 | public static new ProjectAuthenticationOauthSystemSlackProviderTokenManagementArgs Empty => new ProjectAuthenticationOauthSystemSlackProviderTokenManagementArgs(); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /provider/cmd/pulumi-tfgen-descope/main.go: -------------------------------------------------------------------------------- 1 | // Licensed under the Apache License, Version 2.0 (the "License"); 2 | // you may not use this file except in compliance with the License. 3 | // You may obtain a copy of the License at 4 | // 5 | // http://www.apache.org/licenses/LICENSE-2.0 6 | // 7 | // Unless required by applicable law or agreed to in writing, software 8 | // distributed under the License is distributed on an "AS IS" BASIS, 9 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | // See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | package main 14 | 15 | import ( 16 | "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/pf/tfgen" 17 | 18 | descope "github.com/descope/pulumi-descope/provider" 19 | ) 20 | 21 | func main() { 22 | // Modify the path to point to the new provider 23 | tfgen.Main("descope", descope.Provider()) 24 | } 25 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectAuthenticationOauthSystemGithubProviderTokenManagementArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectAuthenticationOauthSystemGithubProviderTokenManagementArgs : global::Pulumi.ResourceArgs 15 | { 16 | public ProjectAuthenticationOauthSystemGithubProviderTokenManagementArgs() 17 | { 18 | } 19 | public static new ProjectAuthenticationOauthSystemGithubProviderTokenManagementArgs Empty => new ProjectAuthenticationOauthSystemGithubProviderTokenManagementArgs(); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectAuthenticationOauthSystemGitlabProviderTokenManagementArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectAuthenticationOauthSystemGitlabProviderTokenManagementArgs : global::Pulumi.ResourceArgs 15 | { 16 | public ProjectAuthenticationOauthSystemGitlabProviderTokenManagementArgs() 17 | { 18 | } 19 | public static new ProjectAuthenticationOauthSystemGitlabProviderTokenManagementArgs Empty => new ProjectAuthenticationOauthSystemGitlabProviderTokenManagementArgs(); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectAuthenticationOauthSystemGoogleProviderTokenManagementArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectAuthenticationOauthSystemGoogleProviderTokenManagementArgs : global::Pulumi.ResourceArgs 15 | { 16 | public ProjectAuthenticationOauthSystemGoogleProviderTokenManagementArgs() 17 | { 18 | } 19 | public static new ProjectAuthenticationOauthSystemGoogleProviderTokenManagementArgs Empty => new ProjectAuthenticationOauthSystemGoogleProviderTokenManagementArgs(); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectAuthenticationOauthSystemDiscordProviderTokenManagementArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectAuthenticationOauthSystemDiscordProviderTokenManagementArgs : global::Pulumi.ResourceArgs 15 | { 16 | public ProjectAuthenticationOauthSystemDiscordProviderTokenManagementArgs() 17 | { 18 | } 19 | public static new ProjectAuthenticationOauthSystemDiscordProviderTokenManagementArgs Empty => new ProjectAuthenticationOauthSystemDiscordProviderTokenManagementArgs(); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectConnectorsTwilioCoreSendersVoice.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectConnectorsTwilioCoreSendersVoice 16 | { 17 | /// 18 | /// Twilio phone number for making voice calls. 19 | /// 20 | public readonly string PhoneNumber; 21 | 22 | [OutputConstructor] 23 | private ProjectConnectorsTwilioCoreSendersVoice(string phoneNumber) 24 | { 25 | PhoneNumber = phoneNumber; 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectAuthenticationOauthSystemAppleProviderTokenManagementGetArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectAuthenticationOauthSystemAppleProviderTokenManagementGetArgs : global::Pulumi.ResourceArgs 15 | { 16 | public ProjectAuthenticationOauthSystemAppleProviderTokenManagementGetArgs() 17 | { 18 | } 19 | public static new ProjectAuthenticationOauthSystemAppleProviderTokenManagementGetArgs Empty => new ProjectAuthenticationOauthSystemAppleProviderTokenManagementGetArgs(); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectAuthenticationOauthSystemFacebookProviderTokenManagementArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectAuthenticationOauthSystemFacebookProviderTokenManagementArgs : global::Pulumi.ResourceArgs 15 | { 16 | public ProjectAuthenticationOauthSystemFacebookProviderTokenManagementArgs() 17 | { 18 | } 19 | public static new ProjectAuthenticationOauthSystemFacebookProviderTokenManagementArgs Empty => new ProjectAuthenticationOauthSystemFacebookProviderTokenManagementArgs(); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectAuthenticationOauthSystemLinkedinProviderTokenManagementArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectAuthenticationOauthSystemLinkedinProviderTokenManagementArgs : global::Pulumi.ResourceArgs 15 | { 16 | public ProjectAuthenticationOauthSystemLinkedinProviderTokenManagementArgs() 17 | { 18 | } 19 | public static new ProjectAuthenticationOauthSystemLinkedinProviderTokenManagementArgs Empty => new ProjectAuthenticationOauthSystemLinkedinProviderTokenManagementArgs(); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectAuthenticationOauthSystemSlackProviderTokenManagementGetArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectAuthenticationOauthSystemSlackProviderTokenManagementGetArgs : global::Pulumi.ResourceArgs 15 | { 16 | public ProjectAuthenticationOauthSystemSlackProviderTokenManagementGetArgs() 17 | { 18 | } 19 | public static new ProjectAuthenticationOauthSystemSlackProviderTokenManagementGetArgs Empty => new ProjectAuthenticationOauthSystemSlackProviderTokenManagementGetArgs(); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectAuthenticationOauthSystemGithubProviderTokenManagementGetArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectAuthenticationOauthSystemGithubProviderTokenManagementGetArgs : global::Pulumi.ResourceArgs 15 | { 16 | public ProjectAuthenticationOauthSystemGithubProviderTokenManagementGetArgs() 17 | { 18 | } 19 | public static new ProjectAuthenticationOauthSystemGithubProviderTokenManagementGetArgs Empty => new ProjectAuthenticationOauthSystemGithubProviderTokenManagementGetArgs(); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectAuthenticationOauthSystemGitlabProviderTokenManagementGetArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectAuthenticationOauthSystemGitlabProviderTokenManagementGetArgs : global::Pulumi.ResourceArgs 15 | { 16 | public ProjectAuthenticationOauthSystemGitlabProviderTokenManagementGetArgs() 17 | { 18 | } 19 | public static new ProjectAuthenticationOauthSystemGitlabProviderTokenManagementGetArgs Empty => new ProjectAuthenticationOauthSystemGitlabProviderTokenManagementGetArgs(); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectAuthenticationOauthSystemGoogleProviderTokenManagementGetArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectAuthenticationOauthSystemGoogleProviderTokenManagementGetArgs : global::Pulumi.ResourceArgs 15 | { 16 | public ProjectAuthenticationOauthSystemGoogleProviderTokenManagementGetArgs() 17 | { 18 | } 19 | public static new ProjectAuthenticationOauthSystemGoogleProviderTokenManagementGetArgs Empty => new ProjectAuthenticationOauthSystemGoogleProviderTokenManagementGetArgs(); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectAuthenticationOauthSystemMicrosoftProviderTokenManagementArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectAuthenticationOauthSystemMicrosoftProviderTokenManagementArgs : global::Pulumi.ResourceArgs 15 | { 16 | public ProjectAuthenticationOauthSystemMicrosoftProviderTokenManagementArgs() 17 | { 18 | } 19 | public static new ProjectAuthenticationOauthSystemMicrosoftProviderTokenManagementArgs Empty => new ProjectAuthenticationOauthSystemMicrosoftProviderTokenManagementArgs(); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectAuthenticationOauthSystemDiscordProviderTokenManagementGetArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectAuthenticationOauthSystemDiscordProviderTokenManagementGetArgs : global::Pulumi.ResourceArgs 15 | { 16 | public ProjectAuthenticationOauthSystemDiscordProviderTokenManagementGetArgs() 17 | { 18 | } 19 | public static new ProjectAuthenticationOauthSystemDiscordProviderTokenManagementGetArgs Empty => new ProjectAuthenticationOauthSystemDiscordProviderTokenManagementGetArgs(); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectAuthenticationOauthSystemFacebookProviderTokenManagementGetArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectAuthenticationOauthSystemFacebookProviderTokenManagementGetArgs : global::Pulumi.ResourceArgs 15 | { 16 | public ProjectAuthenticationOauthSystemFacebookProviderTokenManagementGetArgs() 17 | { 18 | } 19 | public static new ProjectAuthenticationOauthSystemFacebookProviderTokenManagementGetArgs Empty => new ProjectAuthenticationOauthSystemFacebookProviderTokenManagementGetArgs(); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectAuthenticationOauthSystemLinkedinProviderTokenManagementGetArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectAuthenticationOauthSystemLinkedinProviderTokenManagementGetArgs : global::Pulumi.ResourceArgs 15 | { 16 | public ProjectAuthenticationOauthSystemLinkedinProviderTokenManagementGetArgs() 17 | { 18 | } 19 | public static new ProjectAuthenticationOauthSystemLinkedinProviderTokenManagementGetArgs Empty => new ProjectAuthenticationOauthSystemLinkedinProviderTokenManagementGetArgs(); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /docs/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | # *** WARNING: This file was auto-generated. Do not edit by hand unless you're certain you know what you are doing! *** 3 | title: Descope Provider 4 | meta_desc: Provides an overview on how to configure the Pulumi Descope provider. 5 | layout: package 6 | --- 7 | 8 | ## Installation 9 | 10 | The Descope provider is available as a package in all Pulumi languages: 11 | 12 | * JavaScript/TypeScript: [`@pulumi/descope`](https://www.npmjs.com/package/@pulumi/descope) 13 | * Python: [`pulumi-descope`](https://pypi.org/project/pulumi-descope/) 14 | * Go: [`github.com/descope/pulumi-descope/sdk/go/descope`](https://github.com/pulumi/pulumi-descope) 15 | * .NET: [`Pulumi.Descope`](https://www.nuget.org/packages/Pulumi.Descope) 16 | * Java: [`com.pulumi/descope`](https://central.sonatype.com/artifact/com.pulumi/descope) 17 | 18 | ## Configuration Reference 19 | 20 | - `baseUrl` (String) 21 | - `managementKey` (String, Sensitive) 22 | - `projectId` (String) -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectAuthenticationOauthSystemMicrosoftProviderTokenManagementGetArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectAuthenticationOauthSystemMicrosoftProviderTokenManagementGetArgs : global::Pulumi.ResourceArgs 15 | { 16 | public ProjectAuthenticationOauthSystemMicrosoftProviderTokenManagementGetArgs() 17 | { 18 | } 19 | public static new ProjectAuthenticationOauthSystemMicrosoftProviderTokenManagementGetArgs Empty => new ProjectAuthenticationOauthSystemMicrosoftProviderTokenManagementGetArgs(); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectWidgets.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectWidgets 16 | { 17 | /// 18 | /// The JSON data defining the widget. This will usually be exported as a `.json` file from the Descope console, and set in the `.tf` file using the `data = file("...")` syntax. 19 | /// 20 | public readonly string Data; 21 | 22 | [OutputConstructor] 23 | private ProjectWidgets(string data) 24 | { 25 | Data = data; 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectStylesArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectStylesArgs : global::Pulumi.ResourceArgs 15 | { 16 | /// 17 | /// The JSON data defining the visual styling and theme configuration used for authentication, widgets, etc. 18 | /// 19 | [Input("data", required: true)] 20 | public Input Data { get; set; } = null!; 21 | 22 | public ProjectStylesArgs() 23 | { 24 | } 25 | public static new ProjectStylesArgs Empty => new ProjectStylesArgs(); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectAttributesTenantAuthorization.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectAttributesTenantAuthorization 16 | { 17 | /// 18 | /// Determines the required permissions for this tenant. 19 | /// 20 | public readonly ImmutableArray ViewPermissions; 21 | 22 | [OutputConstructor] 23 | private ProjectAttributesTenantAuthorization(ImmutableArray viewPermissions) 24 | { 25 | ViewPermissions = viewPermissions; 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectFlowsArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectFlowsArgs : global::Pulumi.ResourceArgs 15 | { 16 | /// 17 | /// The JSON data defining the authentication flow configuration, including metadata, screens, contents, and references. 18 | /// 19 | [Input("data", required: true)] 20 | public Input Data { get; set; } = null!; 21 | 22 | public ProjectFlowsArgs() 23 | { 24 | } 25 | public static new ProjectFlowsArgs Empty => new ProjectFlowsArgs(); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectStylesGetArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectStylesGetArgs : global::Pulumi.ResourceArgs 15 | { 16 | /// 17 | /// The JSON data defining the visual styling and theme configuration used for authentication, widgets, etc. 18 | /// 19 | [Input("data", required: true)] 20 | public Input Data { get; set; } = null!; 21 | 22 | public ProjectStylesGetArgs() 23 | { 24 | } 25 | public static new ProjectStylesGetArgs Empty => new ProjectStylesGetArgs(); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectFlowsGetArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectFlowsGetArgs : global::Pulumi.ResourceArgs 15 | { 16 | /// 17 | /// The JSON data defining the authentication flow configuration, including metadata, screens, contents, and references. 18 | /// 19 | [Input("data", required: true)] 20 | public Input Data { get; set; } = null!; 21 | 22 | public ProjectFlowsGetArgs() 23 | { 24 | } 25 | public static new ProjectFlowsGetArgs Empty => new ProjectFlowsGetArgs(); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectApplicationsSamlApplicationDynamicConfiguration.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectApplicationsSamlApplicationDynamicConfiguration 16 | { 17 | /// 18 | /// The metadata URL when retrieving the connection details dynamically. 19 | /// 20 | public readonly string MetadataUrl; 21 | 22 | [OutputConstructor] 23 | private ProjectApplicationsSamlApplicationDynamicConfiguration(string metadataUrl) 24 | { 25 | MetadataUrl = metadataUrl; 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /.golangci.yml: -------------------------------------------------------------------------------- 1 | version: "2" 2 | linters: 3 | enable: 4 | - goconst 5 | - gosec 6 | - lll 7 | - misspell 8 | - nakedret 9 | - revive 10 | - unconvert 11 | exclusions: 12 | generated: lax 13 | presets: 14 | - comments 15 | - common-false-positives 16 | - legacy 17 | - std-error-handling 18 | paths: 19 | - schema.go 20 | - pulumiManifest.go 21 | - pkg/vendored 22 | - third_party$ 23 | - builtin$ 24 | - examples$ 25 | formatters: 26 | enable: 27 | - gci 28 | - gofmt 29 | settings: 30 | gci: 31 | sections: 32 | - standard 33 | - blank 34 | - default 35 | - prefix(github.com/pulumi/) 36 | - prefix(github.com/descope/pulumi-descope) 37 | custom-order: true 38 | exclusions: 39 | generated: lax 40 | paths: 41 | - schema.go 42 | - pulumiManifest.go 43 | - pkg/vendored 44 | - third_party$ 45 | - builtin$ 46 | - examples$ 47 | -------------------------------------------------------------------------------- /sdk/nodejs/config/vars.ts: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-nodejs. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | import * as pulumi from "@pulumi/pulumi"; 5 | import * as utilities from "../utilities"; 6 | 7 | declare var exports: any; 8 | const __config = new pulumi.Config("descope"); 9 | 10 | export declare const baseUrl: string | undefined; 11 | Object.defineProperty(exports, "baseUrl", { 12 | get() { 13 | return __config.get("baseUrl"); 14 | }, 15 | enumerable: true, 16 | }); 17 | 18 | export declare const managementKey: string | undefined; 19 | Object.defineProperty(exports, "managementKey", { 20 | get() { 21 | return __config.get("managementKey"); 22 | }, 23 | enumerable: true, 24 | }); 25 | 26 | export declare const projectId: string | undefined; 27 | Object.defineProperty(exports, "projectId", { 28 | get() { 29 | return __config.get("projectId"); 30 | }, 31 | enumerable: true, 32 | }); 33 | 34 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectWidgetsArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectWidgetsArgs : global::Pulumi.ResourceArgs 15 | { 16 | /// 17 | /// The JSON data defining the widget. This will usually be exported as a `.json` file from the Descope console, and set in the `.tf` file using the `data = file("...")` syntax. 18 | /// 19 | [Input("data", required: true)] 20 | public Input Data { get; set; } = null!; 21 | 22 | public ProjectWidgetsArgs() 23 | { 24 | } 25 | public static new ProjectWidgetsArgs Empty => new ProjectWidgetsArgs(); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /.github/actions/download-prerequisites/action.yml: -------------------------------------------------------------------------------- 1 | name: Download the code generator binary 2 | description: Downloads the code generator binary to `bin/`. 3 | 4 | runs: 5 | using: "composite" 6 | steps: 7 | - name: Download the prerequisites bin 8 | uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0 9 | with: 10 | name: prerequisites-bin 11 | path: bin 12 | 13 | - name: Restore executable permissions 14 | shell: bash 15 | run: chmod +x $(< bin/executables.txt) 16 | 17 | - name: Remove executables list 18 | shell: bash 19 | run: rm bin/executables.txt 20 | 21 | - name: Download schema-embed.json 22 | uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0 23 | with: 24 | # Use a pattern to avoid failing if the artifact doesn't exist 25 | pattern: schema-embed.* 26 | # Avoid creating directories for each artifact 27 | merge-multiple: true 28 | path: provider/cmd/pulumi-resource-descope 29 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectConnectorsTwilioCoreSendersVoiceArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectConnectorsTwilioCoreSendersVoiceArgs : global::Pulumi.ResourceArgs 15 | { 16 | /// 17 | /// Twilio phone number for making voice calls. 18 | /// 19 | [Input("phoneNumber", required: true)] 20 | public Input PhoneNumber { get; set; } = null!; 21 | 22 | public ProjectConnectorsTwilioCoreSendersVoiceArgs() 23 | { 24 | } 25 | public static new ProjectConnectorsTwilioCoreSendersVoiceArgs Empty => new ProjectConnectorsTwilioCoreSendersVoiceArgs(); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectWidgetsGetArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectWidgetsGetArgs : global::Pulumi.ResourceArgs 15 | { 16 | /// 17 | /// The JSON data defining the widget. This will usually be exported as a `.json` file from the Descope console, and set in the `.tf` file using the `data = file("...")` syntax. 18 | /// 19 | [Input("data", required: true)] 20 | public Input Data { get; set; } = null!; 21 | 22 | public ProjectWidgetsGetArgs() 23 | { 24 | } 25 | public static new ProjectWidgetsGetArgs Empty => new ProjectWidgetsGetArgs(); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectConnectorsTwilioCoreSendersVoiceGetArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectConnectorsTwilioCoreSendersVoiceGetArgs : global::Pulumi.ResourceArgs 15 | { 16 | /// 17 | /// Twilio phone number for making voice calls. 18 | /// 19 | [Input("phoneNumber", required: true)] 20 | public Input PhoneNumber { get; set; } = null!; 21 | 22 | public ProjectConnectorsTwilioCoreSendersVoiceGetArgs() 23 | { 24 | } 25 | public static new ProjectConnectorsTwilioCoreSendersVoiceGetArgs Empty => new ProjectConnectorsTwilioCoreSendersVoiceGetArgs(); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /provider/cmd/pulumi-resource-descope/main.go: -------------------------------------------------------------------------------- 1 | // Licensed under the Apache License, Version 2.0 (the "License"); 2 | // you may not use this file except in compliance with the License. 3 | // You may obtain a copy of the License at 4 | // 5 | // http://www.apache.org/licenses/LICENSE-2.0 6 | // 7 | // Unless required by applicable law or agreed to in writing, software 8 | // distributed under the License is distributed on an "AS IS" BASIS, 9 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | // See the License for the specific language governing permissions and 11 | // limitations under the License. 12 | 13 | package main 14 | 15 | import ( 16 | "context" 17 | 18 | _ "embed" 19 | 20 | "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/pf/tfbridge" 21 | 22 | descope "github.com/descope/pulumi-descope/provider" 23 | ) 24 | 25 | //go:embed schema.json 26 | var pulumiSchema []byte 27 | 28 | func main() { 29 | tfbridge.Main(context.Background(), "descope", descope.Provider(), 30 | tfbridge.ProviderMetadata{PackageSchema: pulumiSchema}) 31 | } 32 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectConnectorsHttpAuthenticationApiKey.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectConnectorsHttpAuthenticationApiKey 16 | { 17 | /// 18 | /// The API key. 19 | /// 20 | public readonly string Key; 21 | /// 22 | /// The API secret. 23 | /// 24 | public readonly string Token; 25 | 26 | [OutputConstructor] 27 | private ProjectConnectorsHttpAuthenticationApiKey( 28 | string key, 29 | 30 | string token) 31 | { 32 | Key = key; 33 | Token = token; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectConnectorsSmtpServer.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectConnectorsSmtpServer 16 | { 17 | /// 18 | /// The hostname or IP address of the SMTP server. 19 | /// 20 | public readonly string Host; 21 | /// 22 | /// The port number to connect to on the SMTP server. 23 | /// 24 | public readonly int? Port; 25 | 26 | [OutputConstructor] 27 | private ProjectConnectorsSmtpServer( 28 | string host, 29 | 30 | int? port) 31 | { 32 | Host = host; 33 | Port = port; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectConnectorsAuditWebhookAuthenticationApiKey.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectConnectorsAuditWebhookAuthenticationApiKey 16 | { 17 | /// 18 | /// The API key. 19 | /// 20 | public readonly string Key; 21 | /// 22 | /// The API secret. 23 | /// 24 | public readonly string Token; 25 | 26 | [OutputConstructor] 27 | private ProjectConnectorsAuditWebhookAuthenticationApiKey( 28 | string key, 29 | 30 | string token) 31 | { 32 | Key = key; 33 | Token = token; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /sdk/python/descope_pulumi/config/vars.py: -------------------------------------------------------------------------------- 1 | # coding=utf-8 2 | # *** WARNING: this file was generated by pulumi-language-python. *** 3 | # *** Do not edit by hand unless you're certain you know what you are doing! *** 4 | 5 | import builtins as _builtins 6 | import warnings 7 | import sys 8 | import pulumi 9 | import pulumi.runtime 10 | from typing import Any, Mapping, Optional, Sequence, Union, overload 11 | if sys.version_info >= (3, 11): 12 | from typing import NotRequired, TypedDict, TypeAlias 13 | else: 14 | from typing_extensions import NotRequired, TypedDict, TypeAlias 15 | from .. import _utilities 16 | 17 | import types 18 | 19 | __config__ = pulumi.Config('descope') 20 | 21 | 22 | class _ExportableConfig(types.ModuleType): 23 | @_builtins.property 24 | def base_url(self) -> Optional[str]: 25 | return __config__.get('baseUrl') 26 | 27 | @_builtins.property 28 | def management_key(self) -> Optional[str]: 29 | return __config__.get('managementKey') 30 | 31 | @_builtins.property 32 | def project_id(self) -> Optional[str]: 33 | return __config__.get('projectId') 34 | 35 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectConnectorsExternalTokenHttpAuthenticationApiKey.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectConnectorsExternalTokenHttpAuthenticationApiKey 16 | { 17 | /// 18 | /// The API key. 19 | /// 20 | public readonly string Key; 21 | /// 22 | /// The API secret. 23 | /// 24 | public readonly string Token; 25 | 26 | [OutputConstructor] 27 | private ProjectConnectorsExternalTokenHttpAuthenticationApiKey( 28 | string key, 29 | 30 | string token) 31 | { 32 | Key = key; 33 | Token = token; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectConnectorsGenericSmsGatewayAuthenticationApiKey.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectConnectorsGenericSmsGatewayAuthenticationApiKey 16 | { 17 | /// 18 | /// The API key. 19 | /// 20 | public readonly string Key; 21 | /// 22 | /// The API secret. 23 | /// 24 | public readonly string Token; 25 | 26 | [OutputConstructor] 27 | private ProjectConnectorsGenericSmsGatewayAuthenticationApiKey( 28 | string key, 29 | 30 | string token) 31 | { 32 | Key = key; 33 | Token = token; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /sdk/python/descope_pulumi/__init__.py: -------------------------------------------------------------------------------- 1 | # coding=utf-8 2 | # *** WARNING: this file was generated by pulumi-language-python. *** 3 | # *** Do not edit by hand unless you're certain you know what you are doing! *** 4 | 5 | import builtins as _builtins 6 | from . import _utilities 7 | import typing 8 | # Export this package's modules as members: 9 | from .project import * 10 | from .provider import * 11 | from ._inputs import * 12 | from . import outputs 13 | 14 | # Make subpackages available: 15 | if typing.TYPE_CHECKING: 16 | import descope_pulumi.config as __config 17 | config = __config 18 | else: 19 | config = _utilities.lazy_import('descope_pulumi.config') 20 | 21 | _utilities.register( 22 | resource_modules=""" 23 | [ 24 | { 25 | "pkg": "descope", 26 | "mod": "index/project", 27 | "fqn": "descope_pulumi", 28 | "classes": { 29 | "descope:index/project:Project": "Project" 30 | } 31 | } 32 | ] 33 | """, 34 | resource_packages=""" 35 | [ 36 | { 37 | "pkg": "descope", 38 | "token": "pulumi:providers:descope", 39 | "fqn": "descope_pulumi", 40 | "class": "Provider" 41 | } 42 | ] 43 | """ 44 | ) 45 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectConnectorsGenericEmailGatewayAuthenticationApiKey.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectConnectorsGenericEmailGatewayAuthenticationApiKey 16 | { 17 | /// 18 | /// The API key. 19 | /// 20 | public readonly string Key; 21 | /// 22 | /// The API secret. 23 | /// 24 | public readonly string Token; 25 | 26 | [OutputConstructor] 27 | private ProjectConnectorsGenericEmailGatewayAuthenticationApiKey( 28 | string key, 29 | 30 | string token) 31 | { 32 | Key = key; 33 | Token = token; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectApplicationsSamlApplicationAttributeMapping.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectApplicationsSamlApplicationAttributeMapping 16 | { 17 | /// 18 | /// The name of the attribute. 19 | /// 20 | public readonly string Name; 21 | /// 22 | /// The value of the attribute. 23 | /// 24 | public readonly string Value; 25 | 26 | [OutputConstructor] 27 | private ProjectApplicationsSamlApplicationAttributeMapping( 28 | string name, 29 | 30 | string value) 31 | { 32 | Name = name; 33 | Value = value; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectConnectorsSeSender.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectConnectorsSeSender 16 | { 17 | /// 18 | /// The email address that will appear as the sender of the email. 19 | /// 20 | public readonly string Email; 21 | /// 22 | /// The display name that will appear as the sender of the email. 23 | /// 24 | public readonly string? Name; 25 | 26 | [OutputConstructor] 27 | private ProjectConnectorsSeSender( 28 | string email, 29 | 30 | string? name) 31 | { 32 | Email = email; 33 | Name = name; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /sdk/java/src/main/java/com/descope/pulumi/descope/inputs/ProjectAuthenticationOauthCustomProviderTokenManagementArgs.java: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-java. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | package com.descope.pulumi.descope.inputs; 5 | 6 | 7 | 8 | 9 | public final class ProjectAuthenticationOauthCustomProviderTokenManagementArgs extends com.pulumi.resources.ResourceArgs { 10 | 11 | public static final ProjectAuthenticationOauthCustomProviderTokenManagementArgs Empty = new ProjectAuthenticationOauthCustomProviderTokenManagementArgs(); 12 | 13 | public static Builder builder() { 14 | return new Builder(); 15 | } 16 | 17 | public static final class Builder { 18 | private ProjectAuthenticationOauthCustomProviderTokenManagementArgs $; 19 | 20 | public Builder() { 21 | $ = new ProjectAuthenticationOauthCustomProviderTokenManagementArgs(); 22 | } 23 | public ProjectAuthenticationOauthCustomProviderTokenManagementArgs build() { 24 | return $; 25 | } 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectConnectorsSmtpSender.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectConnectorsSmtpSender 16 | { 17 | /// 18 | /// The email address that will appear as the sender of the email. 19 | /// 20 | public readonly string Email; 21 | /// 22 | /// The display name that will appear as the sender of the email. 23 | /// 24 | public readonly string? Name; 25 | 26 | [OutputConstructor] 27 | private ProjectConnectorsSmtpSender( 28 | string email, 29 | 30 | string? name) 31 | { 32 | Email = email; 33 | Name = name; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectApplicationsSamlApplicationDynamicConfigurationArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectApplicationsSamlApplicationDynamicConfigurationArgs : global::Pulumi.ResourceArgs 15 | { 16 | /// 17 | /// The metadata URL when retrieving the connection details dynamically. 18 | /// 19 | [Input("metadataUrl", required: true)] 20 | public Input MetadataUrl { get; set; } = null!; 21 | 22 | public ProjectApplicationsSamlApplicationDynamicConfigurationArgs() 23 | { 24 | } 25 | public static new ProjectApplicationsSamlApplicationDynamicConfigurationArgs Empty => new ProjectApplicationsSamlApplicationDynamicConfigurationArgs(); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectConnectorsSendgridSender.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectConnectorsSendgridSender 16 | { 17 | /// 18 | /// The email address that will appear as the sender of the email. 19 | /// 20 | public readonly string Email; 21 | /// 22 | /// The display name that will appear as the sender of the email. 23 | /// 24 | public readonly string? Name; 25 | 26 | [OutputConstructor] 27 | private ProjectConnectorsSendgridSender( 28 | string email, 29 | 30 | string? name) 31 | { 32 | Email = email; 33 | Name = name; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectApplicationsSamlApplicationDynamicConfigurationGetArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectApplicationsSamlApplicationDynamicConfigurationGetArgs : global::Pulumi.ResourceArgs 15 | { 16 | /// 17 | /// The metadata URL when retrieving the connection details dynamically. 18 | /// 19 | [Input("metadataUrl", required: true)] 20 | public Input MetadataUrl { get; set; } = null!; 21 | 22 | public ProjectApplicationsSamlApplicationDynamicConfigurationGetArgs() 23 | { 24 | } 25 | public static new ProjectApplicationsSamlApplicationDynamicConfigurationGetArgs Empty => new ProjectApplicationsSamlApplicationDynamicConfigurationGetArgs(); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectConnectorsHttpAuthenticationBasic.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectConnectorsHttpAuthenticationBasic 16 | { 17 | /// 18 | /// Password for basic HTTP authentication. 19 | /// 20 | public readonly string Password; 21 | /// 22 | /// Username for basic HTTP authentication. 23 | /// 24 | public readonly string Username; 25 | 26 | [OutputConstructor] 27 | private ProjectConnectorsHttpAuthenticationBasic( 28 | string password, 29 | 30 | string username) 31 | { 32 | Password = password; 33 | Username = username; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /.config/mise.toml: -------------------------------------------------------------------------------- 1 | # WARNING: This file is autogenerated - changes will be overwritten when regenerated by https://github.com/pulumi/ci-mgmt 2 | # You can create your own root-level mise.toml file to override/augment this. See https://mise.jdx.dev/configuration.html 3 | 4 | [env] 5 | _.source = "{{config_root}}/scripts/get-versions.sh" 6 | PULUMI_HOME = "{{config_root}}/.pulumi" 7 | 8 | [tools] 9 | 10 | # Runtimes 11 | # TODO: we may not need 'get_env' once https://github.com/jdx/mise/discussions/6339 is fixed 12 | go = "{{ get_env(name='GO_VERSION_MISE', default='latest') }}" 13 | node = '20.19.5' 14 | python = '3.11.8' 15 | dotnet = '8.0.414' 16 | # Corretto version used as Java SE/OpenJDK version no longer offered 17 | java = 'corretto-11' 18 | 19 | # Executable tools 20 | pulumi = "{{ get_env(name='PULUMI_VERSION_MISE', default='latest') }}" 21 | "github:pulumi/pulumictl" = 'latest' 22 | "github:pulumi/schema-tools" = "latest" 23 | gradle = '7.6.0' 24 | golangci-lint = "2.6.2" # See note about about overrides if you need to customize this. 25 | "npm:yarn" = "1.22.22" 26 | 27 | [settings] 28 | experimental = true # Required for Go binaries (e.g. pulumictl). 29 | lockfile = true 30 | -------------------------------------------------------------------------------- /sdk/java/src/main/java/com/descope/pulumi/descope/inputs/ProjectAuthenticationOauthSystemAppleProviderTokenManagementArgs.java: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-java. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | package com.descope.pulumi.descope.inputs; 5 | 6 | 7 | 8 | 9 | public final class ProjectAuthenticationOauthSystemAppleProviderTokenManagementArgs extends com.pulumi.resources.ResourceArgs { 10 | 11 | public static final ProjectAuthenticationOauthSystemAppleProviderTokenManagementArgs Empty = new ProjectAuthenticationOauthSystemAppleProviderTokenManagementArgs(); 12 | 13 | public static Builder builder() { 14 | return new Builder(); 15 | } 16 | 17 | public static final class Builder { 18 | private ProjectAuthenticationOauthSystemAppleProviderTokenManagementArgs $; 19 | 20 | public Builder() { 21 | $ = new ProjectAuthenticationOauthSystemAppleProviderTokenManagementArgs(); 22 | } 23 | public ProjectAuthenticationOauthSystemAppleProviderTokenManagementArgs build() { 24 | return $; 25 | } 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /sdk/java/src/main/java/com/descope/pulumi/descope/inputs/ProjectAuthenticationOauthSystemSlackProviderTokenManagementArgs.java: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-java. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | package com.descope.pulumi.descope.inputs; 5 | 6 | 7 | 8 | 9 | public final class ProjectAuthenticationOauthSystemSlackProviderTokenManagementArgs extends com.pulumi.resources.ResourceArgs { 10 | 11 | public static final ProjectAuthenticationOauthSystemSlackProviderTokenManagementArgs Empty = new ProjectAuthenticationOauthSystemSlackProviderTokenManagementArgs(); 12 | 13 | public static Builder builder() { 14 | return new Builder(); 15 | } 16 | 17 | public static final class Builder { 18 | private ProjectAuthenticationOauthSystemSlackProviderTokenManagementArgs $; 19 | 20 | public Builder() { 21 | $ = new ProjectAuthenticationOauthSystemSlackProviderTokenManagementArgs(); 22 | } 23 | public ProjectAuthenticationOauthSystemSlackProviderTokenManagementArgs build() { 24 | return $; 25 | } 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /sdk/java/src/main/java/com/descope/pulumi/descope/inputs/ProjectAuthenticationOauthSystemGithubProviderTokenManagementArgs.java: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-java. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | package com.descope.pulumi.descope.inputs; 5 | 6 | 7 | 8 | 9 | public final class ProjectAuthenticationOauthSystemGithubProviderTokenManagementArgs extends com.pulumi.resources.ResourceArgs { 10 | 11 | public static final ProjectAuthenticationOauthSystemGithubProviderTokenManagementArgs Empty = new ProjectAuthenticationOauthSystemGithubProviderTokenManagementArgs(); 12 | 13 | public static Builder builder() { 14 | return new Builder(); 15 | } 16 | 17 | public static final class Builder { 18 | private ProjectAuthenticationOauthSystemGithubProviderTokenManagementArgs $; 19 | 20 | public Builder() { 21 | $ = new ProjectAuthenticationOauthSystemGithubProviderTokenManagementArgs(); 22 | } 23 | public ProjectAuthenticationOauthSystemGithubProviderTokenManagementArgs build() { 24 | return $; 25 | } 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /sdk/java/src/main/java/com/descope/pulumi/descope/inputs/ProjectAuthenticationOauthSystemGitlabProviderTokenManagementArgs.java: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-java. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | package com.descope.pulumi.descope.inputs; 5 | 6 | 7 | 8 | 9 | public final class ProjectAuthenticationOauthSystemGitlabProviderTokenManagementArgs extends com.pulumi.resources.ResourceArgs { 10 | 11 | public static final ProjectAuthenticationOauthSystemGitlabProviderTokenManagementArgs Empty = new ProjectAuthenticationOauthSystemGitlabProviderTokenManagementArgs(); 12 | 13 | public static Builder builder() { 14 | return new Builder(); 15 | } 16 | 17 | public static final class Builder { 18 | private ProjectAuthenticationOauthSystemGitlabProviderTokenManagementArgs $; 19 | 20 | public Builder() { 21 | $ = new ProjectAuthenticationOauthSystemGitlabProviderTokenManagementArgs(); 22 | } 23 | public ProjectAuthenticationOauthSystemGitlabProviderTokenManagementArgs build() { 24 | return $; 25 | } 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /sdk/java/src/main/java/com/descope/pulumi/descope/inputs/ProjectAuthenticationOauthSystemGoogleProviderTokenManagementArgs.java: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-java. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | package com.descope.pulumi.descope.inputs; 5 | 6 | 7 | 8 | 9 | public final class ProjectAuthenticationOauthSystemGoogleProviderTokenManagementArgs extends com.pulumi.resources.ResourceArgs { 10 | 11 | public static final ProjectAuthenticationOauthSystemGoogleProviderTokenManagementArgs Empty = new ProjectAuthenticationOauthSystemGoogleProviderTokenManagementArgs(); 12 | 13 | public static Builder builder() { 14 | return new Builder(); 15 | } 16 | 17 | public static final class Builder { 18 | private ProjectAuthenticationOauthSystemGoogleProviderTokenManagementArgs $; 19 | 20 | public Builder() { 21 | $ = new ProjectAuthenticationOauthSystemGoogleProviderTokenManagementArgs(); 22 | } 23 | public ProjectAuthenticationOauthSystemGoogleProviderTokenManagementArgs build() { 24 | return $; 25 | } 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /examples/ts/index.ts: -------------------------------------------------------------------------------- 1 | import * as descope from "@descope/pulumi-descope"; 2 | 3 | export const project = new descope.Project("pulumi-ts-test", { 4 | jwtTemplates: { 5 | userTemplates: [ 6 | { 7 | name: "userjwt", 8 | description: "JWT token", 9 | template: "{}", // must be json 10 | }, 11 | ], 12 | accessKeyTemplates: [ 13 | { 14 | name: "accesskeyjwt", 15 | description: "JWT token", 16 | template: "{}", // must be json 17 | }, 18 | ], 19 | }, 20 | attributes: { 21 | tenants: [{ name: "my_attribute", type: "string" }], 22 | users: [{ name: "my_attribute", type: "string" }], 23 | }, 24 | authentication: { 25 | otp: { 26 | disabled: false, 27 | }, 28 | }, 29 | authorization: { 30 | permissions: [ 31 | { 32 | name: "perm1", 33 | description: "Permission 1", 34 | }, 35 | ], 36 | roles: [ 37 | { 38 | name: "role1", 39 | permissions: ["perm1"], 40 | }, 41 | ], 42 | }, 43 | connectors: { 44 | https: [{ name: "my_https", baseUrl: "https://example.com" }], 45 | }, 46 | environment: "production", 47 | }); 48 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectConnectorsSmtpServerArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectConnectorsSmtpServerArgs : global::Pulumi.ResourceArgs 15 | { 16 | /// 17 | /// The hostname or IP address of the SMTP server. 18 | /// 19 | [Input("host", required: true)] 20 | public Input Host { get; set; } = null!; 21 | 22 | /// 23 | /// The port number to connect to on the SMTP server. 24 | /// 25 | [Input("port")] 26 | public Input? Port { get; set; } 27 | 28 | public ProjectConnectorsSmtpServerArgs() 29 | { 30 | } 31 | public static new ProjectConnectorsSmtpServerArgs Empty => new ProjectConnectorsSmtpServerArgs(); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectConnectorsAuditWebhookAuthenticationBasic.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectConnectorsAuditWebhookAuthenticationBasic 16 | { 17 | /// 18 | /// Password for basic HTTP authentication. 19 | /// 20 | public readonly string Password; 21 | /// 22 | /// Username for basic HTTP authentication. 23 | /// 24 | public readonly string Username; 25 | 26 | [OutputConstructor] 27 | private ProjectConnectorsAuditWebhookAuthenticationBasic( 28 | string password, 29 | 30 | string username) 31 | { 32 | Password = password; 33 | Username = username; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /sdk/java/src/main/java/com/descope/pulumi/descope/inputs/ProjectAuthenticationOauthSystemDiscordProviderTokenManagementArgs.java: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-java. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | package com.descope.pulumi.descope.inputs; 5 | 6 | 7 | 8 | 9 | public final class ProjectAuthenticationOauthSystemDiscordProviderTokenManagementArgs extends com.pulumi.resources.ResourceArgs { 10 | 11 | public static final ProjectAuthenticationOauthSystemDiscordProviderTokenManagementArgs Empty = new ProjectAuthenticationOauthSystemDiscordProviderTokenManagementArgs(); 12 | 13 | public static Builder builder() { 14 | return new Builder(); 15 | } 16 | 17 | public static final class Builder { 18 | private ProjectAuthenticationOauthSystemDiscordProviderTokenManagementArgs $; 19 | 20 | public Builder() { 21 | $ = new ProjectAuthenticationOauthSystemDiscordProviderTokenManagementArgs(); 22 | } 23 | public ProjectAuthenticationOauthSystemDiscordProviderTokenManagementArgs build() { 24 | return $; 25 | } 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /sdk/java/src/main/java/com/descope/pulumi/descope/inputs/ProjectAuthenticationOauthSystemFacebookProviderTokenManagementArgs.java: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-java. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | package com.descope.pulumi.descope.inputs; 5 | 6 | 7 | 8 | 9 | public final class ProjectAuthenticationOauthSystemFacebookProviderTokenManagementArgs extends com.pulumi.resources.ResourceArgs { 10 | 11 | public static final ProjectAuthenticationOauthSystemFacebookProviderTokenManagementArgs Empty = new ProjectAuthenticationOauthSystemFacebookProviderTokenManagementArgs(); 12 | 13 | public static Builder builder() { 14 | return new Builder(); 15 | } 16 | 17 | public static final class Builder { 18 | private ProjectAuthenticationOauthSystemFacebookProviderTokenManagementArgs $; 19 | 20 | public Builder() { 21 | $ = new ProjectAuthenticationOauthSystemFacebookProviderTokenManagementArgs(); 22 | } 23 | public ProjectAuthenticationOauthSystemFacebookProviderTokenManagementArgs build() { 24 | return $; 25 | } 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /sdk/java/src/main/java/com/descope/pulumi/descope/inputs/ProjectAuthenticationOauthSystemLinkedinProviderTokenManagementArgs.java: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-java. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | package com.descope.pulumi.descope.inputs; 5 | 6 | 7 | 8 | 9 | public final class ProjectAuthenticationOauthSystemLinkedinProviderTokenManagementArgs extends com.pulumi.resources.ResourceArgs { 10 | 11 | public static final ProjectAuthenticationOauthSystemLinkedinProviderTokenManagementArgs Empty = new ProjectAuthenticationOauthSystemLinkedinProviderTokenManagementArgs(); 12 | 13 | public static Builder builder() { 14 | return new Builder(); 15 | } 16 | 17 | public static final class Builder { 18 | private ProjectAuthenticationOauthSystemLinkedinProviderTokenManagementArgs $; 19 | 20 | public Builder() { 21 | $ = new ProjectAuthenticationOauthSystemLinkedinProviderTokenManagementArgs(); 22 | } 23 | public ProjectAuthenticationOauthSystemLinkedinProviderTokenManagementArgs build() { 24 | return $; 25 | } 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectConnectorsSmtpServerGetArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectConnectorsSmtpServerGetArgs : global::Pulumi.ResourceArgs 15 | { 16 | /// 17 | /// The hostname or IP address of the SMTP server. 18 | /// 19 | [Input("host", required: true)] 20 | public Input Host { get; set; } = null!; 21 | 22 | /// 23 | /// The port number to connect to on the SMTP server. 24 | /// 25 | [Input("port")] 26 | public Input? Port { get; set; } 27 | 28 | public ProjectConnectorsSmtpServerGetArgs() 29 | { 30 | } 31 | public static new ProjectConnectorsSmtpServerGetArgs Empty => new ProjectConnectorsSmtpServerGetArgs(); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectConnectorsExternalTokenHttpAuthenticationBasic.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectConnectorsExternalTokenHttpAuthenticationBasic 16 | { 17 | /// 18 | /// Password for basic HTTP authentication. 19 | /// 20 | public readonly string Password; 21 | /// 22 | /// Username for basic HTTP authentication. 23 | /// 24 | public readonly string Username; 25 | 26 | [OutputConstructor] 27 | private ProjectConnectorsExternalTokenHttpAuthenticationBasic( 28 | string password, 29 | 30 | string username) 31 | { 32 | Password = password; 33 | Username = username; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectConnectorsGenericSmsGatewayAuthenticationBasic.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectConnectorsGenericSmsGatewayAuthenticationBasic 16 | { 17 | /// 18 | /// Password for basic HTTP authentication. 19 | /// 20 | public readonly string Password; 21 | /// 22 | /// Username for basic HTTP authentication. 23 | /// 24 | public readonly string Username; 25 | 26 | [OutputConstructor] 27 | private ProjectConnectorsGenericSmsGatewayAuthenticationBasic( 28 | string password, 29 | 30 | string username) 31 | { 32 | Password = password; 33 | Username = username; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /sdk/java/src/main/java/com/descope/pulumi/descope/inputs/ProjectAuthenticationOauthSystemMicrosoftProviderTokenManagementArgs.java: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-java. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | package com.descope.pulumi.descope.inputs; 5 | 6 | 7 | 8 | 9 | public final class ProjectAuthenticationOauthSystemMicrosoftProviderTokenManagementArgs extends com.pulumi.resources.ResourceArgs { 10 | 11 | public static final ProjectAuthenticationOauthSystemMicrosoftProviderTokenManagementArgs Empty = new ProjectAuthenticationOauthSystemMicrosoftProviderTokenManagementArgs(); 12 | 13 | public static Builder builder() { 14 | return new Builder(); 15 | } 16 | 17 | public static final class Builder { 18 | private ProjectAuthenticationOauthSystemMicrosoftProviderTokenManagementArgs $; 19 | 20 | public Builder() { 21 | $ = new ProjectAuthenticationOauthSystemMicrosoftProviderTokenManagementArgs(); 22 | } 23 | public ProjectAuthenticationOauthSystemMicrosoftProviderTokenManagementArgs build() { 24 | return $; 25 | } 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectConnectorsSeSenderArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectConnectorsSeSenderArgs : global::Pulumi.ResourceArgs 15 | { 16 | /// 17 | /// The email address that will appear as the sender of the email. 18 | /// 19 | [Input("email", required: true)] 20 | public Input Email { get; set; } = null!; 21 | 22 | /// 23 | /// The display name that will appear as the sender of the email. 24 | /// 25 | [Input("name")] 26 | public Input? Name { get; set; } 27 | 28 | public ProjectConnectorsSeSenderArgs() 29 | { 30 | } 31 | public static new ProjectConnectorsSeSenderArgs Empty => new ProjectConnectorsSeSenderArgs(); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectConnectorsGenericEmailGatewayAuthenticationBasic.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectConnectorsGenericEmailGatewayAuthenticationBasic 16 | { 17 | /// 18 | /// Password for basic HTTP authentication. 19 | /// 20 | public readonly string Password; 21 | /// 22 | /// Username for basic HTTP authentication. 23 | /// 24 | public readonly string Username; 25 | 26 | [OutputConstructor] 27 | private ProjectConnectorsGenericEmailGatewayAuthenticationBasic( 28 | string password, 29 | 30 | string username) 31 | { 32 | Password = password; 33 | Username = username; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectConnectorsHibp.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectConnectorsHibp 16 | { 17 | /// 18 | /// A description of what your connector is used for. 19 | /// 20 | public readonly string? Description; 21 | public readonly string? Id; 22 | /// 23 | /// A custom name for your connector. 24 | /// 25 | public readonly string Name; 26 | 27 | [OutputConstructor] 28 | private ProjectConnectorsHibp( 29 | string? description, 30 | 31 | string? id, 32 | 33 | string name) 34 | { 35 | Description = description; 36 | Id = id; 37 | Name = name; 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectAuthorizationPermission.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectAuthorizationPermission 16 | { 17 | /// 18 | /// A description for the permission. 19 | /// 20 | public readonly string? Description; 21 | public readonly string? Id; 22 | /// 23 | /// A name for the permission. 24 | /// 25 | public readonly string Name; 26 | 27 | [OutputConstructor] 28 | private ProjectAuthorizationPermission( 29 | string? description, 30 | 31 | string? id, 32 | 33 | string name) 34 | { 35 | Description = description; 36 | Id = id; 37 | Name = name; 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectConnectorsSmtpSenderArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectConnectorsSmtpSenderArgs : global::Pulumi.ResourceArgs 15 | { 16 | /// 17 | /// The email address that will appear as the sender of the email. 18 | /// 19 | [Input("email", required: true)] 20 | public Input Email { get; set; } = null!; 21 | 22 | /// 23 | /// The display name that will appear as the sender of the email. 24 | /// 25 | [Input("name")] 26 | public Input? Name { get; set; } 27 | 28 | public ProjectConnectorsSmtpSenderArgs() 29 | { 30 | } 31 | public static new ProjectConnectorsSmtpSenderArgs Empty => new ProjectConnectorsSmtpSenderArgs(); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectConnectorsSeSenderGetArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectConnectorsSeSenderGetArgs : global::Pulumi.ResourceArgs 15 | { 16 | /// 17 | /// The email address that will appear as the sender of the email. 18 | /// 19 | [Input("email", required: true)] 20 | public Input Email { get; set; } = null!; 21 | 22 | /// 23 | /// The display name that will appear as the sender of the email. 24 | /// 25 | [Input("name")] 26 | public Input? Name { get; set; } 27 | 28 | public ProjectConnectorsSeSenderGetArgs() 29 | { 30 | } 31 | public static new ProjectConnectorsSeSenderGetArgs Empty => new ProjectConnectorsSeSenderGetArgs(); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /.config/mise.lock: -------------------------------------------------------------------------------- 1 | [[tools.dotnet]] 2 | version = "8.0.414" 3 | backend = "asdf:dotnet" 4 | 5 | [[tools."github:pulumi/pulumictl"]] 6 | version = "0.0.50" 7 | backend = "github:pulumi/pulumictl" 8 | 9 | [[tools."github:pulumi/schema-tools"]] 10 | version = "0.6.0" 11 | backend = "github:pulumi/schema-tools" 12 | 13 | [[tools.go]] 14 | version = "1.24.8" 15 | backend = "core:go" 16 | 17 | [[tools.golangci-lint]] 18 | version = "2.6.2" 19 | backend = "aqua:golangci/golangci-lint" 20 | 21 | [[tools.gradle]] 22 | version = "7.6.0" 23 | backend = "aqua:gradle/gradle" 24 | 25 | [[tools.java]] 26 | version = "corretto-11.0.29.7.1" 27 | backend = "core:java" 28 | 29 | [tools.java.platforms.linux-x64] 30 | checksum = "sha256:279c6d3124f8b0251b16297b16687fe8b3946410b05ed27de1259b5e5cea02ba" 31 | size = 195379320 32 | url = "https://corretto.aws/downloads/resources/11.0.29.7.1/amazon-corretto-11.0.29.7.1-linux-x64.tar.gz" 33 | 34 | [[tools.node]] 35 | version = "20.19.5" 36 | backend = "core:node" 37 | 38 | [[tools."npm:yarn"]] 39 | version = "1.22.22" 40 | backend = "npm:yarn" 41 | 42 | [[tools.pulumi]] 43 | version = "3.207.0" 44 | backend = "aqua:pulumi/pulumi" 45 | 46 | [[tools.python]] 47 | version = "3.11.8" 48 | backend = "core:python" 49 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectConnectorsSmtpSenderGetArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectConnectorsSmtpSenderGetArgs : global::Pulumi.ResourceArgs 15 | { 16 | /// 17 | /// The email address that will appear as the sender of the email. 18 | /// 19 | [Input("email", required: true)] 20 | public Input Email { get; set; } = null!; 21 | 22 | /// 23 | /// The display name that will appear as the sender of the email. 24 | /// 25 | [Input("name")] 26 | public Input? Name { get; set; } 27 | 28 | public ProjectConnectorsSmtpSenderGetArgs() 29 | { 30 | } 31 | public static new ProjectConnectorsSmtpSenderGetArgs Empty => new ProjectConnectorsSmtpSenderGetArgs(); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectConnectorsTwilioCoreSendersSms.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectConnectorsTwilioCoreSendersSms 16 | { 17 | /// 18 | /// Twilio Messaging Service SID for sending SMS messages. 19 | /// 20 | public readonly string? MessagingServiceSid; 21 | /// 22 | /// Twilio phone number for sending SMS messages. 23 | /// 24 | public readonly string? PhoneNumber; 25 | 26 | [OutputConstructor] 27 | private ProjectConnectorsTwilioCoreSendersSms( 28 | string? messagingServiceSid, 29 | 30 | string? phoneNumber) 31 | { 32 | MessagingServiceSid = messagingServiceSid; 33 | PhoneNumber = phoneNumber; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectConnectorsSendgridSenderArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectConnectorsSendgridSenderArgs : global::Pulumi.ResourceArgs 15 | { 16 | /// 17 | /// The email address that will appear as the sender of the email. 18 | /// 19 | [Input("email", required: true)] 20 | public Input Email { get; set; } = null!; 21 | 22 | /// 23 | /// The display name that will appear as the sender of the email. 24 | /// 25 | [Input("name")] 26 | public Input? Name { get; set; } 27 | 28 | public ProjectConnectorsSendgridSenderArgs() 29 | { 30 | } 31 | public static new ProjectConnectorsSendgridSenderArgs Empty => new ProjectConnectorsSendgridSenderArgs(); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectConnectorsHibpArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectConnectorsHibpArgs : global::Pulumi.ResourceArgs 15 | { 16 | /// 17 | /// A description of what your connector is used for. 18 | /// 19 | [Input("description")] 20 | public Input? Description { get; set; } 21 | 22 | [Input("id")] 23 | public Input? Id { get; set; } 24 | 25 | /// 26 | /// A custom name for your connector. 27 | /// 28 | [Input("name", required: true)] 29 | public Input Name { get; set; } = null!; 30 | 31 | public ProjectConnectorsHibpArgs() 32 | { 33 | } 34 | public static new ProjectConnectorsHibpArgs Empty => new ProjectConnectorsHibpArgs(); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectAttributesTenantAuthorizationArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectAttributesTenantAuthorizationArgs : global::Pulumi.ResourceArgs 15 | { 16 | [Input("viewPermissions")] 17 | private InputList? _viewPermissions; 18 | 19 | /// 20 | /// Determines the required permissions for this tenant. 21 | /// 22 | public InputList ViewPermissions 23 | { 24 | get => _viewPermissions ?? (_viewPermissions = new InputList()); 25 | set => _viewPermissions = value; 26 | } 27 | 28 | public ProjectAttributesTenantAuthorizationArgs() 29 | { 30 | } 31 | public static new ProjectAttributesTenantAuthorizationArgs Empty => new ProjectAttributesTenantAuthorizationArgs(); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectConnectorsSendgridSenderGetArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectConnectorsSendgridSenderGetArgs : global::Pulumi.ResourceArgs 15 | { 16 | /// 17 | /// The email address that will appear as the sender of the email. 18 | /// 19 | [Input("email", required: true)] 20 | public Input Email { get; set; } = null!; 21 | 22 | /// 23 | /// The display name that will appear as the sender of the email. 24 | /// 25 | [Input("name")] 26 | public Input? Name { get; set; } 27 | 28 | public ProjectConnectorsSendgridSenderGetArgs() 29 | { 30 | } 31 | public static new ProjectConnectorsSendgridSenderGetArgs Empty => new ProjectConnectorsSendgridSenderGetArgs(); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectAuthorization.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectAuthorization 16 | { 17 | /// 18 | /// A list of `Permission` objects. 19 | /// 20 | public readonly ImmutableArray Permissions; 21 | /// 22 | /// A list of `Role` objects. 23 | /// 24 | public readonly ImmutableArray Roles; 25 | 26 | [OutputConstructor] 27 | private ProjectAuthorization( 28 | ImmutableArray permissions, 29 | 30 | ImmutableArray roles) 31 | { 32 | Permissions = permissions; 33 | Roles = roles; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectConnectorsHibpGetArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectConnectorsHibpGetArgs : global::Pulumi.ResourceArgs 15 | { 16 | /// 17 | /// A description of what your connector is used for. 18 | /// 19 | [Input("description")] 20 | public Input? Description { get; set; } 21 | 22 | [Input("id")] 23 | public Input? Id { get; set; } 24 | 25 | /// 26 | /// A custom name for your connector. 27 | /// 28 | [Input("name", required: true)] 29 | public Input Name { get; set; } = null!; 30 | 31 | public ProjectConnectorsHibpGetArgs() 32 | { 33 | } 34 | public static new ProjectConnectorsHibpGetArgs Empty => new ProjectConnectorsHibpGetArgs(); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectConnectorsTwilioCoreSendersSmsArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectConnectorsTwilioCoreSendersSmsArgs : global::Pulumi.ResourceArgs 15 | { 16 | /// 17 | /// Twilio Messaging Service SID for sending SMS messages. 18 | /// 19 | [Input("messagingServiceSid")] 20 | public Input? MessagingServiceSid { get; set; } 21 | 22 | /// 23 | /// Twilio phone number for sending SMS messages. 24 | /// 25 | [Input("phoneNumber")] 26 | public Input? PhoneNumber { get; set; } 27 | 28 | public ProjectConnectorsTwilioCoreSendersSmsArgs() 29 | { 30 | } 31 | public static new ProjectConnectorsTwilioCoreSendersSmsArgs Empty => new ProjectConnectorsTwilioCoreSendersSmsArgs(); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectAttributesTenantAuthorizationGetArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectAttributesTenantAuthorizationGetArgs : global::Pulumi.ResourceArgs 15 | { 16 | [Input("viewPermissions")] 17 | private InputList? _viewPermissions; 18 | 19 | /// 20 | /// Determines the required permissions for this tenant. 21 | /// 22 | public InputList ViewPermissions 23 | { 24 | get => _viewPermissions ?? (_viewPermissions = new InputList()); 25 | set => _viewPermissions = value; 26 | } 27 | 28 | public ProjectAttributesTenantAuthorizationGetArgs() 29 | { 30 | } 31 | public static new ProjectAttributesTenantAuthorizationGetArgs Empty => new ProjectAttributesTenantAuthorizationGetArgs(); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectAuthorizationPermissionArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectAuthorizationPermissionArgs : global::Pulumi.ResourceArgs 15 | { 16 | /// 17 | /// A description for the permission. 18 | /// 19 | [Input("description")] 20 | public Input? Description { get; set; } 21 | 22 | [Input("id")] 23 | public Input? Id { get; set; } 24 | 25 | /// 26 | /// A name for the permission. 27 | /// 28 | [Input("name", required: true)] 29 | public Input Name { get; set; } = null!; 30 | 31 | public ProjectAuthorizationPermissionArgs() 32 | { 33 | } 34 | public static new ProjectAuthorizationPermissionArgs Empty => new ProjectAuthorizationPermissionArgs(); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectAttributes.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectAttributes 16 | { 17 | /// 18 | /// A list of `TenantAttribute`. Read the description below. 19 | /// 20 | public readonly ImmutableArray Tenants; 21 | /// 22 | /// A list of `UserAttribute`. Read the description below. 23 | /// 24 | public readonly ImmutableArray Users; 25 | 26 | [OutputConstructor] 27 | private ProjectAttributes( 28 | ImmutableArray tenants, 29 | 30 | ImmutableArray users) 31 | { 32 | Tenants = tenants; 33 | Users = users; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectConnectorsTwilioCoreSendersSmsGetArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectConnectorsTwilioCoreSendersSmsGetArgs : global::Pulumi.ResourceArgs 15 | { 16 | /// 17 | /// Twilio Messaging Service SID for sending SMS messages. 18 | /// 19 | [Input("messagingServiceSid")] 20 | public Input? MessagingServiceSid { get; set; } 21 | 22 | /// 23 | /// Twilio phone number for sending SMS messages. 24 | /// 25 | [Input("phoneNumber")] 26 | public Input? PhoneNumber { get; set; } 27 | 28 | public ProjectConnectorsTwilioCoreSendersSmsGetArgs() 29 | { 30 | } 31 | public static new ProjectConnectorsTwilioCoreSendersSmsGetArgs Empty => new ProjectConnectorsTwilioCoreSendersSmsGetArgs(); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectAuthorizationPermissionGetArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectAuthorizationPermissionGetArgs : global::Pulumi.ResourceArgs 15 | { 16 | /// 17 | /// A description for the permission. 18 | /// 19 | [Input("description")] 20 | public Input? Description { get; set; } 21 | 22 | [Input("id")] 23 | public Input? Id { get; set; } 24 | 25 | /// 26 | /// A name for the permission. 27 | /// 28 | [Input("name", required: true)] 29 | public Input Name { get; set; } = null!; 30 | 31 | public ProjectAuthorizationPermissionGetArgs() 32 | { 33 | } 34 | public static new ProjectAuthorizationPermissionGetArgs Empty => new ProjectAuthorizationPermissionGetArgs(); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectApplicationsSamlApplicationAttributeMappingArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectApplicationsSamlApplicationAttributeMappingArgs : global::Pulumi.ResourceArgs 15 | { 16 | /// 17 | /// The name of the attribute. 18 | /// 19 | [Input("name", required: true)] 20 | public Input Name { get; set; } = null!; 21 | 22 | /// 23 | /// The value of the attribute. 24 | /// 25 | [Input("value", required: true)] 26 | public Input Value { get; set; } = null!; 27 | 28 | public ProjectApplicationsSamlApplicationAttributeMappingArgs() 29 | { 30 | } 31 | public static new ProjectApplicationsSamlApplicationAttributeMappingArgs Empty => new ProjectApplicationsSamlApplicationAttributeMappingArgs(); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectApplicationsSamlApplicationAttributeMappingGetArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectApplicationsSamlApplicationAttributeMappingGetArgs : global::Pulumi.ResourceArgs 15 | { 16 | /// 17 | /// The name of the attribute. 18 | /// 19 | [Input("name", required: true)] 20 | public Input Name { get; set; } = null!; 21 | 22 | /// 23 | /// The value of the attribute. 24 | /// 25 | [Input("value", required: true)] 26 | public Input Value { get; set; } = null!; 27 | 28 | public ProjectApplicationsSamlApplicationAttributeMappingGetArgs() 29 | { 30 | } 31 | public static new ProjectApplicationsSamlApplicationAttributeMappingGetArgs Empty => new ProjectApplicationsSamlApplicationAttributeMappingGetArgs(); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectConnectorsTwilioCoreSenders.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectConnectorsTwilioCoreSenders 16 | { 17 | /// 18 | /// SMS sender configuration using either a phone number or messaging service. 19 | /// 20 | public readonly Outputs.ProjectConnectorsTwilioCoreSendersSms Sms; 21 | /// 22 | /// Voice call sender configuration. 23 | /// 24 | public readonly Outputs.ProjectConnectorsTwilioCoreSendersVoice? Voice; 25 | 26 | [OutputConstructor] 27 | private ProjectConnectorsTwilioCoreSenders( 28 | Outputs.ProjectConnectorsTwilioCoreSendersSms sms, 29 | 30 | Outputs.ProjectConnectorsTwilioCoreSendersVoice? voice) 31 | { 32 | Sms = sms; 33 | Voice = voice; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectInviteSettingsEmailService.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectInviteSettingsEmailService 16 | { 17 | /// 18 | /// The name of the email connector to use for sending emails. 19 | /// 20 | public readonly string Connector; 21 | /// 22 | /// A list of email templates for different authentication flows. 23 | /// 24 | public readonly ImmutableArray Templates; 25 | 26 | [OutputConstructor] 27 | private ProjectInviteSettingsEmailService( 28 | string connector, 29 | 30 | ImmutableArray templates) 31 | { 32 | Connector = connector; 33 | Templates = templates; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectConnectorsTwilioCoreSendersArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectConnectorsTwilioCoreSendersArgs : global::Pulumi.ResourceArgs 15 | { 16 | /// 17 | /// SMS sender configuration using either a phone number or messaging service. 18 | /// 19 | [Input("sms", required: true)] 20 | public Input Sms { get; set; } = null!; 21 | 22 | /// 23 | /// Voice call sender configuration. 24 | /// 25 | [Input("voice")] 26 | public Input? Voice { get; set; } 27 | 28 | public ProjectConnectorsTwilioCoreSendersArgs() 29 | { 30 | } 31 | public static new ProjectConnectorsTwilioCoreSendersArgs Empty => new ProjectConnectorsTwilioCoreSendersArgs(); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectAuthenticationOtpEmailService.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectAuthenticationOtpEmailService 16 | { 17 | /// 18 | /// The name of the email connector to use for sending emails. 19 | /// 20 | public readonly string Connector; 21 | /// 22 | /// A list of email templates for different authentication flows. 23 | /// 24 | public readonly ImmutableArray Templates; 25 | 26 | [OutputConstructor] 27 | private ProjectAuthenticationOtpEmailService( 28 | string connector, 29 | 30 | ImmutableArray templates) 31 | { 32 | Connector = connector; 33 | Templates = templates; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectAuthenticationOtpVoiceService.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectAuthenticationOtpVoiceService 16 | { 17 | /// 18 | /// The name of the voice connector to use for making voice calls. 19 | /// 20 | public readonly string Connector; 21 | /// 22 | /// A list of voice message templates for different purposes. 23 | /// 24 | public readonly ImmutableArray Templates; 25 | 26 | [OutputConstructor] 27 | private ProjectAuthenticationOtpVoiceService( 28 | string connector, 29 | 30 | ImmutableArray templates) 31 | { 32 | Connector = connector; 33 | Templates = templates; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectAuthenticationOtpTextService.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectAuthenticationOtpTextService 16 | { 17 | /// 18 | /// The name of the SMS/text connector to use for sending text messages. 19 | /// 20 | public readonly string Connector; 21 | /// 22 | /// A list of text message templates for different authentication flows. 23 | /// 24 | public readonly ImmutableArray Templates; 25 | 26 | [OutputConstructor] 27 | private ProjectAuthenticationOtpTextService( 28 | string connector, 29 | 30 | ImmutableArray templates) 31 | { 32 | Connector = connector; 33 | Templates = templates; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectConnectorsTwilioCoreSendersGetArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectConnectorsTwilioCoreSendersGetArgs : global::Pulumi.ResourceArgs 15 | { 16 | /// 17 | /// SMS sender configuration using either a phone number or messaging service. 18 | /// 19 | [Input("sms", required: true)] 20 | public Input Sms { get; set; } = null!; 21 | 22 | /// 23 | /// Voice call sender configuration. 24 | /// 25 | [Input("voice")] 26 | public Input? Voice { get; set; } 27 | 28 | public ProjectConnectorsTwilioCoreSendersGetArgs() 29 | { 30 | } 31 | public static new ProjectConnectorsTwilioCoreSendersGetArgs Empty => new ProjectConnectorsTwilioCoreSendersGetArgs(); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectAuthenticationTotp.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectAuthenticationTotp 16 | { 17 | /// 18 | /// Setting this to `True` will disallow using this authentication method directly via API and SDK calls. Note that this does not affect authentication flows that are configured to use this authentication method. 19 | /// 20 | public readonly bool? Disabled; 21 | /// 22 | /// The template for the service issuer label (issuer) shown in the authenticator app. 23 | /// 24 | public readonly string? ServiceLabel; 25 | 26 | [OutputConstructor] 27 | private ProjectAuthenticationTotp( 28 | bool? disabled, 29 | 30 | string? serviceLabel) 31 | { 32 | Disabled = disabled; 33 | ServiceLabel = serviceLabel; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectAuthenticationPasswordEmailService.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectAuthenticationPasswordEmailService 16 | { 17 | /// 18 | /// The name of the email connector to use for sending emails. 19 | /// 20 | public readonly string Connector; 21 | /// 22 | /// A list of email templates for different authentication flows. 23 | /// 24 | public readonly ImmutableArray Templates; 25 | 26 | [OutputConstructor] 27 | private ProjectAuthenticationPasswordEmailService( 28 | string connector, 29 | 30 | ImmutableArray templates) 31 | { 32 | Connector = connector; 33 | Templates = templates; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectConnectorsSendgridAuthenticationArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectConnectorsSendgridAuthenticationArgs : global::Pulumi.ResourceArgs 15 | { 16 | [Input("apiKey", required: true)] 17 | private Input? _apiKey; 18 | 19 | /// 20 | /// SendGrid API key for authentication. 21 | /// 22 | public Input? ApiKey 23 | { 24 | get => _apiKey; 25 | set 26 | { 27 | var emptySecret = Output.CreateSecret(0); 28 | _apiKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); 29 | } 30 | } 31 | 32 | public ProjectConnectorsSendgridAuthenticationArgs() 33 | { 34 | } 35 | public static new ProjectConnectorsSendgridAuthenticationArgs Empty => new ProjectConnectorsSendgridAuthenticationArgs(); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectAuthenticationEmbeddedLink.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectAuthenticationEmbeddedLink 16 | { 17 | /// 18 | /// Setting this to `True` will disallow using this authentication method directly via API and SDK calls. Note that this does not affect authentication flows that are configured to use this authentication method. 19 | /// 20 | public readonly bool? Disabled; 21 | /// 22 | /// How long the embedded link remains valid before it expires. 23 | /// 24 | public readonly string? ExpirationTime; 25 | 26 | [OutputConstructor] 27 | private ProjectAuthenticationEmbeddedLink( 28 | bool? disabled, 29 | 30 | string? expirationTime) 31 | { 32 | Disabled = disabled; 33 | ExpirationTime = expirationTime; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectAuthenticationMagicLinkEmailService.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectAuthenticationMagicLinkEmailService 16 | { 17 | /// 18 | /// The name of the email connector to use for sending emails. 19 | /// 20 | public readonly string Connector; 21 | /// 22 | /// A list of email templates for different authentication flows. 23 | /// 24 | public readonly ImmutableArray Templates; 25 | 26 | [OutputConstructor] 27 | private ProjectAuthenticationMagicLinkEmailService( 28 | string connector, 29 | 30 | ImmutableArray templates) 31 | { 32 | Connector = connector; 33 | Templates = templates; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectAuthenticationPasskeys.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectAuthenticationPasskeys 16 | { 17 | /// 18 | /// Setting this to `True` will disallow using this authentication method directly via API and SDK calls. Note that this does not affect authentication flows that are configured to use this authentication method. 19 | /// 20 | public readonly bool? Disabled; 21 | /// 22 | /// Passkeys will be usable in the following domain and all its subdomains. 23 | /// 24 | public readonly string? TopLevelDomain; 25 | 26 | [OutputConstructor] 27 | private ProjectAuthenticationPasskeys( 28 | bool? disabled, 29 | 30 | string? topLevelDomain) 31 | { 32 | Disabled = disabled; 33 | TopLevelDomain = topLevelDomain; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /sdk/java/src/main/java/com/descope/pulumi/descope/outputs/ProjectAuthenticationOauthCustomProviderTokenManagement.java: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-java. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | package com.descope.pulumi.descope.outputs; 5 | 6 | import com.pulumi.core.annotations.CustomType; 7 | import java.util.Objects; 8 | 9 | @CustomType 10 | public final class ProjectAuthenticationOauthCustomProviderTokenManagement { 11 | private ProjectAuthenticationOauthCustomProviderTokenManagement() {} 12 | 13 | public static Builder builder() { 14 | return new Builder(); 15 | } 16 | 17 | public static Builder builder(ProjectAuthenticationOauthCustomProviderTokenManagement defaults) { 18 | return new Builder(defaults); 19 | } 20 | @CustomType.Builder 21 | public static final class Builder { 22 | public Builder() {} 23 | public Builder(ProjectAuthenticationOauthCustomProviderTokenManagement defaults) { 24 | Objects.requireNonNull(defaults); 25 | } 26 | 27 | public ProjectAuthenticationOauthCustomProviderTokenManagement build() { 28 | final var _resultValue = new ProjectAuthenticationOauthCustomProviderTokenManagement(); 29 | return _resultValue; 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectAuthenticationMagicLinkTextService.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectAuthenticationMagicLinkTextService 16 | { 17 | /// 18 | /// The name of the SMS/text connector to use for sending text messages. 19 | /// 20 | public readonly string Connector; 21 | /// 22 | /// A list of text message templates for different authentication flows. 23 | /// 24 | public readonly ImmutableArray Templates; 25 | 26 | [OutputConstructor] 27 | private ProjectAuthenticationMagicLinkTextService( 28 | string connector, 29 | 30 | ImmutableArray templates) 31 | { 32 | Connector = connector; 33 | Templates = templates; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectJwtTemplates.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectJwtTemplates 16 | { 17 | /// 18 | /// A list of `Access Key` type JWT Templates. 19 | /// 20 | public readonly ImmutableArray AccessKeyTemplates; 21 | /// 22 | /// A list of `User` type JWT Templates. 23 | /// 24 | public readonly ImmutableArray UserTemplates; 25 | 26 | [OutputConstructor] 27 | private ProjectJwtTemplates( 28 | ImmutableArray accessKeyTemplates, 29 | 30 | ImmutableArray userTemplates) 31 | { 32 | AccessKeyTemplates = accessKeyTemplates; 33 | UserTemplates = userTemplates; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectConnectorsSendgridAuthenticationGetArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectConnectorsSendgridAuthenticationGetArgs : global::Pulumi.ResourceArgs 15 | { 16 | [Input("apiKey", required: true)] 17 | private Input? _apiKey; 18 | 19 | /// 20 | /// SendGrid API key for authentication. 21 | /// 22 | public Input? ApiKey 23 | { 24 | get => _apiKey; 25 | set 26 | { 27 | var emptySecret = Output.CreateSecret(0); 28 | _apiKey = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); 29 | } 30 | } 31 | 32 | public ProjectConnectorsSendgridAuthenticationGetArgs() 33 | { 34 | } 35 | public static new ProjectConnectorsSendgridAuthenticationGetArgs Empty => new ProjectConnectorsSendgridAuthenticationGetArgs(); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectAuthenticationTotpArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectAuthenticationTotpArgs : global::Pulumi.ResourceArgs 15 | { 16 | /// 17 | /// Setting this to `True` will disallow using this authentication method directly via API and SDK calls. Note that this does not affect authentication flows that are configured to use this authentication method. 18 | /// 19 | [Input("disabled")] 20 | public Input? Disabled { get; set; } 21 | 22 | /// 23 | /// The template for the service issuer label (issuer) shown in the authenticator app. 24 | /// 25 | [Input("serviceLabel")] 26 | public Input? ServiceLabel { get; set; } 27 | 28 | public ProjectAuthenticationTotpArgs() 29 | { 30 | } 31 | public static new ProjectAuthenticationTotpArgs Empty => new ProjectAuthenticationTotpArgs(); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectAuthenticationEnchantedLinkEmailService.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectAuthenticationEnchantedLinkEmailService 16 | { 17 | /// 18 | /// The name of the email connector to use for sending emails. 19 | /// 20 | public readonly string Connector; 21 | /// 22 | /// A list of email templates for different authentication flows. 23 | /// 24 | public readonly ImmutableArray Templates; 25 | 26 | [OutputConstructor] 27 | private ProjectAuthenticationEnchantedLinkEmailService( 28 | string connector, 29 | 30 | ImmutableArray templates) 31 | { 32 | Connector = connector; 33 | Templates = templates; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectAuthenticationPasskeysArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectAuthenticationPasskeysArgs : global::Pulumi.ResourceArgs 15 | { 16 | /// 17 | /// Setting this to `True` will disallow using this authentication method directly via API and SDK calls. Note that this does not affect authentication flows that are configured to use this authentication method. 18 | /// 19 | [Input("disabled")] 20 | public Input? Disabled { get; set; } 21 | 22 | /// 23 | /// Passkeys will be usable in the following domain and all its subdomains. 24 | /// 25 | [Input("topLevelDomain")] 26 | public Input? TopLevelDomain { get; set; } 27 | 28 | public ProjectAuthenticationPasskeysArgs() 29 | { 30 | } 31 | public static new ProjectAuthenticationPasskeysArgs Empty => new ProjectAuthenticationPasskeysArgs(); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectAuthenticationTotpGetArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectAuthenticationTotpGetArgs : global::Pulumi.ResourceArgs 15 | { 16 | /// 17 | /// Setting this to `True` will disallow using this authentication method directly via API and SDK calls. Note that this does not affect authentication flows that are configured to use this authentication method. 18 | /// 19 | [Input("disabled")] 20 | public Input? Disabled { get; set; } 21 | 22 | /// 23 | /// The template for the service issuer label (issuer) shown in the authenticator app. 24 | /// 25 | [Input("serviceLabel")] 26 | public Input? ServiceLabel { get; set; } 27 | 28 | public ProjectAuthenticationTotpGetArgs() 29 | { 30 | } 31 | public static new ProjectAuthenticationTotpGetArgs Empty => new ProjectAuthenticationTotpGetArgs(); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectConnectorsSmtpAuthentication.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectConnectorsSmtpAuthentication 16 | { 17 | /// 18 | /// SMTP authentication method (`Plain` or `Login`). 19 | /// 20 | public readonly string? Method; 21 | /// 22 | /// Password for SMTP server authentication. 23 | /// 24 | public readonly string Password; 25 | /// 26 | /// Username for SMTP server authentication. 27 | /// 28 | public readonly string Username; 29 | 30 | [OutputConstructor] 31 | private ProjectConnectorsSmtpAuthentication( 32 | string? method, 33 | 34 | string password, 35 | 36 | string username) 37 | { 38 | Method = method; 39 | Password = password; 40 | Username = username; 41 | } 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectAuthenticationEmbeddedLinkArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectAuthenticationEmbeddedLinkArgs : global::Pulumi.ResourceArgs 15 | { 16 | /// 17 | /// Setting this to `True` will disallow using this authentication method directly via API and SDK calls. Note that this does not affect authentication flows that are configured to use this authentication method. 18 | /// 19 | [Input("disabled")] 20 | public Input? Disabled { get; set; } 21 | 22 | /// 23 | /// How long the embedded link remains valid before it expires. 24 | /// 25 | [Input("expirationTime")] 26 | public Input? ExpirationTime { get; set; } 27 | 28 | public ProjectAuthenticationEmbeddedLinkArgs() 29 | { 30 | } 31 | public static new ProjectAuthenticationEmbeddedLinkArgs Empty => new ProjectAuthenticationEmbeddedLinkArgs(); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /sdk/java/src/main/java/com/descope/pulumi/descope/outputs/ProjectAuthenticationOauthSystemAppleProviderTokenManagement.java: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-java. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | package com.descope.pulumi.descope.outputs; 5 | 6 | import com.pulumi.core.annotations.CustomType; 7 | import java.util.Objects; 8 | 9 | @CustomType 10 | public final class ProjectAuthenticationOauthSystemAppleProviderTokenManagement { 11 | private ProjectAuthenticationOauthSystemAppleProviderTokenManagement() {} 12 | 13 | public static Builder builder() { 14 | return new Builder(); 15 | } 16 | 17 | public static Builder builder(ProjectAuthenticationOauthSystemAppleProviderTokenManagement defaults) { 18 | return new Builder(defaults); 19 | } 20 | @CustomType.Builder 21 | public static final class Builder { 22 | public Builder() {} 23 | public Builder(ProjectAuthenticationOauthSystemAppleProviderTokenManagement defaults) { 24 | Objects.requireNonNull(defaults); 25 | } 26 | 27 | public ProjectAuthenticationOauthSystemAppleProviderTokenManagement build() { 28 | final var _resultValue = new ProjectAuthenticationOauthSystemAppleProviderTokenManagement(); 29 | return _resultValue; 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /sdk/java/src/main/java/com/descope/pulumi/descope/outputs/ProjectAuthenticationOauthSystemSlackProviderTokenManagement.java: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-java. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | package com.descope.pulumi.descope.outputs; 5 | 6 | import com.pulumi.core.annotations.CustomType; 7 | import java.util.Objects; 8 | 9 | @CustomType 10 | public final class ProjectAuthenticationOauthSystemSlackProviderTokenManagement { 11 | private ProjectAuthenticationOauthSystemSlackProviderTokenManagement() {} 12 | 13 | public static Builder builder() { 14 | return new Builder(); 15 | } 16 | 17 | public static Builder builder(ProjectAuthenticationOauthSystemSlackProviderTokenManagement defaults) { 18 | return new Builder(defaults); 19 | } 20 | @CustomType.Builder 21 | public static final class Builder { 22 | public Builder() {} 23 | public Builder(ProjectAuthenticationOauthSystemSlackProviderTokenManagement defaults) { 24 | Objects.requireNonNull(defaults); 25 | } 26 | 27 | public ProjectAuthenticationOauthSystemSlackProviderTokenManagement build() { 28 | final var _resultValue = new ProjectAuthenticationOauthSystemSlackProviderTokenManagement(); 29 | return _resultValue; 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectApplications.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectApplications 16 | { 17 | /// 18 | /// Applications using OpenID Connect (OIDC) for authentication. 19 | /// 20 | public readonly ImmutableArray OidcApplications; 21 | /// 22 | /// Applications using SAML for authentication. 23 | /// 24 | public readonly ImmutableArray SamlApplications; 25 | 26 | [OutputConstructor] 27 | private ProjectApplications( 28 | ImmutableArray oidcApplications, 29 | 30 | ImmutableArray samlApplications) 31 | { 32 | OidcApplications = oidcApplications; 33 | SamlApplications = samlApplications; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectAttributesUserWidgetAuthorization.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectAttributesUserWidgetAuthorization 16 | { 17 | /// 18 | /// The permissions users are required to have to edit this attribute in the user management widget. 19 | /// 20 | public readonly ImmutableArray EditPermissions; 21 | /// 22 | /// The permissions users are required to have to view this attribute in the user management widget. 23 | /// 24 | public readonly ImmutableArray ViewPermissions; 25 | 26 | [OutputConstructor] 27 | private ProjectAttributesUserWidgetAuthorization( 28 | ImmutableArray editPermissions, 29 | 30 | ImmutableArray viewPermissions) 31 | { 32 | EditPermissions = editPermissions; 33 | ViewPermissions = viewPermissions; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /sdk/java/src/main/java/com/descope/pulumi/descope/outputs/ProjectAuthenticationOauthSystemGithubProviderTokenManagement.java: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-java. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | package com.descope.pulumi.descope.outputs; 5 | 6 | import com.pulumi.core.annotations.CustomType; 7 | import java.util.Objects; 8 | 9 | @CustomType 10 | public final class ProjectAuthenticationOauthSystemGithubProviderTokenManagement { 11 | private ProjectAuthenticationOauthSystemGithubProviderTokenManagement() {} 12 | 13 | public static Builder builder() { 14 | return new Builder(); 15 | } 16 | 17 | public static Builder builder(ProjectAuthenticationOauthSystemGithubProviderTokenManagement defaults) { 18 | return new Builder(defaults); 19 | } 20 | @CustomType.Builder 21 | public static final class Builder { 22 | public Builder() {} 23 | public Builder(ProjectAuthenticationOauthSystemGithubProviderTokenManagement defaults) { 24 | Objects.requireNonNull(defaults); 25 | } 26 | 27 | public ProjectAuthenticationOauthSystemGithubProviderTokenManagement build() { 28 | final var _resultValue = new ProjectAuthenticationOauthSystemGithubProviderTokenManagement(); 29 | return _resultValue; 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /sdk/java/src/main/java/com/descope/pulumi/descope/outputs/ProjectAuthenticationOauthSystemGitlabProviderTokenManagement.java: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-java. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | package com.descope.pulumi.descope.outputs; 5 | 6 | import com.pulumi.core.annotations.CustomType; 7 | import java.util.Objects; 8 | 9 | @CustomType 10 | public final class ProjectAuthenticationOauthSystemGitlabProviderTokenManagement { 11 | private ProjectAuthenticationOauthSystemGitlabProviderTokenManagement() {} 12 | 13 | public static Builder builder() { 14 | return new Builder(); 15 | } 16 | 17 | public static Builder builder(ProjectAuthenticationOauthSystemGitlabProviderTokenManagement defaults) { 18 | return new Builder(defaults); 19 | } 20 | @CustomType.Builder 21 | public static final class Builder { 22 | public Builder() {} 23 | public Builder(ProjectAuthenticationOauthSystemGitlabProviderTokenManagement defaults) { 24 | Objects.requireNonNull(defaults); 25 | } 26 | 27 | public ProjectAuthenticationOauthSystemGitlabProviderTokenManagement build() { 28 | final var _resultValue = new ProjectAuthenticationOauthSystemGitlabProviderTokenManagement(); 29 | return _resultValue; 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /sdk/java/src/main/java/com/descope/pulumi/descope/outputs/ProjectAuthenticationOauthSystemGoogleProviderTokenManagement.java: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-java. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | package com.descope.pulumi.descope.outputs; 5 | 6 | import com.pulumi.core.annotations.CustomType; 7 | import java.util.Objects; 8 | 9 | @CustomType 10 | public final class ProjectAuthenticationOauthSystemGoogleProviderTokenManagement { 11 | private ProjectAuthenticationOauthSystemGoogleProviderTokenManagement() {} 12 | 13 | public static Builder builder() { 14 | return new Builder(); 15 | } 16 | 17 | public static Builder builder(ProjectAuthenticationOauthSystemGoogleProviderTokenManagement defaults) { 18 | return new Builder(defaults); 19 | } 20 | @CustomType.Builder 21 | public static final class Builder { 22 | public Builder() {} 23 | public Builder(ProjectAuthenticationOauthSystemGoogleProviderTokenManagement defaults) { 24 | Objects.requireNonNull(defaults); 25 | } 26 | 27 | public ProjectAuthenticationOauthSystemGoogleProviderTokenManagement build() { 28 | final var _resultValue = new ProjectAuthenticationOauthSystemGoogleProviderTokenManagement(); 29 | return _resultValue; 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectAuthenticationPasskeysGetArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectAuthenticationPasskeysGetArgs : global::Pulumi.ResourceArgs 15 | { 16 | /// 17 | /// Setting this to `True` will disallow using this authentication method directly via API and SDK calls. Note that this does not affect authentication flows that are configured to use this authentication method. 18 | /// 19 | [Input("disabled")] 20 | public Input? Disabled { get; set; } 21 | 22 | /// 23 | /// Passkeys will be usable in the following domain and all its subdomains. 24 | /// 25 | [Input("topLevelDomain")] 26 | public Input? TopLevelDomain { get; set; } 27 | 28 | public ProjectAuthenticationPasskeysGetArgs() 29 | { 30 | } 31 | public static new ProjectAuthenticationPasskeysGetArgs Empty => new ProjectAuthenticationPasskeysGetArgs(); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Inputs/ProjectAuthenticationEmbeddedLinkGetArgs.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Inputs 12 | { 13 | 14 | public sealed class ProjectAuthenticationEmbeddedLinkGetArgs : global::Pulumi.ResourceArgs 15 | { 16 | /// 17 | /// Setting this to `True` will disallow using this authentication method directly via API and SDK calls. Note that this does not affect authentication flows that are configured to use this authentication method. 18 | /// 19 | [Input("disabled")] 20 | public Input? Disabled { get; set; } 21 | 22 | /// 23 | /// How long the embedded link remains valid before it expires. 24 | /// 25 | [Input("expirationTime")] 26 | public Input? ExpirationTime { get; set; } 27 | 28 | public ProjectAuthenticationEmbeddedLinkGetArgs() 29 | { 30 | } 31 | public static new ProjectAuthenticationEmbeddedLinkGetArgs Empty => new ProjectAuthenticationEmbeddedLinkGetArgs(); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /sdk/java/src/main/java/com/descope/pulumi/descope/outputs/ProjectAuthenticationOauthSystemDiscordProviderTokenManagement.java: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-java. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | package com.descope.pulumi.descope.outputs; 5 | 6 | import com.pulumi.core.annotations.CustomType; 7 | import java.util.Objects; 8 | 9 | @CustomType 10 | public final class ProjectAuthenticationOauthSystemDiscordProviderTokenManagement { 11 | private ProjectAuthenticationOauthSystemDiscordProviderTokenManagement() {} 12 | 13 | public static Builder builder() { 14 | return new Builder(); 15 | } 16 | 17 | public static Builder builder(ProjectAuthenticationOauthSystemDiscordProviderTokenManagement defaults) { 18 | return new Builder(defaults); 19 | } 20 | @CustomType.Builder 21 | public static final class Builder { 22 | public Builder() {} 23 | public Builder(ProjectAuthenticationOauthSystemDiscordProviderTokenManagement defaults) { 24 | Objects.requireNonNull(defaults); 25 | } 26 | 27 | public ProjectAuthenticationOauthSystemDiscordProviderTokenManagement build() { 28 | final var _resultValue = new ProjectAuthenticationOauthSystemDiscordProviderTokenManagement(); 29 | return _resultValue; 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /sdk/java/src/main/java/com/descope/pulumi/descope/outputs/ProjectAuthenticationOauthSystemFacebookProviderTokenManagement.java: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-java. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | package com.descope.pulumi.descope.outputs; 5 | 6 | import com.pulumi.core.annotations.CustomType; 7 | import java.util.Objects; 8 | 9 | @CustomType 10 | public final class ProjectAuthenticationOauthSystemFacebookProviderTokenManagement { 11 | private ProjectAuthenticationOauthSystemFacebookProviderTokenManagement() {} 12 | 13 | public static Builder builder() { 14 | return new Builder(); 15 | } 16 | 17 | public static Builder builder(ProjectAuthenticationOauthSystemFacebookProviderTokenManagement defaults) { 18 | return new Builder(defaults); 19 | } 20 | @CustomType.Builder 21 | public static final class Builder { 22 | public Builder() {} 23 | public Builder(ProjectAuthenticationOauthSystemFacebookProviderTokenManagement defaults) { 24 | Objects.requireNonNull(defaults); 25 | } 26 | 27 | public ProjectAuthenticationOauthSystemFacebookProviderTokenManagement build() { 28 | final var _resultValue = new ProjectAuthenticationOauthSystemFacebookProviderTokenManagement(); 29 | return _resultValue; 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /sdk/java/src/main/java/com/descope/pulumi/descope/outputs/ProjectAuthenticationOauthSystemLinkedinProviderTokenManagement.java: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-java. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | package com.descope.pulumi.descope.outputs; 5 | 6 | import com.pulumi.core.annotations.CustomType; 7 | import java.util.Objects; 8 | 9 | @CustomType 10 | public final class ProjectAuthenticationOauthSystemLinkedinProviderTokenManagement { 11 | private ProjectAuthenticationOauthSystemLinkedinProviderTokenManagement() {} 12 | 13 | public static Builder builder() { 14 | return new Builder(); 15 | } 16 | 17 | public static Builder builder(ProjectAuthenticationOauthSystemLinkedinProviderTokenManagement defaults) { 18 | return new Builder(defaults); 19 | } 20 | @CustomType.Builder 21 | public static final class Builder { 22 | public Builder() {} 23 | public Builder(ProjectAuthenticationOauthSystemLinkedinProviderTokenManagement defaults) { 24 | Objects.requireNonNull(defaults); 25 | } 26 | 27 | public ProjectAuthenticationOauthSystemLinkedinProviderTokenManagement build() { 28 | final var _resultValue = new ProjectAuthenticationOauthSystemLinkedinProviderTokenManagement(); 29 | return _resultValue; 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /sdk/java/src/main/java/com/descope/pulumi/descope/outputs/ProjectAuthenticationOauthSystemMicrosoftProviderTokenManagement.java: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-java. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | package com.descope.pulumi.descope.outputs; 5 | 6 | import com.pulumi.core.annotations.CustomType; 7 | import java.util.Objects; 8 | 9 | @CustomType 10 | public final class ProjectAuthenticationOauthSystemMicrosoftProviderTokenManagement { 11 | private ProjectAuthenticationOauthSystemMicrosoftProviderTokenManagement() {} 12 | 13 | public static Builder builder() { 14 | return new Builder(); 15 | } 16 | 17 | public static Builder builder(ProjectAuthenticationOauthSystemMicrosoftProviderTokenManagement defaults) { 18 | return new Builder(defaults); 19 | } 20 | @CustomType.Builder 21 | public static final class Builder { 22 | public Builder() {} 23 | public Builder(ProjectAuthenticationOauthSystemMicrosoftProviderTokenManagement defaults) { 24 | Objects.requireNonNull(defaults); 25 | } 26 | 27 | public ProjectAuthenticationOauthSystemMicrosoftProviderTokenManagement build() { 28 | final var _resultValue = new ProjectAuthenticationOauthSystemMicrosoftProviderTokenManagement(); 29 | return _resultValue; 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectApplicationsSamlApplicationManualConfiguration.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectApplicationsSamlApplicationManualConfiguration 16 | { 17 | /// 18 | /// Enter the `ACS URL` from the SP. 19 | /// 20 | public readonly string AcsUrl; 21 | /// 22 | /// Enter the `Certificate` from the SP. 23 | /// 24 | public readonly string? Certificate; 25 | /// 26 | /// Enter the `Entity Id` from the SP. 27 | /// 28 | public readonly string EntityId; 29 | 30 | [OutputConstructor] 31 | private ProjectApplicationsSamlApplicationManualConfiguration( 32 | string acsUrl, 33 | 34 | string? certificate, 35 | 36 | string entityId) 37 | { 38 | AcsUrl = acsUrl; 39 | Certificate = certificate; 40 | EntityId = entityId; 41 | } 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectConnectorsAwsS3AuditFilter.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectConnectorsAwsS3AuditFilter 16 | { 17 | /// 18 | /// The field name to filter on (either 'actions' or 'tenants'). 19 | /// 20 | public readonly string Key; 21 | /// 22 | /// The filter operation to apply ('includes' or 'excludes'). 23 | /// 24 | public readonly string Operator; 25 | /// 26 | /// The list of values to match against for the filter. 27 | /// 28 | public readonly ImmutableArray Values; 29 | 30 | [OutputConstructor] 31 | private ProjectConnectorsAwsS3AuditFilter( 32 | string key, 33 | 34 | string @operator, 35 | 36 | ImmutableArray values) 37 | { 38 | Key = key; 39 | Operator = @operator; 40 | Values = values; 41 | } 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Descope Resource Provider 2 | 3 | The Descope Resource Provider lets you manage [Descope](https://www.descope.com) resources. 4 | 5 | ## Installing 6 | 7 | This package is available for several languages/platforms: 8 | 9 | ### Node.js (JavaScript/TypeScript) 10 | 11 | To use from JavaScript or TypeScript in Node.js, install using either `npm`: 12 | 13 | ```bash 14 | npm install @descope/pulumi-descope 15 | ``` 16 | 17 | or `yarn`: 18 | 19 | ```bash 20 | yarn add @descope/pulumi-descope 21 | ``` 22 | 23 | ### Python 24 | 25 | To use from Python, install using `pip`: 26 | 27 | ```bash 28 | pip install descope_pulumi 29 | ``` 30 | 31 | ### Go 32 | 33 | To use from Go, use `go get` to grab the latest version of the library: 34 | 35 | ```bash 36 | go get github.com/descope/pulumi-descope/sdk/go/... 37 | ``` 38 | 39 | ### .NET 40 | 41 | To use from .NET, install using `dotnet add package`: 42 | 43 | ```bash 44 | dotnet add package Descope.Pulumi.Descope 45 | ``` 46 | 47 | ## Configuration 48 | 49 | The following configuration points are available for the `descope` provider: 50 | 51 | - `descope:projectId` (environment: `DESCOPE_PROJECT_ID`) - Descope Project ID 52 | - `descope:managementKey` (environment: `DESCOPE_MANAGEMENT_KEY`) - Descope Management Key 53 | 54 | ## Reference 55 | 56 | For detailed reference documentation, please visit [the Pulumi registry](https://www.pulumi.com/registry/packages/descope/api-docs/). 57 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectConnectorsDatadogAuditFilter.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectConnectorsDatadogAuditFilter 16 | { 17 | /// 18 | /// The field name to filter on (either 'actions' or 'tenants'). 19 | /// 20 | public readonly string Key; 21 | /// 22 | /// The filter operation to apply ('includes' or 'excludes'). 23 | /// 24 | public readonly string Operator; 25 | /// 26 | /// The list of values to match against for the filter. 27 | /// 28 | public readonly ImmutableArray Values; 29 | 30 | [OutputConstructor] 31 | private ProjectConnectorsDatadogAuditFilter( 32 | string key, 33 | 34 | string @operator, 35 | 36 | ImmutableArray values) 37 | { 38 | Key = key; 39 | Operator = @operator; 40 | Values = values; 41 | } 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectConnectorsAbuseipdb.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectConnectorsAbuseipdb 16 | { 17 | /// 18 | /// The unique AbuseIPDB API key. 19 | /// 20 | public readonly string ApiKey; 21 | /// 22 | /// A description of what your connector is used for. 23 | /// 24 | public readonly string? Description; 25 | public readonly string? Id; 26 | /// 27 | /// A custom name for your connector. 28 | /// 29 | public readonly string Name; 30 | 31 | [OutputConstructor] 32 | private ProjectConnectorsAbuseipdb( 33 | string apiKey, 34 | 35 | string? description, 36 | 37 | string? id, 38 | 39 | string name) 40 | { 41 | ApiKey = apiKey; 42 | Description = description; 43 | Id = id; 44 | Name = name; 45 | } 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectConnectorsNewrelicAuditFilter.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectConnectorsNewrelicAuditFilter 16 | { 17 | /// 18 | /// The field name to filter on (either 'actions' or 'tenants'). 19 | /// 20 | public readonly string Key; 21 | /// 22 | /// The filter operation to apply ('includes' or 'excludes'). 23 | /// 24 | public readonly string Operator; 25 | /// 26 | /// The list of values to match against for the filter. 27 | /// 28 | public readonly ImmutableArray Values; 29 | 30 | [OutputConstructor] 31 | private ProjectConnectorsNewrelicAuditFilter( 32 | string key, 33 | 34 | string @operator, 35 | 36 | ImmutableArray values) 37 | { 38 | Key = key; 39 | Operator = @operator; 40 | Values = values; 41 | } 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectConnectorsTwilioCoreAuthentication.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectConnectorsTwilioCoreAuthentication 16 | { 17 | /// 18 | /// Twilio API Key for authentication (used with API Secret). 19 | /// 20 | public readonly string? ApiKey; 21 | /// 22 | /// Twilio API Secret for authentication (used with API Key). 23 | /// 24 | public readonly string? ApiSecret; 25 | /// 26 | /// Twilio Auth Token for authentication. 27 | /// 28 | public readonly string? AuthToken; 29 | 30 | [OutputConstructor] 31 | private ProjectConnectorsTwilioCoreAuthentication( 32 | string? apiKey, 33 | 34 | string? apiSecret, 35 | 36 | string? authToken) 37 | { 38 | ApiKey = apiKey; 39 | ApiSecret = apiSecret; 40 | AuthToken = authToken; 41 | } 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectAuthenticationOauthCustomAppleKeyGenerator.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectAuthenticationOauthCustomAppleKeyGenerator 16 | { 17 | /// 18 | /// The apple generator key id produced by Apple. 19 | /// 20 | public readonly string KeyId; 21 | /// 22 | /// The apple generator private key produced by Apple. 23 | /// 24 | public readonly string PrivateKey; 25 | /// 26 | /// The apple generator team id assigned to the key by Apple. 27 | /// 28 | public readonly string TeamId; 29 | 30 | [OutputConstructor] 31 | private ProjectAuthenticationOauthCustomAppleKeyGenerator( 32 | string keyId, 33 | 34 | string privateKey, 35 | 36 | string teamId) 37 | { 38 | KeyId = keyId; 39 | PrivateKey = privateKey; 40 | TeamId = teamId; 41 | } 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectConnectorsElephant.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectConnectorsElephant 16 | { 17 | /// 18 | /// The Elephant access key. 19 | /// 20 | public readonly string AccessKey; 21 | /// 22 | /// A description of what your connector is used for. 23 | /// 24 | public readonly string? Description; 25 | public readonly string? Id; 26 | /// 27 | /// A custom name for your connector. 28 | /// 29 | public readonly string Name; 30 | 31 | [OutputConstructor] 32 | private ProjectConnectorsElephant( 33 | string accessKey, 34 | 35 | string? description, 36 | 37 | string? id, 38 | 39 | string name) 40 | { 41 | AccessKey = accessKey; 42 | Description = description; 43 | Id = id; 44 | Name = name; 45 | } 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /sdk/dotnet/Descope/Outputs/ProjectConnectorsSumologicAuditFilter.cs: -------------------------------------------------------------------------------- 1 | // *** WARNING: this file was generated by pulumi-language-dotnet. *** 2 | // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 | 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.Immutable; 7 | using System.Threading.Tasks; 8 | using Pulumi.Serialization; 9 | using Pulumi; 10 | 11 | namespace Descope.Pulumi.Descope.Outputs 12 | { 13 | 14 | [OutputType] 15 | public sealed class ProjectConnectorsSumologicAuditFilter 16 | { 17 | /// 18 | /// The field name to filter on (either 'actions' or 'tenants'). 19 | /// 20 | public readonly string Key; 21 | /// 22 | /// The filter operation to apply ('includes' or 'excludes'). 23 | /// 24 | public readonly string Operator; 25 | /// 26 | /// The list of values to match against for the filter. 27 | /// 28 | public readonly ImmutableArray Values; 29 | 30 | [OutputConstructor] 31 | private ProjectConnectorsSumologicAuditFilter( 32 | string key, 33 | 34 | string @operator, 35 | 36 | ImmutableArray values) 37 | { 38 | Key = key; 39 | Operator = @operator; 40 | Values = values; 41 | } 42 | } 43 | } 44 | --------------------------------------------------------------------------------