From eb64a73799b181341ec7b9ba3d9b163d6836705c Mon Sep 17 00:00:00 2001 From: Fang-Pen Lin Date: Fri, 3 Oct 2025 10:37:30 -0700 Subject: [PATCH] Move doc section around to match the one in API doc --- docs/sdks/languages/java.mdx | 52 ++++++++++++++++++------------------ 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/docs/sdks/languages/java.mdx b/docs/sdks/languages/java.mdx index dba1191fd..6e949b118 100644 --- a/docs/sdks/languages/java.mdx +++ b/docs/sdks/languages/java.mdx @@ -105,32 +105,6 @@ sdk.Auth().UniversalAuthLogin( - `clientId` (string): The client ID of your Machine Identity. - `clientSecret` (string): The client secret of your Machine Identity. -### LDAP Auth - -```java -public void LdapAuthLogin( - LdapAuthLoginInput input -) -throws InfisicalException -``` - -```java -var input = LdapAuthLoginInput - .builder() - .identityId("") - .username("") - .password("") - .build(); - -sdk.Auth().LdapAuthLogin(input); -``` - -**Parameters:** -- `input` (LdapAuthLoginInput): The input for authenticating with LDAP. - - `identityId` (String): The ID of the machine identity to authenticate with. - - `username` (String): The LDAP username. - - `password` (String): The LDAP password. - ### AWS Auth ```java @@ -183,6 +157,32 @@ var input = AwsAuthProvider.defaultProvider() .toLoginInput(""); ``` +### LDAP Auth + +```java +public void LdapAuthLogin( + LdapAuthLoginInput input +) +throws InfisicalException +``` + +```java +var input = LdapAuthLoginInput + .builder() + .identityId("") + .username("") + .password("") + .build(); + +sdk.Auth().LdapAuthLogin(input); +``` + +**Parameters:** +- `input` (LdapAuthLoginInput): The input for authenticating with LDAP. + - `identityId` (String): The ID of the machine identity to authenticate with. + - `username` (String): The LDAP username. + - `password` (String): The LDAP password. + ### Access Token Auth #### Authenticating