diff --git a/.fern/replay.lock b/.fern/replay.lock
new file mode 100644
index 00000000..6b7406bd
--- /dev/null
+++ b/.fern/replay.lock
@@ -0,0 +1,82 @@
+# DO NOT EDIT MANUALLY - Managed by Fern Replay
+version: "1.0"
+generations:
+ - commit_sha: 2b1bf29d9d52526f3bf1c900c8d13afd4aa2b0cf
+ tree_hash: 9d65f79bc31c61e5e09d4673631c33efc6500175
+ timestamp: 2026-05-12T04:52:50.433Z
+ cli_version: unknown
+ generator_versions: {}
+ - commit_sha: ae4f5b4b9ca18d966278c4113e89b85e607973cc
+ tree_hash: 334f54e3127b6fd33e59e6e6b7a41d87f4e12661
+ timestamp: 2026-07-09T05:44:02.868Z
+ cli_version: unknown
+ generator_versions:
+ fernapi/fern-java-sdk: 4.6.3
+ - commit_sha: 653c66ddba4f88ad24d1bab64c0d820b57ec9c0d
+ tree_hash: b714995659cff9c91bdf1eaa8990f7dadbdbe52d
+ timestamp: 2026-07-14T16:05:49.064Z
+ cli_version: unknown
+ generator_versions:
+ fernapi/fern-java-sdk: 4.11.1
+ - commit_sha: 6123049f4ae684b09b5bfb8da5ed607adc6f871d
+ tree_hash: 4d63c7b38b38d404803cfd5d9859d9711e9c03fa
+ timestamp: 2026-07-21T07:15:47.465Z
+ cli_version: unknown
+ generator_versions:
+ fernapi/fern-java-sdk: 4.11.1
+ - commit_sha: 97f94ce5dd517846f1fd30ae84791654a7da96bd
+ tree_hash: 85ae2235f756976f1a0eee80d27fcf579579bdfc
+ timestamp: 2026-08-04T06:33:07.487Z
+ cli_version: unknown
+ generator_versions:
+ fernapi/fern-java-sdk: 4.11.1
+ - commit_sha: 91cdb7769f3d5d9facbd490ac199b4e030630b00
+ tree_hash: e647d7fd4e3415ca818cdb93f8bf2df3f91ba3e0
+ timestamp: 2026-08-18T10:50:01.135Z
+ cli_version: unknown
+ generator_versions:
+ fernapi/fern-java-sdk: 4.11.1
+ - commit_sha: 6981a2ead10a6b0f4d15c2b21942acdb6de4a930
+ tree_hash: 9051bc49b73ae30d9d0d3bcd3655848a16e60442
+ timestamp: 2026-09-02T09:23:31.722Z
+ cli_version: unknown
+ generator_versions:
+ fernapi/fern-java-sdk: 4.11.1
+ - commit_sha: b97372b9f40b0341aa2ac580fa64488e2ad2aff2
+ tree_hash: 9904aaf894abb20b613cbd03d6e2fea95e28de1f
+ timestamp: 2026-09-11T02:55:27.155Z
+ cli_version: unknown
+ generator_versions:
+ fernapi/fern-java-sdk: 4.11.1
+ - commit_sha: 52b481b4c8ac54e43f7ad6639899321570ea73b3
+ tree_hash: abd8d0c430153dc3513b9c5fcb33ff1af8b5c573
+ timestamp: 2026-09-15T11:43:42.039Z
+ cli_version: unknown
+ generator_versions:
+ fernapi/fern-java-sdk: 4.11.1
+ - commit_sha: 72c6c335cb93c52314a459f895a03fa2a0730e87
+ tree_hash: e485efdbc833d45f6f6c69c79cbff62e8a99bfa4
+ timestamp: 2026-09-29T05:57:51.188Z
+ cli_version: unknown
+ generator_versions:
+ fernapi/fern-java-sdk: 4.11.1
+ - commit_sha: aea2edeb38693d237fd526174237509079d38899
+ tree_hash: 6f9dcd3a746086fe8195691a55f3e6a9bc3a8fd8
+ timestamp: 2026-10-27T05:56:52.912Z
+ cli_version: unknown
+ generator_versions:
+ fernapi/fern-java-sdk: 4.11.1
+ - commit_sha: eb0e87eec2d01cbd9dba8048da5a2d95d09c5806
+ tree_hash: 87289d68b4802c8950169e6defe403f52779352c
+ timestamp: 2026-11-04T04:00:02.404Z
+ cli_version: unknown
+ generator_versions:
+ fernapi/fern-java-sdk: 4.11.1
+ - commit_sha: c771d9f172f57e90591b182dd2c6153912570c46
+ tree_hash: b10804652a1ba45705da95fe802972b8186c967f
+ timestamp: 2026-11-20T04:41:07.109Z
+ cli_version: unknown
+ generator_versions:
+ fernapi/fern-java-sdk: 4.11.1
+current_generation: c771d9f172f57e90591b182dd2c6153912570c46
+patches: []
diff --git a/.fernignore b/.fernignore
new file mode 100644
index 00000000..7dd5e97c
--- /dev/null
+++ b/.fernignore
@@ -0,0 +1,99 @@
+# Specify files that shouldn't be modified by Fern
+
+# README should not be overwritten as it combines both SDKs
+README.md
+
+# AI agent guidelines (hand-maintained)
+CLAUDE.md
+AGENTS.md
+references/
+
+# Examples and Migration Guide from auth0-real
+EXAMPLES.md
+v4_MIGRATION_GUIDE.md
+v5_MIGRATION_GUIDE.md
+LICENSE
+CHANGELOG.md
+
+# Legacy management API from auth0-real
+src/main/java/com/auth0/client/legacy/
+
+# Authentication API (manually maintained from auth0-real)
+src/main/java/com/auth0/client/auth/
+src/test/java/com/auth0/client/auth/
+
+# Supporting packages from auth0-real
+src/main/java/com/auth0/net/
+src/main/java/com/auth0/exception/
+src/main/java/com/auth0/utils/
+src/main/java/com/auth0/json/auth/
+src/main/java/com/auth0/json/mgmt/
+src/main/java/com/auth0/json/ObjectMapperProvider.java
+
+# Client options from auth0-real
+src/main/java/com/auth0/client/ProxyOptions.java
+src/main/java/com/auth0/client/LoggingOptions.java
+
+# TokenProvider interface (shared between Fern-generated Management API and auth0-provided Authentication API)
+src/main/java/com/auth0/client/mgmt/TokenProvider.java
+
+# Shared test infrastructure for the Authentication API tests (manually maintained from auth0-real)
+src/test/java/com/auth0/client/MockServer.java
+src/test/java/com/auth0/client/RecordedRequestMatcher.java
+src/test/java/com/auth0/client/UrlMatcher.java
+src/test/java/com/auth0/AssertsUtil.java
+src/test/resources/auth/
+src/test/resources/mockito-extensions/
+src/test/java/com/auth0/client/legacy/
+
+# Custom client builder and examples
+src/main/java/com/auth0/client/Auth0ClientBuilder.java
+src/main/java/com/auth0/client/ClientCredentialsTokenProvider.java
+src/main/java/com/auth0/client/ManagementApiWithTokenProvider.java
+src/main/java/com/auth0/client/TokenProvider.java
+src/main/java/com/auth0/client/interceptors/
+src/main/java/com/auth0/client/mgmt/core/CustomDomainInterceptor.java
+ src/main/java/com/auth0/client/mgmt/CustomDomainHeader.java
+
+# Custom OAuth client credentials support
+src/main/java/com/auth0/client/mgmt/core/RequestOptions.java
+src/main/java/com/auth0/client/mgmt/core/ClientOptions.java
+src/main/java/com/auth0/client/mgmt/core/OAuthTokenSupplier.java
+src/main/java/com/auth0/client/mgmt/core/OAuthTokenException.java
+
+# Custom builder with domain-based initialization
+src/main/java/com/auth0/client/mgmt/ManagementApiBuilder.java
+
+# Custom tests
+src/test/java/com/auth0/client/mgmt/DynamicTokenManagementTest.java
+src/test/java/com/auth0/client/mgmt/OAuthTokenSupplierTest.java
+src/test/java/com/auth0/client/mgmt/ManagementApiBuilderTest.java
+src/test/java/com/auth0/client/mgmt/CustomDomainInterceptorTest.java
+src/test/java/com/auth0/client/mgmt/CustomDomainHeaderIntegrationTest.java
+src/test/java/com/auth0/net/client/DefaultHttpClientTest.java
+
+# Configuration files from auth0-real
+.codecov.yml
+.editorconfig
+.semgrepignore
+.shiprc
+.snyk
+.version
+opslevel.yml
+.fern/
+
+# GitHub workflows
+.github/
+
+# Build files and configs
+gradle/
+gradlew
+gradlew.bat
+gradle.properties
+settings.gradle
+build.gradle
+sample-app/
+
+.fern/replay.lock
+.fern/replay.yml
+.gitattributes
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 00000000..74928d6a
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1 @@
+.fern/replay.lock linguist-generated=true
diff --git a/.github/actions/maven-publish/action.yml b/.github/actions/maven-publish/action.yml
index b99ed108..5e519b4d 100644
--- a/.github/actions/maven-publish/action.yml
+++ b/.github/actions/maven-publish/action.yml
@@ -22,15 +22,17 @@ runs:
- name: Setup Java
shell: bash
+ env:
+ JAVA_VERSION: ${{ inputs.java-version }}
run: |
curl -s "https://get.sdkman.io" | bash
source "/home/runner/.sdkman/bin/sdkman-init.sh"
sdk list java
- sdk install java ${{ inputs.java-version }} && sdk default java ${{ inputs.java-version }}
+ sdk install java "$JAVA_VERSION" && sdk default java "$JAVA_VERSION"
export JAVA_HOME=${SDKMAN_DIR}/candidates/java/current
echo "JAVA_HOME is set to $JAVA_HOME"
- - uses: gradle/wrapper-validation-action@56b90f209b02bf6d1deae490e9ef18b21a389cd4 # pin@1.1.0
+ - uses: gradle/actions/wrapper-validation@v5
env:
JAVA_HOME: ${{ env.JAVA_HOME }}
diff --git a/.github/actions/rl-scanner/action.yml b/.github/actions/rl-scanner/action.yml
deleted file mode 100644
index 03c378a0..00000000
--- a/.github/actions/rl-scanner/action.yml
+++ /dev/null
@@ -1,71 +0,0 @@
-name: "Reversing Labs Scanner"
-description: "Runs the Reversing Labs scanner on a specified artifact."
-inputs:
- artifact-path:
- description: "Path to the artifact to be scanned."
- required: true
- version:
- description: "Version of the artifact."
- required: true
-
-runs:
- using: "composite"
- steps:
- - name: Set up Python
- uses: actions/setup-python@v4
- with:
- python-version: "3.10"
-
- - name: Install Python dependencies
- shell: bash
- run: |
- pip install boto3 requests
-
- - name: Configure AWS credentials
- uses: aws-actions/configure-aws-credentials@v1
- with:
- role-to-assume: ${{ env.PRODSEC_TOOLS_ARN }}
- aws-region: us-east-1
- mask-aws-account-id: true
-
- - name: Install RL Wrapper
- shell: bash
- run: |
- pip install rl-wrapper>=1.0.0 --index-url "https://${{ env.PRODSEC_TOOLS_USER }}:${{ env.PRODSEC_TOOLS_TOKEN }}@a0us.jfrog.io/artifactory/api/pypi/python-local/simple"
-
- - name: Run RL Scanner
- shell: bash
- env:
- RLSECURE_LICENSE: ${{ env.RLSECURE_LICENSE }}
- RLSECURE_SITE_KEY: ${{ env.RLSECURE_SITE_KEY }}
- SIGNAL_HANDLER_TOKEN: ${{ env.SIGNAL_HANDLER_TOKEN }}
- PYTHONUNBUFFERED: 1
- run: |
- if [ ! -f "${{ inputs.artifact-path }}" ]; then
- echo "Artifact not found: ${{ inputs.artifact-path }}"
- exit 1
- fi
-
- rl-wrapper \
- --artifact "${{ inputs.artifact-path }}" \
- --name "${{ github.event.repository.name }}" \
- --version "${{ inputs.version }}" \
- --repository "${{ github.repository }}" \
- --commit "${{ github.sha }}" \
- --build-env "github_actions" \
- --suppress_output
-
- # Check the outcome of the scanner
- if [ $? -ne 0 ]; then
- echo "RL Scanner failed."
- echo "scan-status=failed" >> $GITHUB_ENV
- exit 1
- else
- echo "RL Scanner passed."
- echo "scan-status=success" >> $GITHUB_ENV
- fi
-
-outputs:
- scan-status:
- description: "The outcome of the scan process."
- value: ${{ env.scan-status }}
diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml
index fece2c04..22dce437 100644
--- a/.github/workflows/build-and-test.yml
+++ b/.github/workflows/build-and-test.yml
@@ -4,28 +4,28 @@ on:
pull_request:
merge_group:
push:
- branches: ["master", "main", "v1"]
+ branches: ["master", "main", "v3"]
jobs:
gradle:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v6
- - uses: actions/setup-java@v5
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+ - uses: actions/setup-java@d1374f8ac74474200d16ef8ecee22c7ae7a51880 # v6.3.0
with:
distribution: temurin
java-version: 8
- name: Set up Gradle
- uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
+ uses: gradle/actions/setup-gradle@8da46b539cd8fe6ab27ca75128919a18d757604c # v6.4.1
- - name: Test and Assemble and ApiDiff with Gradle
- run: ./gradlew assemble apiDiff check jacocoTestReport --continue --console=plain
+ - name: Test and Assemble with Gradle
+ run: ./gradlew assemble check --continue --console=plain
- - uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
+ - uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
with:
flags: unittests
- - uses: actions/upload-artifact@v5
+ - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: Reports
path: build/reports
diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml
deleted file mode 100644
index 95ca681e..00000000
--- a/.github/workflows/claude-code-review.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-name: Claude Code PR Review
-
-on:
- issue_comment:
- types: [ created ]
- pull_request_review_comment:
- types: [ created ]
-
-jobs:
- claude-review:
- uses: auth0/auth0-ai-pr-analyzer-gh-action/.github/workflows/claude-code-review.yml@main
diff --git a/.github/workflows/gradle-wrapper-validation.yml b/.github/workflows/gradle-wrapper-validation.yml
index 096fd3df..aaca789d 100644
--- a/.github/workflows/gradle-wrapper-validation.yml
+++ b/.github/workflows/gradle-wrapper-validation.yml
@@ -6,5 +6,5 @@ jobs:
name: "validation/gradlew"
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v6
- - uses: gradle/actions/wrapper-validation@v5
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+ - uses: gradle/actions/wrapper-validation@8da46b539cd8fe6ab27ca75128919a18d757604c # v6.4.1
diff --git a/.github/workflows/java-release.yml b/.github/workflows/java-release.yml
index 89e7b9c0..befe3920 100644
--- a/.github/workflows/java-release.yml
+++ b/.github/workflows/java-release.yml
@@ -30,7 +30,7 @@ jobs:
steps:
# Checkout the code
- - uses: actions/checkout@v6
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 5bab2bc7..aa337ceb 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -24,9 +24,11 @@ jobs:
RLSECURE_LICENSE: ${{ secrets.RLSECURE_LICENSE }}
RLSECURE_SITE_KEY: ${{ secrets.RLSECURE_SITE_KEY }}
SIGNAL_HANDLER_TOKEN: ${{ secrets.SIGNAL_HANDLER_TOKEN }}
+ SIGNAL_HANDLER_DOMAIN: ${{ secrets.SIGNAL_HANDLER_DOMAIN }}
PRODSEC_TOOLS_USER: ${{ secrets.PRODSEC_TOOLS_USER }}
PRODSEC_TOOLS_TOKEN: ${{ secrets.PRODSEC_TOOLS_TOKEN }}
PRODSEC_TOOLS_ARN: ${{ secrets.PRODSEC_TOOLS_ARN }}
+ PRODSEC_PYTHON_TOOLS_REPO: ${{ secrets.PRODSEC_PYTHON_TOOLS_REPO }}
release:
uses: ./.github/workflows/java-release.yml
needs: rl-scanner
diff --git a/.github/workflows/rl-scanner.yml b/.github/workflows/rl-scanner.yml
index 1455774e..b8b004f4 100644
--- a/.github/workflows/rl-scanner.yml
+++ b/.github/workflows/rl-scanner.yml
@@ -16,55 +16,63 @@ on:
required: true
SIGNAL_HANDLER_TOKEN:
required: true
+ SIGNAL_HANDLER_DOMAIN:
+ required: true
PRODSEC_TOOLS_USER:
required: true
PRODSEC_TOOLS_TOKEN:
required: true
PRODSEC_TOOLS_ARN:
required: true
+ PRODSEC_PYTHON_TOOLS_REPO:
+ required: true
jobs:
checkout-build-scan-only:
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.merged && startsWith(github.event.pull_request.head.ref, 'release/'))
runs-on: ubuntu-latest
outputs:
- scan-status: ${{ steps.rl-scan-conclusion.outcome }}
+ scan-status: ${{ steps.rl-scan-conclusion.outputs.scan-status }}
steps:
- name: Checkout code
- uses: actions/checkout@v6
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set up Java
- uses: actions/setup-java@v5
+ uses: actions/setup-java@d1374f8ac74474200d16ef8ecee22c7ae7a51880 # v6.3.0
with:
distribution: temurin
java-version: ${{ inputs.java-version }}
- name: Set up Gradle
- uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
+ uses: gradle/actions/setup-gradle@8da46b539cd8fe6ab27ca75128919a18d757604c # v6.4.1
- - name: Test and Assemble and ApiDiff with Gradle
- run: ./gradlew assemble apiDiff check jacocoTestReport --continue --console=plain
+ - name: Test and Assemble with Gradle
+ run: ./gradlew assemble check --continue --console=plain
- id: get_version
uses: ./.github/actions/get-version
- name: Create tgz build artifact
+ env:
+ ARTIFACT_NAME: ${{ inputs.artifact-name }}
run: |
- tar -czvf ${{ inputs.artifact-name }} *
+ tar -czvf "$ARTIFACT_NAME" *
- name: Run RL Scanner
id: rl-scan-conclusion
- uses: ./.github/actions/rl-scanner
+ uses: auth0/devsecops-tooling/.github/actions/rl-scan@main
with:
- artifact-path: "$(pwd)/${{ inputs.artifact-name }}"
- version: "${{ steps.get_version.outputs.version }}"
- env:
+ artifact-name: ${{ github.event.repository.name }}
+ artifact-path: "${{ github.workspace }}/${{ inputs.artifact-name }}"
+ version: ${{ steps.get_version.outputs.version }}
RLSECURE_LICENSE: ${{ secrets.RLSECURE_LICENSE }}
RLSECURE_SITE_KEY: ${{ secrets.RLSECURE_SITE_KEY }}
SIGNAL_HANDLER_TOKEN: ${{ secrets.SIGNAL_HANDLER_TOKEN }}
+ SIGNAL_HANDLER_DOMAIN: ${{ secrets.SIGNAL_HANDLER_DOMAIN }}
+ PRODSEC_TOOLS_ARN: ${{ secrets.PRODSEC_TOOLS_ARN }}
PRODSEC_TOOLS_USER: ${{ secrets.PRODSEC_TOOLS_USER }}
PRODSEC_TOOLS_TOKEN: ${{ secrets.PRODSEC_TOOLS_TOKEN }}
- PRODSEC_TOOLS_ARN: ${{ secrets.PRODSEC_TOOLS_ARN }}
+ PRODSEC_PYTHON_TOOLS_REPO: ${{ secrets.PRODSEC_PYTHON_TOOLS_REPO }}
- name: Output scan result
- run: echo "scan-status=${{ steps.rl-scan-conclusion.outcome }}" >> $GITHUB_ENV
+ run: echo "scan-status=${{ steps.rl-scan-conclusion.outputs.scan-status }}" >> $GITHUB_ENV
diff --git a/.github/workflows/sca_scan.yml b/.github/workflows/sca_scan.yml
new file mode 100644
index 00000000..86239c07
--- /dev/null
+++ b/.github/workflows/sca_scan.yml
@@ -0,0 +1,15 @@
+name: SCA
+
+on:
+ push:
+ branches: ["master"]
+ pull_request:
+ branches: ["master"]
+
+jobs:
+ snyk-cli:
+ uses: auth0/devsecops-tooling/.github/workflows/sca-scan.yml@main
+ with:
+ additional-arguments: "--exclude=README.md"
+ java-version: "8"
+ secrets: inherit
diff --git a/.github/workflows/snyk.yml b/.github/workflows/snyk.yml
index 90a7c521..3da31d1a 100644
--- a/.github/workflows/snyk.yml
+++ b/.github/workflows/snyk.yml
@@ -30,7 +30,7 @@ jobs:
- if: github.actor == 'dependabot[bot]' || github.event_name == 'merge_group'
run: exit 0 # Skip unnecessary test runs for dependabot and merge queues. Artifically flag as successful, as this is a required check for branch protection.
- - uses: actions/checkout@v6
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ github.event.pull_request.head.sha || github.ref }}
diff --git a/.gitignore b/.gitignore
index c4a5be0b..d4199abc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,122 +1,24 @@
-bin/
-
-# Created by https://www.gitignore.io/api/java,gradle,osx,windows,intellij+iml
-
-### OSX ###
-*.DS_Store
-.AppleDouble
-.LSOverride
-
-# Icon must end with two \r
-Icon
-# Thumbnails
-._*
-# Files that might appear in the root of a volume
-.DocumentRevisions-V100
-.fseventsd
-.Spotlight-V100
-.TemporaryItems
-.Trashes
-.VolumeIcon.icns
-.com.apple.timemachine.donotpresent
-# Directories potentially created on remote AFP share
-.AppleDB
-.AppleDesktop
-Network Trash Folder
-Temporary Items
-.apdisk
-
-
-### Windows ###
-# Windows thumbnail cache files
-Thumbs.db
-ehthumbs.db
-ehthumbs_vista.db
-
-# Folder config file
-Desktop.ini
-
-# Recycle Bin used on file shares
-$RECYCLE.BIN/
-
-# Windows Installer files
-*.cab
-*.msi
-*.msm
-*.msp
-
-# Windows shortcuts
-*.lnk
-
-
-### Java ###
*.class
-
-# BlueJ files
-*.ctxt
-
-# Mobile Tools for Java (J2ME)
-.mtj.tmp/
-
-# Package Files #
-*.jar
-*.war
-*.ear
-
-# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
-hs_err_pid*
-
-
-### Gradle ###
+.project
.gradle
-/build/
-
-# Ignore Gradle GUI config
-gradle-app.setting
-
-# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
-!gradle-wrapper.jar
-
-# Cache of project
-.gradletasknamecache
-
-# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
-# gradle/wrapper/gradle-wrapper.properties
-
-# End of https://www.gitignore.io/api/java,gradle,osx,windows
-
-
-### Intellij+iml ###
-# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
-# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
-
-# User-specific stuff:
-.idea/workspace.xml
-.idea/tasks.xml
-
-# Sensitive or high-churn files:
-.idea/
-
-# Gradle:
-.idea/gradle.xml
-.idea/libraries
-
-# Mongo Explorer plugin:
-.idea/mongoSettings.xml
-
-## File-based project format:
-*.iws
-
-### Intellij+iml Patch ###
-# Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-249601023
-
+?
+.classpath
+.checkstyle
+.settings
+.node
+build
+
+# IntelliJ
*.iml
-modules.xml
-.idea/misc.xml
*.ipr
-/out/
+*.iws
+.idea/
+out/
-# End of https://www.gitignore.io/api/intellij+iml
+# Eclipse/IntelliJ APT
+generated_src/
+generated_testSrc/
+generated/
-# NetBeans IDE files
-/.nb-gradle/
\ No newline at end of file
+bin
+build
\ No newline at end of file
diff --git a/.version b/.version
index a5f3e61b..1bc788d3 100644
--- a/.version
+++ b/.version
@@ -1 +1 @@
-2.27.0
+5.6.0
diff --git a/AGENTS.md b/AGENTS.md
new file mode 100644
index 00000000..47eae03e
--- /dev/null
+++ b/AGENTS.md
@@ -0,0 +1,3 @@
+# AI Agent Guidelines for auth0-java
+
+@./CLAUDE.md for all coding guidelines, commands, project structure, code style, testing conventions, and boundaries.
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8dc5a666..fc92e355 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,303 @@
# Change Log
+## [5.6.0](https://github.com/auth0/auth0-java/tree/5.6.0) (2026-11-23)
+[Full Changelog](https://github.com/auth0/auth0-java/compare/5.5.0...5.6.0)
+
+**Added**
+- feat: add Google account linking on clients, and Universal Logout config for SSO tickets [\#950](https://github.com/auth0/auth0-java/pull/950) ([fern-api[bot]](https://github.com/apps/fern-api))
+ - **Clients:** adds `google_account_linking` (Google Streamlined Linking) to client create, update, list and response types, and `okta_oin_listing_url` to `express_configuration`.
+ - **Self-Service Profiles & Connections:** adds `universal_logout_config` to SSO ticket creation, and `key_use` to connection key create and rotate so encryption keys can be managed.
+
+**Breaking changes**
+- feat: add Google account linking on clients, and Universal Logout config for SSO tickets [\#950](https://github.com/auth0/auth0-java/pull/950) ([fern-api[bot]](https://github.com/apps/fern-api))
+ - **Removed `genai_trial` from `TenantSettingsFlags`.** `getGenaiTrial()` and the builder's `genaiTrial(...)` no longer exist; remove these calls.
+ - **`CreateEmailProviderRequestContent.credentials` is now optional.** `getCredentials()` returns `Optional> request = mgmt.clients().listCredentials("{CLIENT_ID}");
-List
> com.auth0.client.mgmt.ClientGrantsEntity#list()` has been removed. Use `Request
> com.auth0.client.mgmt.ClientsEntity#list()` has been removed. Use `Request
> com.auth0.client.mgmt.ClientsEntity#list(ConnectionFilter filter)` has been removed. Use `Request
> com.auth0.client.mgmt.GrantsEntity#list(String userId)` has been removed. Use `Request
> com.auth0.client.mgmt.ResourceServerEntity#list()` has been removed. Use `Request
> com.auth0.client.mgmt.RulesEntity#list(RulesFilter filter)` has been removed. Use `Request
Auth0 is an easy to implement, adaptable authentication and authorization platform. To learn more checkout Why Auth0?
-This project is licensed under the MIT license. See the LICENSE file for more info.
\ No newline at end of file +This project is licensed under the MIT license. See the LICENSE file for more info. diff --git a/build.gradle b/build.gradle index 0cf814cb..0e427fd8 100644 --- a/build.gradle +++ b/build.gradle @@ -1,160 +1,91 @@ -buildscript { - repositories { - jcenter() - } - - dependencies { - // https://github.com/melix/japicmp-gradle-plugin/issues/36 - classpath 'com.google.guava:guava:31.1-jre' - classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0" - } -} - - plugins { - id 'java' - id 'jacoco' - id 'me.champeau.gradle.japicmp' version '0.2.9' - id 'io.github.gradle-nexus.publish-plugin' version '2.0.0' + id 'java-library' + id 'maven-publish' + id 'com.diffplug.spotless' version '6.11.0' + id 'io.github.gradle-nexus.publish-plugin' version '2.0.0' } repositories { - mavenCentral() + mavenCentral() + maven { + url 'https://s01.oss.sonatype.org/content/repositories/releases/' + } } apply from: rootProject.file('gradle/versioning.gradle') version = getVersionFromFile() group = GROUP + logger.lifecycle("Using version ${version} for ${name} group $group") -jacocoTestReport { - reports { - xml.enabled = true - html.enabled = true - } +dependencies { + // Core dependencies + api 'com.squareup.okhttp3:okhttp:5.2.1' + api 'com.fasterxml.jackson.core:jackson-databind:2.22.4' + api 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.22.4' + api 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.22.4' + + // Dependencies for legacy management code from auth0-real + implementation 'com.squareup.okhttp3:logging-interceptor:5.2.1' + implementation 'com.auth0:java-jwt:4.6.2' + implementation 'com.auth0:jwks-rsa:0.24.2' + implementation 'net.jodah:failsafe:2.4.4' + + // Test dependencies + testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2' + testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.8.2' + testImplementation 'org.mockito:mockito-core:4.11.0' + testImplementation 'com.squareup.okhttp3:mockwebserver:5.2.1' + testImplementation 'org.hamcrest:hamcrest:2.2' } java { - toolchain { - languageVersion = JavaLanguageVersion.of(8) - } -} - -compileJava { - sourceCompatibility '1.8' - targetCompatibility '1.8' - - options.compilerArgs << "-Xlint:deprecation" << "-Xlint:unchecked" << "-Werror" + toolchain { + languageVersion = JavaLanguageVersion.of(8) + } } -compileTestJava { - options.compilerArgs << "-Xlint:deprecation" << "-Werror" +sourceCompatibility = 1.8 +targetCompatibility = 1.8 + +// The Management API client is Fern-generated (~4000 types). javac's type +// inference over that tree exhausts the compiler's default heap. Because the +// Java 8 toolchain differs from the JDK running Gradle, javac is forked into a +// separate process, so org.gradle.jvmargs (the daemon heap) does not apply — +// the heap must be set on the forked compiler here. +tasks.withType(JavaCompile).configureEach { + options.fork = true + options.forkOptions.memoryMaximumSize = '2g' } -import me.champeau.gradle.japicmp.JapicmpTask - -project.afterEvaluate { - - def versions = project.ext.testInJavaVersions - for (pluginJavaTestVersion in versions) { - def taskName = "testInJava-${pluginJavaTestVersion}" - tasks.register(taskName, Test) { - def versionToUse = taskName.split("-").getAt(1) as Integer - description = "Runs unit tests on Java version ${versionToUse}." - project.logger.quiet("Test will be running in ${versionToUse}") - group = 'verification' - javaLauncher.set(javaToolchains.launcherFor { - languageVersion = JavaLanguageVersion.of(versionToUse) - }) - shouldRunAfter(tasks.named('test')) - } - tasks.named('check') { - dependsOn(taskName) - } +jar { + manifest { + attributes 'Automatic-Module-Name': 'com.auth0.java' } +} - project.configure(project) { - def baselineVersion = project.ext.baselineCompareVersion - task('apiDiff', type: JapicmpTask, dependsOn: 'jar') { - oldClasspath = files(getBaselineJar(project, baselineVersion)) - newClasspath = files(jar.archiveFile) - onlyModified = true - failOnModification = true - ignoreMissingClasses = true - htmlOutputFile = file("$buildDir/reports/apiDiff/apiDiff.html") - txtOutputFile = file("$buildDir/reports/apiDiff/apiDiff.txt") - doLast { - project.logger.quiet("Comparing against baseline version ${baselineVersion}") - } - } - } +tasks.withType(Javadoc) { + failOnError false + options.addStringOption('Xdoclint:none', '-quiet') + // Fern-generated POJO types are documented via reference.md; excluding them + // keeps the javadoc JAR within Maven Central's monthly size quota. + exclude 'com/auth0/client/mgmt/**/types/**' } -private static File getBaselineJar(Project project, String baselineVersion) { - // Use detached configuration: https://github.com/square/okhttp/blob/master/build.gradle#L270 - def group = project.group - try { - def baseline = "${project.group}:${project.name}:$baselineVersion" - project.group = 'virtual_group_for_japicmp' - def dependency = project.dependencies.create(baseline + "@jar") - return project.configurations.detachedConfiguration(dependency).files.find { - it.name == "${project.name}-${baselineVersion}.jar" - } - } finally { - project.group = group +spotless { + java { + palantirJavaFormat() } } test { - testLogging { - events "skipped", "failed" - exceptionFormat "short" - } - useJUnitPlatform() -} - -ext { - okhttpVersion = '4.12.0' - hamcrestVersion = '2.2' - jupiterVersion = '5.9.3' - - baselineCompareVersion = '2.0.0' - testInJavaVersions = [8, 11, 17, 21] + useJUnitPlatform() + testLogging { + showStandardStreams = true + } } -dependencies { - // TODO remove direct dependency when OkHttp 4.12.0 is released - implementation ("com.squareup.okhttp3:okhttp:${okhttpVersion}") { - exclude group: 'com.squareup.okhttp3', module: 'okio' - exclude group: 'org.jetbrains.kotlin', module: 'kotlin-stdlib' - exclude group: 'org.jetbrains.kotlin', module: 'kotlin-stdlib-jdk8' - } - implementation "com.squareup.okio:okio:3.5.0" - - implementation "org.jetbrains.kotlin:kotlin-stdlib:2.1.0" - implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:2.1.0" - - implementation "com.squareup.okhttp3:logging-interceptor:${okhttpVersion}" - implementation "com.fasterxml.jackson.core:jackson-databind:2.15.0" - implementation "com.auth0:java-jwt:4.4.0" - implementation "net.jodah:failsafe:2.4.4" - - testImplementation "org.mockito:mockito-core:4.8.1" - testImplementation "com.squareup.okhttp3:mockwebserver:${okhttpVersion}" - testImplementation "org.hamcrest:hamcrest:${hamcrestVersion}" - testImplementation "org.junit.jupiter:junit-jupiter-api:${jupiterVersion}" - testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${jupiterVersion}" - - // Override MockWebServer's junit transitive dependency to latest v4 - constraints { - testImplementation( group: 'junit', name: 'junit'){ - version{ - strictly "[4.13.2]" - } - } - } -} apply from: rootProject.file('gradle/maven-publish.gradle') diff --git a/gradle.properties b/gradle.properties index 69714a96..724f91f7 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,10 @@ +# Specifies the JVM arguments used for the daemon process. +# The setting is particularly useful for tweaking memory settings. +org.gradle.jvmargs=-Xmx1536m + GROUP=com.auth0 POM_ARTIFACT_ID=auth0 -VERSION_NAME=2.12.0 +VERSION_NAME=3.0.0 POM_NAME=auth0-java POM_DESCRIPTION=Java client library for the Auth0 platform diff --git a/gradle/maven-publish.gradle b/gradle/maven-publish.gradle index e458d769..0b16478d 100644 --- a/gradle/maven-publish.gradle +++ b/gradle/maven-publish.gradle @@ -35,7 +35,7 @@ publishing { groupId = GROUP artifactId = POM_ARTIFACT_ID - version = getVersionName() + version = project.version pom { name = POM_NAME diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar index 249e5832..1b33c55b 100644 Binary files a/gradle/wrapper/gradle-wrapper.jar and b/gradle/wrapper/gradle-wrapper.jar differ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 8049c684..ff23a68d 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,7 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip +networkTimeout=10000 +validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/gradlew b/gradlew index a69d9cb6..23d15a93 100755 --- a/gradlew +++ b/gradlew @@ -15,6 +15,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # +# SPDX-License-Identifier: Apache-2.0 +# ############################################################################## # @@ -55,7 +57,7 @@ # Darwin, MinGW, and NonStop. # # (3) This script is generated from the Groovy template -# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt +# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt # within the Gradle project. # # You can find Gradle at https://github.com/gradle/gradle/. @@ -80,13 +82,11 @@ do esac done -APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit - -APP_NAME="Gradle" +# This is normally unused +# shellcheck disable=SC2034 APP_BASE_NAME=${0##*/} - -# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' +# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) +APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD=maximum @@ -114,7 +114,7 @@ case "$( uname )" in #( NONSTOP* ) nonstop=true ;; esac -CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar +CLASSPATH="\\\"\\\"" # Determine the Java command to use to start the JVM. @@ -133,22 +133,29 @@ location of your Java installation." fi else JAVACMD=java - which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. + if ! command -v java >/dev/null 2>&1 + then + die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. Please set the JAVA_HOME variable in your environment to match the location of your Java installation." + fi fi # Increase the maximum file descriptors if we can. if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then case $MAX_FD in #( max*) + # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked. + # shellcheck disable=SC2039,SC3045 MAX_FD=$( ulimit -H -n ) || warn "Could not query maximum file descriptor limit" esac case $MAX_FD in #( '' | soft) :;; #( *) + # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked. + # shellcheck disable=SC2039,SC3045 ulimit -n "$MAX_FD" || warn "Could not set maximum file descriptor limit to $MAX_FD" esac @@ -193,16 +200,20 @@ if "$cygwin" || "$msys" ; then done fi -# Collect all arguments for the java command; -# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of -# shell script including quotes and variable substitutions, so put them in -# double quotes to make sure that they get re-expanded; and -# * put everything else in single quotes, so that it's not re-expanded. + +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' + +# Collect all arguments for the java command: +# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments, +# and any embedded shellness will be escaped. +# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be +# treated as '${Hostname}' itself on the command line. set -- \ "-Dorg.gradle.appname=$APP_BASE_NAME" \ -classpath "$CLASSPATH" \ - org.gradle.wrapper.GradleWrapperMain \ + -jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \ "$@" # Stop when "xargs" is not available. diff --git a/gradlew.bat b/gradlew.bat index 53a6b238..5eed7ee8 100644 --- a/gradlew.bat +++ b/gradlew.bat @@ -13,6 +13,8 @@ @rem See the License for the specific language governing permissions and @rem limitations under the License. @rem +@rem SPDX-License-Identifier: Apache-2.0 +@rem @if "%DEBUG%"=="" @echo off @rem ########################################################################## @@ -26,6 +28,7 @@ if "%OS%"=="Windows_NT" setlocal set DIRNAME=%~dp0 if "%DIRNAME%"=="" set DIRNAME=. +@rem This is normally unused set APP_BASE_NAME=%~n0 set APP_HOME=%DIRNAME% @@ -42,11 +45,11 @@ set JAVA_EXE=java.exe %JAVA_EXE% -version >NUL 2>&1 if %ERRORLEVEL% equ 0 goto execute -echo. -echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. +echo. 1>&2 +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2 +echo. 1>&2 +echo Please set the JAVA_HOME variable in your environment to match the 1>&2 +echo location of your Java installation. 1>&2 goto fail @@ -56,22 +59,22 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe if exist "%JAVA_EXE%" goto execute -echo. -echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. +echo. 1>&2 +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2 +echo. 1>&2 +echo Please set the JAVA_HOME variable in your environment to match the 1>&2 +echo location of your Java installation. 1>&2 goto fail :execute @rem Setup the command line -set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar +set CLASSPATH= @rem Execute Gradle -"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %* :end @rem End local scope for the variables with windows NT shell diff --git a/reference.md b/reference.md new file mode 100644 index 00000000..29c955ca --- /dev/null +++ b/reference.md @@ -0,0 +1,38034 @@ +# Reference +## Actions +client.actions.list() -> SyncPagingIterable<Action>client.actions.create(request) -> CreateActionResponseContentclient.actions.get(id) -> GetActionResponseContentclient.actions.delete(id)client.actions.update(id, request) -> UpdateActionResponseContentclient.actions.deploy(id) -> DeployActionResponseContentclient.actions.test(id, request) -> TestActionResponseContentclient.agents.list() -> SyncPagingIterable<AgentResponseContent>client.agents.create(request) -> AgentResponseContentclient.agents.read(id) -> AgentResponseContentclient.agents.delete(id)client.agents.update(id, request) -> AgentResponseContentclient.branding.get() -> GetBrandingResponseContentclient.branding.update(request) -> UpdateBrandingResponseContentclient.clientGrants.list() -> SyncPagingIterable<ClientGrantResponseContent>client.clientGrants.create(request) -> CreateClientGrantResponseContentclient.clientGrants.search() -> SyncPagingIterable<ClientGrantResponseContent>client.clientGrants.get(id) -> GetClientGrantResponseContentclient.clientGrants.delete(id)client.clientGrants.update(id, request) -> UpdateClientGrantResponseContentclient.clientProfiles.list() -> SyncPagingIterable<ClientProfile>next cursor from a previous response as the from query parameter to retrieve the following page.
+client.clientProfiles.create(request) -> ClientProfile409 Conflict. The profile governs Dynamic CIMD clients matched by its apply_policy at runtime.
+client.clientProfiles.get(id) -> ClientProfile404 if no profile with the given ID exists for the tenant.
+client.clientProfiles.delete(id)204 No Content whether or not a profile with the given ID existed. Deleting the profile removes fleet governance for matched clients immediately.
+client.clientProfiles.update(id, request) -> ClientProfileclient_configuration must be supplied in full.
+client.clients.list() -> SyncPagingIterable<Client>client.clients.create(request) -> CreateClientResponseContenttrue to disable Single Sign On, false otherwise (default: false)
+
+true if the custom login page is to be used, false otherwise. Defaults to true
+
+client.clients.previewCimdMetadata(request) -> PreviewCimdMetadataResponseContentclient.clients.registerCimdClient(request) -> RegisterCimdClientResponseContentclient.clients.search() -> SyncPagingIterable<ClientSearchResponse>client.clients.get(id) -> GetClientResponseContentclient.clients.delete(id)client.clients.update(id, request) -> UpdateClientResponseContent140)
+
+true to use Auth0 instead of the IdP to do Single Sign On, false otherwise (default: false)
+
+true if this client can be used to make cross-origin authentication requests, false otherwise if cross origin is disabled
+
+true to disable Single Sign On, false otherwise (default: false)
+
+true if the custom login page is to be used, false otherwise.
+
+client.clients.rotateSecret(id) -> RotateClientSecretResponseContentclient.connectionProfiles.list() -> SyncPagingIterable<ConnectionProfile>client.connectionProfiles.create(request) -> CreateConnectionProfileResponseContentclient.connectionProfiles.listTemplates() -> ListConnectionProfileTemplateResponseContentclient.connectionProfiles.getTemplate(id) -> GetConnectionProfileTemplateResponseContentclient.connectionProfiles.get(id) -> GetConnectionProfileResponseContentclient.connectionProfiles.delete(id)client.connectionProfiles.update(id, request) -> UpdateConnectionProfileResponseContentclient.connections.list() -> SyncPagingIterable<ConnectionForList>false.
+
+true if the fields specified are to be included in the result, false otherwise (defaults to true)
+
+client.connections.create(request) -> CreateConnectionResponseContenttrue promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.)
+
+false.)
+
+client.connections.get(id) -> GetConnectionResponseContenttrue if the fields specified are to be included in the result, false otherwise (defaults to true)
+
+client.connections.delete(id)client.connections.update(id, request) -> UpdateConnectionResponseContenttrue promotes to a domain-level connection so that third-party applications can use it. false does not promote the connection, so only first-party applications with the connection enabled can use it. (Defaults to false.)
+
+false.)
+
+client.connections.checkStatus(id)client.customDomains.list() -> List<CustomDomain>domain:1 (ascending order by domain) is supported at this time.
+
+client.customDomains.create(request) -> CreateCustomDomainResponseContentclient.customDomains.getDefault() -> GetDefaultDomainResponseContentclient.customDomains.setDefault(request) -> UpdateDefaultDomainResponseContentclient.customDomains.get(id) -> GetCustomDomainResponseContentclient.customDomains.delete(id)client.customDomains.update(id, request) -> UpdateCustomDomainResponseContentclient.customDomains.test(id) -> TestCustomDomainResponseContentclient.customDomains.verify(id) -> VerifyCustomDomainResponseContentclient.deviceCredentials.list() -> SyncPagingIterable<DeviceCredential>client.deviceCredentials.createPublicKey(request) -> CreatePublicKeyDeviceCredentialResponseContentclient.deviceCredentials.delete(id)client.emailTemplates.create(request) -> CreateEmailTemplateResponseContentclient.emailTemplates.get(templateName) -> GetEmailTemplateResponseContentclient.emailTemplates.set(templateName, request) -> SetEmailTemplateResponseContentclient.emailTemplates.update(templateName, request) -> UpdateEmailTemplateResponseContentclient.eventStreams.list() -> SyncPagingIterable<EventStreamResponseContent>client.eventStreams.create(request) -> CreateEventStreamResponseContentclient.eventStreams.get(id) -> GetEventStreamResponseContentclient.eventStreams.delete(id)client.eventStreams.update(id, request) -> UpdateEventStreamResponseContentclient.eventStreams.test(id, request) -> CreateEventStreamTestEventResponseContentclient.events.subscribe() -> Iterable<EventStreamSubscribeEventsResponseContent>client.flows.list() -> SyncPagingIterable<FlowSummary>client.flows.create(request) -> CreateFlowResponseContentclient.flows.get(id) -> GetFlowResponseContentclient.flows.delete(id)client.flows.update(id, request) -> UpdateFlowResponseContentclient.forms.list() -> SyncPagingIterable<FormSummary>client.forms.create(request) -> CreateFormResponseContentclient.forms.get(id) -> GetFormResponseContentclient.forms.delete(id)client.forms.update(id, request) -> UpdateFormResponseContentclient.userGrants.list() -> SyncPagingIterable<UserGrant>client.userGrants.deleteByUserId()client.userGrants.delete(id)client.groups.list() -> SyncPagingIterable<Group>client.groups.get(id) -> GetGroupResponseContentclient.groups.delete(id)client.guardian.get() -> GetGuardianSettingsResponseContentclient.guardian.set(request) -> SetGuardianSettingsResponseContentclient.hooks.list() -> SyncPagingIterable<Hook>client.hooks.create(request) -> CreateHookResponseContentclient.hooks.get(id) -> GetHookResponseContentclient.hooks.delete(id)client.hooks.update(id, request) -> UpdateHookResponseContentclient.jobs.get(id) -> GetJobResponseContentclient.logStreams.list() -> List<LogStreamResponseSchema>client.logStreams.create(request) -> CreateLogStreamResponseContentclient.logStreams.get(id) -> GetLogStreamResponseContentclient.logStreams.delete(id)client.logStreams.update(id, request) -> UpdateLogStreamResponseContentclient.logs.list() -> SyncPagingIterable<Log>50. Max value: 100
+
+:1 for ascending and :-1 for descending. e.g. date:-1
+
+include_fields) in the result. Leave empty to retrieve all fields.
+
+true) or excluded (false)
+
+client.logs.get(id) -> GetLogResponseContentclient.networkAcls.list() -> SyncPagingIterable<NetworkAclsResponseContent>client.networkAcls.create(request)client.networkAcls.get(id) -> GetNetworkAclsResponseContentclient.networkAcls.set(id, request) -> SetNetworkAclsResponseContentclient.networkAcls.delete(id)client.networkAcls.update(id, request) -> UpdateNetworkAclResponseContentclient.organizations.list() -> SyncPagingIterable<Organization>field:order where order is 1 for ascending and -1 for descending. e.g. created_at:1. We currently support sorting by the following fields: name, display_name and created_at.
+
+client object describing it; organizations without one omit the field.
+
+client.organizations.create(request) -> CreateOrganizationResponseContentclient.organizations.getByName(name) -> GetOrganizationByNameResponseContentclient.organizations.search() -> SyncPagingIterable<SearchOrganization>client.organizations.get(id) -> GetOrganizationResponseContentclient.organizations.delete(id)client.organizations.update(id, request) -> UpdateOrganizationResponseContentclient.portals.list() -> ListPortalsResponseContentclient.portals.create(request) -> Portalclient.portals.get(id) -> Portalclient.portals.delete(id)client.portals.update(id, request) -> Portalclient.prompts.getSettings() -> GetSettingsResponseContentclient.prompts.updateSettings(request) -> UpdateSettingsResponseContentclient.rateLimitPolicies.list() -> SyncPagingIterable<RateLimitPolicy>client.rateLimitPolicies.create(request) -> CreateRateLimitPolicyResponseContentclient.rateLimitPolicies.get(id) -> GetRateLimitPolicyResponseContentclient.rateLimitPolicies.delete(id)client.rateLimitPolicies.update(id, request) -> UpdateRateLimitPolicyResponseContentclient.refreshTokens.list() -> SyncPagingIterable<RefreshTokenResponseContent>client.refreshTokens.revoke(request)client.refreshTokens.get(id) -> GetRefreshTokenResponseContentclient.refreshTokens.delete(id)client.refreshTokens.update(id, request) -> UpdateRefreshTokenResponseContentclient.resourceServers.list() -> SyncPagingIterable<ResourceServer>client.resourceServers.create(request) -> CreateResourceServerResponseContentclient.resourceServers.search() -> SyncPagingIterable<ResourceServerSearchResponse>client.resourceServers.get(id) -> GetResourceServerResponseContentclient.resourceServers.delete(id)client.resourceServers.update(id, request) -> UpdateResourceServerResponseContentclient.roles.list() -> SyncPagingIterable<Role>client.roles.create(request) -> CreateRoleResponseContentclient.roles.get(id) -> GetRoleResponseContentclient.roles.delete(id)client.roles.update(id, request) -> UpdateRoleResponseContentclient.rules.list() -> SyncPagingIterable<Rule>client.rules.create(request) -> CreateRuleResponseContentclient.rules.get(id) -> GetRuleResponseContentclient.rules.delete(id)client.rules.update(id, request) -> UpdateRuleResponseContentclient.rulesConfigs.list() -> List<RulesConfig>client.rulesConfigs.set(key, request) -> SetRulesConfigResponseContentclient.rulesConfigs.delete(key)client.selfServiceProfiles.list() -> SyncPagingIterable<SelfServiceProfile>client.selfServiceProfiles.create(request) -> CreateSelfServiceProfileResponseContentclient.selfServiceProfiles.get(id) -> GetSelfServiceProfileResponseContentclient.selfServiceProfiles.delete(id)client.selfServiceProfiles.update(id, request) -> UpdateSelfServiceProfileResponseContentclient.sessions.get(id) -> GetSessionResponseContentclient.sessions.delete(id)client.sessions.update(id, request) -> UpdateSessionResponseContentclient.sessions.revoke(id)client.stats.getActiveUsersCount() -> Doubleclient.stats.getDaily() -> List<DailyStats>client.supplementalSignals.get() -> GetSupplementalSignalsResponseContentclient.supplementalSignals.patch(request) -> PatchSupplementalSignalsResponseContentclient.tickets.verifyEmail(request) -> VerifyEmailTicketResponseContentclient.tickets.changePassword(request) -> ChangePasswordTicketResponseContentclient.tokenExchangeProfiles.list() -> SyncPagingIterable<TokenExchangeProfileResponseContent>client.tokenExchangeProfiles.create(request) -> CreateTokenExchangeProfileResponseContentclient.tokenExchangeProfiles.get(id) -> GetTokenExchangeProfileResponseContentclient.tokenExchangeProfiles.delete(id)client.tokenExchangeProfiles.update(id, request)client.userAttributeProfiles.list() -> SyncPagingIterable<UserAttributeProfile>client.userAttributeProfiles.create(request) -> CreateUserAttributeProfileResponseContentclient.userAttributeProfiles.listTemplates() -> ListUserAttributeProfileTemplateResponseContentclient.userAttributeProfiles.getTemplate(id) -> GetUserAttributeProfileTemplateResponseContentclient.userAttributeProfiles.get(id) -> GetUserAttributeProfileResponseContentclient.userAttributeProfiles.delete(id)client.userAttributeProfiles.update(id, request) -> UpdateUserAttributeProfileResponseContentclient.userBlocks.listByIdentifier() -> ListUserBlocksByIdentifierResponseContentclient.userBlocks.deleteByIdentifier()client.userBlocks.list(id) -> ListUserBlocksResponseContentclient.userBlocks.delete(id)client.users.list() -> SyncPagingIterable<UserResponseSchema>field:order where order is 1 for ascending and -1 for descending. e.g. created_at:1
+
+search_engine=v1. To filter by connection with search_engine=v2|v3, use q=identities.connection:"connection_name"
+
+client.users.create(request) -> CreateUserResponseContentclient.users.listUsersByEmail() -> List<UserResponseSchema>client.users.get(id) -> GetUserResponseContentclient.users.delete(id)client.users.update(id, request) -> UpdateUserResponseContentclient.users.listConsentSigningKeys(id) -> ListUserConsentSigningKeysResponseContentclient.users.getConsentSigningKey(id, kid) -> ConsentSigningKeyclient.users.deleteConsentSigningKey(id, kid)client.users.regenerateRecoveryCode(id) -> RegenerateUsersRecoveryCodeResponseContentclient.users.revokeAccess(id, request)client.actions.versions.list(actionId) -> SyncPagingIterable<ActionVersion>client.actions.versions.get(actionId, id) -> GetActionVersionResponseContentclient.actions.versions.deploy(actionId, id, request) -> DeployActionVersionResponseContentclient.actions.executions.get(id) -> GetActionExecutionResponseContentclient.actions.modules.list() -> SyncPagingIterable<ActionModuleListItem>client.actions.modules.create(request) -> CreateActionModuleResponseContentclient.actions.modules.get(id) -> GetActionModuleResponseContentclient.actions.modules.delete(id)client.actions.modules.update(id, request) -> UpdateActionModuleResponseContentclient.actions.modules.listActions(id) -> SyncPagingIterable<ActionModuleAction>client.actions.modules.rollback(id, request) -> RollbackActionModuleResponseContentclient.actions.triggers.list() -> ListActionTriggersResponseContentclient.actions.modules.versions.list(id) -> SyncPagingIterable<ActionModuleVersion>client.actions.modules.versions.create(id) -> CreateActionModuleVersionResponseContentclient.actions.modules.versions.get(id, versionId) -> GetActionModuleVersionResponseContentclient.actions.triggers.bindings.list(triggerId) -> SyncPagingIterable<ActionBinding>client.actions.triggers.bindings.updateMany(triggerId, request) -> UpdateActionBindingsResponseContentclient.anomaly.blocks.checkIp(id)client.anomaly.blocks.unblockIp(id)client.attackProtection.botDetection.get() -> GetBotDetectionSettingsResponseContentclient.attackProtection.botDetection.update(request) -> UpdateBotDetectionSettingsResponseContentclient.attackProtection.breachedPasswordDetection.get() -> GetBreachedPasswordDetectionSettingsResponseContentclient.attackProtection.breachedPasswordDetection.update(request) -> UpdateBreachedPasswordDetectionSettingsResponseContentblock, user_notification, admin_notification.
+
+immediately, daily, weekly, monthly.
+
+client.attackProtection.bruteForceProtection.get() -> GetBruteForceSettingsResponseContentclient.attackProtection.bruteForceProtection.update(request) -> UpdateBruteForceSettingsResponseContentblock, user_notification.
+
+client.attackProtection.captcha.get() -> GetAttackProtectionCaptchaResponseContentclient.attackProtection.captcha.update(request) -> UpdateAttackProtectionCaptchaResponseContentclient.attackProtection.phoneProviderProtection.get() -> GetPhoneProviderProtectionResponseContentclient.attackProtection.phoneProviderProtection.patch(request) -> PatchPhoneProviderProtectionResponseContentclient.attackProtection.suspiciousIpThrottling.get() -> GetSuspiciousIpThrottlingSettingsResponseContentclient.attackProtection.suspiciousIpThrottling.update(request) -> UpdateSuspiciousIpThrottlingSettingsResponseContentblock, admin_notification.
+
+client.branding.templates.getUniversalLogin() -> GetUniversalLoginTemplateResponseContentclient.branding.templates.updateUniversalLogin(request)client.branding.templates.deleteUniversalLogin()client.branding.themes.create(request) -> CreateBrandingThemeResponseContentclient.branding.themes.getDefault() -> GetBrandingDefaultThemeResponseContentclient.branding.themes.get(themeId) -> GetBrandingThemeResponseContentclient.branding.themes.delete(themeId)client.branding.themes.update(themeId, request) -> UpdateBrandingThemeResponseContentclient.branding.phone.providers.list() -> ListBrandingPhoneProvidersResponseContentclient.branding.phone.providers.create(request) -> CreateBrandingPhoneProviderResponseContentclient.branding.phone.providers.get(id) -> GetBrandingPhoneProviderResponseContentclient.branding.phone.providers.delete(id)client.branding.phone.providers.update(id, request) -> UpdateBrandingPhoneProviderResponseContentclient.branding.phone.providers.test(id, request) -> CreatePhoneProviderSendTestResponseContentclient.branding.phone.templates.list() -> ListPhoneTemplatesResponseContentclient.branding.phone.templates.create(request) -> CreatePhoneTemplateResponseContentclient.branding.phone.templates.get(id) -> GetPhoneTemplateResponseContentclient.branding.phone.templates.delete(id)client.branding.phone.templates.update(id, request) -> UpdatePhoneTemplateResponseContentclient.branding.phone.templates.reset(id, request) -> ResetPhoneTemplateResponseContentclient.branding.phone.templates.test(id, request) -> CreatePhoneTemplateTestNotificationResponseContentclient.clientGrants.organizations.list(id) -> SyncPagingIterable<Organization>client.clients.credentials.list(clientId) -> List<ClientCredential>client.clients.credentials.create(clientId, request) -> PostClientCredentialResponseContentclient.clients.credentials.get(clientId, credentialId) -> GetClientCredentialResponseContentclient.clients.credentials.delete(clientId, credentialId)client.clients.credentials.update(clientId, credentialId, request) -> PatchClientCredentialResponseContentclient.clients.connections.get(id) -> SyncPagingIterable<ConnectionForList>true if the fields specified are to be included in the result, false otherwise (defaults to true)
+
+client.connections.directoryProvisioning.list() -> SyncPagingIterable<DirectoryProvisioning>client.connections.directoryProvisioning.get(id) -> GetDirectoryProvisioningResponseContentclient.connections.directoryProvisioning.create(id, request) -> CreateDirectoryProvisioningResponseContentclient.connections.directoryProvisioning.delete(id)client.connections.directoryProvisioning.update(id, request) -> UpdateDirectoryProvisioningResponseContentclient.connections.directoryProvisioning.getDefaultMapping(id) -> GetDirectoryProvisioningDefaultMappingResponseContentclient.connections.directoryProvisioning.listSynchronizedGroups(id) -> SyncPagingIterable<SynchronizedGroupPayload>client.connections.directoryProvisioning.addSynchronizedGroupSelections(id, request)client.connections.directoryProvisioning.set(id, request)client.connections.directoryProvisioning.deleteSynchronizedGroupSelections(id, request)client.connections.scimConfiguration.list() -> SyncPagingIterable<ScimConfiguration>client.connections.scimConfiguration.get(id) -> GetScimConfigurationResponseContentclient.connections.scimConfiguration.create(id, request) -> CreateScimConfigurationResponseContentclient.connections.scimConfiguration.delete(id)client.connections.scimConfiguration.update(id, request) -> UpdateScimConfigurationResponseContentclient.connections.scimConfiguration.getDefaultMapping(id) -> GetScimConfigurationDefaultMappingResponseContentclient.connections.clients.get(id) -> SyncPagingIterable<ConnectionEnabledClient>client.connections.clients.update(id, request)client.connections.keys.get(id) -> List<ConnectionKey>client.connections.keys.create(id, request) -> List<PostConnectionsKeysResponseContentItem>client.connections.keys.rotate(id, request) -> RotateConnectionsKeysResponseContentclient.connections.users.deleteByEmail(id)client.connections.directoryProvisioning.synchronizations.create(id) -> CreateDirectorySynchronizationResponseContentclient.connections.scimConfiguration.tokens.get(id) -> List<ScimTokenItem>client.connections.scimConfiguration.tokens.create(id, request) -> CreateScimTokenResponseContentclient.connections.scimConfiguration.tokens.delete(id, tokenId)client.emails.provider.get() -> GetEmailProviderResponseContentclient.emails.provider.create(request) -> CreateEmailProviderResponseContentclient.emails.provider.delete()client.emails.provider.update(request) -> UpdateEmailProviderResponseContentclient.eventStreams.deliveries.list(id) -> SyncPagingIterable<EventStreamDelivery>client.eventStreams.deliveries.getHistory(id, eventId) -> GetEventStreamDeliveryHistoryResponseContentclient.eventStreams.redeliveries.create(id, request) -> CreateEventStreamRedeliveryResponseContentclient.eventStreams.redeliveries.createById(id, eventId)client.experimentation.experiments.list() -> SyncPagingIterable<ExperimentListItem>client.experimentation.experiments.create(request) -> CreateExperimentResponseContentclient.experimentation.experiments.get(id) -> GetExperimentResponseContentclient.experimentation.experiments.delete(id)client.experimentation.experiments.update(id, request) -> UpdateExperimentResponseContentclient.experimentation.experiments.advanceRamp(id, request) -> AdvanceRampResponseContentclient.experimentation.experiments.validate(id) -> ValidateExperimentResponseContentclient.experimentation.featureFlags.list() -> SyncPagingIterable<FeatureFlag>client.experimentation.featureFlags.create(request) -> CreateFeatureFlagResponseContentclient.experimentation.featureFlags.get(id) -> GetFeatureFlagResponseContentclient.experimentation.featureFlags.delete(id)client.experimentation.featureFlags.update(id, request) -> UpdateFeatureFlagResponseContentclient.experimentation.segments.list() -> SyncPagingIterable<Segment>client.experimentation.segments.create(request) -> CreateSegmentResponseContentclient.experimentation.segments.get(id) -> GetSegmentResponseContentclient.experimentation.segments.delete(id)client.experimentation.segments.update(id, request) -> UpdateSegmentResponseContentclient.experimentation.featureFlags.variations.list(id) -> ListVariationsResponseContentclient.experimentation.featureFlags.variations.create(id, request) -> CreateVariationResponseContentclient.experimentation.featureFlags.variations.get(id, vid) -> GetVariationResponseContentclient.experimentation.featureFlags.variations.delete(id, vid)client.experimentation.featureFlags.variations.update(id, vid, request) -> UpdateVariationResponseContentclient.flows.executions.list(flowId) -> SyncPagingIterable<FlowExecutionSummary>client.flows.executions.get(flowId, executionId) -> GetFlowExecutionResponseContentclient.flows.executions.delete(flowId, executionId)client.flows.vault.connections.list() -> SyncPagingIterable<FlowsVaultConnectionSummary>client.flows.vault.connections.create(request) -> CreateFlowsVaultConnectionResponseContentclient.flows.vault.connections.get(id) -> GetFlowsVaultConnectionResponseContentclient.flows.vault.connections.delete(id)client.flows.vault.connections.update(id, request) -> UpdateFlowsVaultConnectionResponseContentclient.groups.members.get(id) -> SyncPagingIterable<GroupMember>client.groups.roles.list(id) -> SyncPagingIterable<Role>client.groups.roles.create(id, request)client.groups.roles.delete(id, request)client.guardian.enrollments.createTicket(request) -> CreateGuardianEnrollmentTicketResponseContentclient.guardian.enrollments.get(id) -> GetGuardianEnrollmentResponseContentclient.guardian.enrollments.delete(id)client.guardian.factors.list() -> List<GuardianFactor>client.guardian.factors.set(name, request) -> SetGuardianFactorResponseContentclient.guardian.policies.list() -> List<MfaPolicyEnum>client.guardian.policies.set(request) -> List<MfaPolicyEnum>client.guardian.factors.email.get() -> GetEmailFactorSettingsResponseContentclient.guardian.factors.email.set(request) -> SetEmailFactorSettingsResponseContentclient.guardian.factors.phone.getMessageTypes() -> GetGuardianFactorPhoneMessageTypesResponseContentclient.guardian.factors.phone.setMessageTypes(request) -> SetGuardianFactorPhoneMessageTypesResponseContentclient.guardian.factors.phone.getTwilioProvider() -> GetGuardianFactorsProviderPhoneTwilioResponseContentclient.guardian.factors.phone.setTwilioProvider(request) -> SetGuardianFactorsProviderPhoneTwilioResponseContentclient.guardian.factors.phone.getSelectedProvider() -> GetGuardianFactorsProviderPhoneResponseContentclient.guardian.factors.phone.setProvider(request) -> SetGuardianFactorsProviderPhoneResponseContentclient.guardian.factors.phone.get() -> GetPhoneFactorSettingsResponseContentclient.guardian.factors.phone.set(request) -> SetPhoneFactorSettingsResponseContentclient.guardian.factors.phone.getTemplates() -> GetGuardianFactorPhoneTemplatesResponseContentclient.guardian.factors.phone.setTemplates(request) -> SetGuardianFactorPhoneTemplatesResponseContentclient.guardian.factors.pushNotification.getApnsProvider() -> GetGuardianFactorsProviderApnsResponseContentclient.guardian.factors.pushNotification.setApnsProvider(request) -> SetGuardianFactorsProviderPushNotificationApnsResponseContentclient.guardian.factors.pushNotification.updateApnsProvider(request) -> UpdateGuardianFactorsProviderPushNotificationApnsResponseContentclient.guardian.factors.pushNotification.setFcmProvider(request) -> Map<String, Object>client.guardian.factors.pushNotification.updateFcmProvider(request) -> Map<String, Object>client.guardian.factors.pushNotification.setFcmv1Provider(request) -> Map<String, Object>client.guardian.factors.pushNotification.updateFcmv1Provider(request) -> Map<String, Object>client.guardian.factors.pushNotification.getSnsProvider() -> GetGuardianFactorsProviderSnsResponseContentclient.guardian.factors.pushNotification.setSnsProvider(request) -> SetGuardianFactorsProviderPushNotificationSnsResponseContentclient.guardian.factors.pushNotification.updateSnsProvider(request) -> UpdateGuardianFactorsProviderPushNotificationSnsResponseContentclient.guardian.factors.pushNotification.getSelectedProvider() -> GetGuardianFactorsProviderPushNotificationResponseContentclient.guardian.factors.pushNotification.setProvider(request) -> SetGuardianFactorsProviderPushNotificationResponseContentclient.guardian.factors.sms.getTwilioProvider() -> GetGuardianFactorsProviderSmsTwilioResponseContentclient.guardian.factors.sms.setTwilioProvider(request) -> SetGuardianFactorsProviderSmsTwilioResponseContentclient.guardian.factors.sms.getSelectedProvider() -> GetGuardianFactorsProviderSmsResponseContentclient.guardian.factors.sms.setProvider(request) -> SetGuardianFactorsProviderSmsResponseContentclient.guardian.factors.sms.getTemplates() -> Optional<GetGuardianFactorSmsTemplatesResponseContent>client.guardian.factors.sms.setTemplates(request) -> SetGuardianFactorSmsTemplatesResponseContentclient.guardian.factors.duo.settings.get() -> GetGuardianFactorDuoSettingsResponseContentclient.guardian.factors.duo.settings.set(request) -> SetGuardianFactorDuoSettingsResponseContentclient.guardian.factors.duo.settings.update(request) -> UpdateGuardianFactorDuoSettingsResponseContentclient.hooks.secrets.get(id) -> Map<String, String>client.hooks.secrets.create(id, request)client.hooks.secrets.delete(id, request)client.hooks.secrets.update(id, request)client.jobs.usersExports.create(request) -> CreateExportUsersResponseContentclient.jobs.usersImports.create(request) -> CreateImportUsersResponseContentclient.jobs.verificationEmail.create(request) -> CreateVerificationEmailResponseContentclient.jobs.errors.get(id) -> Optional<ErrorsGetResponse>client.keys.customSigning.get() -> GetCustomSigningKeysResponseContentclient.keys.customSigning.set(request) -> SetCustomSigningKeysResponseContentclient.keys.customSigning.delete()client.keys.encryption.list() -> SyncPagingIterable<EncryptionKey>client.keys.encryption.create(request) -> CreateEncryptionKeyResponseContentclient.keys.encryption.rekey()client.keys.encryption.get(kid) -> GetEncryptionKeyResponseContentclient.keys.encryption.import_(kid, request) -> ImportEncryptionKeyResponseContentclient.keys.encryption.delete(kid)client.keys.encryption.createPublicWrappingKey(kid) -> CreateEncryptionKeyPublicWrappingResponseContentclient.keys.networkAcls.list() -> GetAllKeysNetworkAclsResponseContentclient.keys.networkAcls.create(request) -> CreateKeysNetworkAclsResponseContentclient.keys.networkAcls.get(id) -> NetworkAclKeyclient.keys.networkAcls.delete(id)client.keys.signing.list() -> List<SigningKeys>client.keys.signing.rotate() -> RotateSigningKeysResponseContentclient.keys.signing.get(kid) -> GetSigningKeysResponseContentclient.keys.signing.revoke(kid) -> RevokedSigningKeysResponseContentclient.organizations.clientGrants.list(id) -> SyncPagingIterable<OrganizationClientGrant>client.organizations.clientGrants.create(id, request) -> AssociateOrganizationClientGrantResponseContentclient.organizations.clientGrants.delete(id, grantId)client.organizations.clients.list(id) -> SyncPagingIterable<OrganizationClient>from parameter. If there are more results, a next value is included in the response. You can use this for subsequent API calls. When next is no longer included in the response, no further results are remaining.
+ client.organizations.clients.create(id, request) -> List<OrganizationClient>client.organizations.clients.delete(id, request)client.organizations.clients.get(id, clientId) -> GetOrganizationClientResponseContentclient.organizations.clients.update(id, clientId, request) -> UpdateOrganizationClientResponseContentclient.organizations.connections.list(id) -> SyncPagingIterable<OrganizationAllConnectionPost>client.organizations.connections.create(id, request) -> CreateOrganizationAllConnectionResponseContentclient.organizations.connections.get(id, connectionId) -> GetOrganizationAllConnectionResponseContentclient.organizations.connections.delete(id, connectionId)client.organizations.connections.update(id, connectionId, request) -> UpdateOrganizationAllConnectionResponseContentclient.organizations.discoveryDomains.list(id) -> SyncPagingIterable<OrganizationDiscoveryDomain>client.organizations.discoveryDomains.create(id, request) -> CreateOrganizationDiscoveryDomainResponseContentclient.organizations.discoveryDomains.getByName(id, discoveryDomain) -> GetOrganizationDiscoveryDomainByNameResponseContentclient.organizations.discoveryDomains.get(id, discoveryDomainId) -> GetOrganizationDiscoveryDomainResponseContentclient.organizations.discoveryDomains.delete(id, discoveryDomainId)client.organizations.discoveryDomains.update(id, discoveryDomainId, request) -> UpdateOrganizationDiscoveryDomainResponseContentclient.organizations.enabledConnections.list(id) -> SyncPagingIterable<OrganizationConnection>client.organizations.enabledConnections.add(id, request) -> AddOrganizationConnectionResponseContentclient.organizations.enabledConnections.get(id, connectionId) -> GetOrganizationConnectionResponseContentclient.organizations.enabledConnections.delete(id, connectionId)client.organizations.enabledConnections.update(id, connectionId, request) -> UpdateOrganizationConnectionResponseContentclient.organizations.invitations.list(id) -> SyncPagingIterable<OrganizationInvitation>client.organizations.invitations.create(id, request) -> CreateOrganizationInvitationResponseContentclient.organizations.invitations.get(id, invitationId) -> GetOrganizationInvitationResponseContentclient.organizations.invitations.delete(id, invitationId)client.organizations.members.list(id) -> SyncPagingIterable<OrganizationMember>client.organizations.members.create(id, request)client.organizations.members.delete(id, request)client.organizations.groups.list(organizationId) -> SyncPagingIterable<Group>client.organizations.groups.roles.list(organizationId, groupId) -> SyncPagingIterable<Role>client.organizations.groups.roles.create(organizationId, groupId, request)client.organizations.groups.roles.delete(organizationId, groupId, request)client.organizations.members.effectiveRoles.list(id, userId) -> SyncPagingIterable<OrganizationMemberEffectiveRole>client.organizations.members.roles.list(id, userId) -> SyncPagingIterable<Role>client.organizations.members.roles.assign(id, userId, request)client.organizations.members.roles.delete(id, userId, request)client.organizations.members.effectiveRoles.sources.groups.list(id, userId) -> SyncPagingIterable<Group>client.organizations.roles.members.list(id, roleId) -> SyncPagingIterable<RoleMember>GET /api/v2/organizations/{organization_id}/roles/{role_id}/groups.
+ client.organizations.roles.groups.list(organizationId, roleId) -> SyncPagingIterable<RoleGroup>client.prompts.rendering.list() -> SyncPagingIterable<ListAculsResponseContentItem>client.prompts.rendering.bulkUpdate(request) -> BulkUpdateAculResponseContentclient.prompts.rendering.get(prompt, screen) -> GetAculResponseContentclient.prompts.rendering.update(prompt, screen, request) -> UpdateAculResponseContentclient.prompts.customText.get(prompt, language) -> Map<String, Object>client.prompts.customText.set(prompt, language, request)client.prompts.partials.get(prompt) -> Map<String, Object>client.prompts.partials.set(prompt, request)client.riskAssessments.settings.get() -> GetRiskAssessmentsSettingsResponseContentclient.riskAssessments.settings.update(request) -> UpdateRiskAssessmentsSettingsResponseContentclient.riskAssessments.settings.newDevice.get() -> GetRiskAssessmentsSettingsNewDeviceResponseContentclient.riskAssessments.settings.newDevice.update(request) -> UpdateRiskAssessmentsSettingsNewDeviceResponseContentclient.roles.groups.get(id) -> SyncPagingIterable<Group>client.roles.groups.create(id, request)client.roles.groups.delete(id, request)client.roles.permissions.list(id) -> SyncPagingIterable<PermissionsResponsePayload>client.roles.permissions.add(id, request)client.roles.permissions.delete(id, request)client.roles.users.list(id) -> SyncPagingIterable<RoleUser>client.roles.users.assign(id, request)client.selfServiceProfiles.customText.list(id, language, page) -> Map<String, String>client.selfServiceProfiles.customText.set(id, language, page, request) -> Map<String, String>client.selfServiceProfiles.ssoTicket.create(id, request) -> CreateSelfServiceProfileSsoTicketResponseContentclient.selfServiceProfiles.ssoTicket.revoke(profileId, id)client.tenants.settings.get() -> GetTenantSettingsResponseContentclient.tenants.settings.update(request) -> UpdateTenantSettingsResponseContentclient.users.authenticationMethods.list(id) -> SyncPagingIterable<UserAuthenticationMethod>client.users.authenticationMethods.create(id, request) -> CreateUserAuthenticationMethodResponseContentclient.users.authenticationMethods.set(id, request) -> List<SetUserAuthenticationMethodResponseContent>client.users.authenticationMethods.deleteAll(id)client.users.authenticationMethods.get(id, authenticationMethodId) -> GetUserAuthenticationMethodResponseContentclient.users.authenticationMethods.delete(id, authenticationMethodId)client.users.authenticationMethods.update(id, authenticationMethodId, request) -> UpdateUserAuthenticationMethodResponseContentclient.users.authenticators.deleteAll(id)client.users.connectedAccounts.list(id) -> SyncPagingIterable<ConnectedAccount>client.users.effectivePermissions.list(id) -> SyncPagingIterable<UserEffectivePermissionResponseContent>client.users.effectiveRoles.list(id) -> SyncPagingIterable<UserEffectiveRole>client.users.enrollments.get(id) -> List<UsersEnrollment>client.users.groups.get(id) -> SyncPagingIterable<UserGroupsResponseSchema>client.users.identities.link(id, request) -> List<UserIdentity>client.users.identities.delete(id, provider, userId) -> List<DeleteUserIdentityResponseContentItem>client.users.logs.list(id) -> SyncPagingIterable<Log>client.users.multifactor.invalidateRememberBrowser(id)client.users.multifactor.deleteProvider(id, provider)client.users.organizations.list(id) -> SyncPagingIterable<Organization>client.users.permissions.list(id) -> SyncPagingIterable<UserPermissionSchema>client.users.permissions.create(id, request)client.users.permissions.delete(id, request)client.users.riskAssessments.clear(id, request)client.users.roles.list(id) -> SyncPagingIterable<Role>client.users.roles.assign(id, request)client.users.roles.delete(id, request)client.users.refreshToken.list(userId) -> SyncPagingIterable<RefreshTokenResponseContent>client.users.refreshToken.delete(userId)client.users.sessions.list(userId) -> SyncPagingIterable<SessionResponseContent>client.users.sessions.delete(userId)client.users.effectivePermissions.sources.roles.list(id) -> SyncPagingIterable<UserEffectivePermissionRoleSourceResponseContent>client.users.effectiveRoles.sources.groups.list(id) -> SyncPagingIterable<Group>client.verifiableCredentials.verification.templates.list() -> SyncPagingIterable<VerifiableCredentialTemplateResponse>client.verifiableCredentials.verification.templates.create(request) -> CreateVerifiableCredentialTemplateResponseContentclient.verifiableCredentials.verification.templates.get(id) -> GetVerifiableCredentialTemplateResponseContentclient.verifiableCredentials.verification.templates.delete(id)client.verifiableCredentials.verification.templates.update(id, request) -> UpdateVerifiableCredentialTemplateResponseContent- * Note: Rate-limiting retries is only applicable to the Management API client. - *
- * - * @param maxRetries the maximum number of consecutive retries to attempt upon a rate-limit error. Defaults to three. - * Must be a number between zero (do not retry) and ten. - */ - public void setManagementAPIMaxRetries(int maxRetries) { - if (maxRetries < 0 || maxRetries > 10) { - throw new IllegalArgumentException("Retries must be between zero and ten."); - } - this.mgmtApiMaxRetries = maxRetries; - } - - /** - * Sets the maximum number of requests for each host to execute concurrently. - * - * @param maxRequestsPerHost the maximum number of requests for each host to execute concurrently. Must be equal to or greater than one. - */ - public void setMaxRequestsPerHost(int maxRequestsPerHost) { - if (maxRequestsPerHost < 1) { - throw new IllegalArgumentException("maxRequestsPerHost must be one or greater."); - } - this.maxRequestsPerHost = maxRequestsPerHost; - } - - /** - * @return the maximum number of requests for each host to execute concurrently. - */ - public int getMaxRequestsPerHost() { - return this.maxRequestsPerHost; - } - - /** - * Sets the maximum number of requests to execute concurrently. - * - * @param maxRequests the number of requests to execute concurrently. Must be equal to or greater than one. - */ - public void setMaxRequests(int maxRequests) { - if (maxRequests < 1) { - throw new IllegalArgumentException("maxRequests must be one or greater."); - } - this.maxRequests = maxRequests; - } - - /** - * @return the number of requests to execute concurrently - */ - public int getMaxRequests() { - return this.maxRequests; - } -} diff --git a/src/main/java/com/auth0/client/LoggingOptions.java b/src/main/java/com/auth0/client/LoggingOptions.java index 5396ea52..c0ef54b7 100644 --- a/src/main/java/com/auth0/client/LoggingOptions.java +++ b/src/main/java/com/auth0/client/LoggingOptions.java @@ -1,7 +1,6 @@ package com.auth0.client; import com.auth0.utils.Asserts; - import java.util.Collections; import java.util.Set; @@ -73,5 +72,4 @@ public Set