From aae6d1752d3bffa906c34b45f000081d24b8a10f Mon Sep 17 00:00:00 2001 From: Victor Santos Date: Wed, 19 Nov 2025 10:12:32 -0300 Subject: [PATCH] docs: add LDAP authentication example and parameters to .NET SDK documentation --- docs/sdks/languages/dotnet.mdx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/sdks/languages/dotnet.mdx b/docs/sdks/languages/dotnet.mdx index 7b3d12885..b02aa9d75 100644 --- a/docs/sdks/languages/dotnet.mdx +++ b/docs/sdks/languages/dotnet.mdx @@ -118,6 +118,22 @@ var _ = await sdk.Auth().UniversalAuth().LoginAsync( - `clientId` (string): The client ID of your Machine Identity. - `clientSecret` (string): The client secret of your Machine Identity. +### LDAP Auth + +#### Authenticating +```cs +var _ = await sdk.Auth().LdapAuth().LoginAsync( + "IDENTITY_ID", + "USERNAME", + "PASSWORD" +); +``` + +**Parameters:** +- `identityId` (string): The ID of your Machine Identity . +- `username` (string): The LDAP username for authentication. +- `password` (string): The LDAP password for authentication. + ### `Secrets()` The `Secrets()` sub-class handles operations related to the Infisical secrets management product.