Condividi tramite


AuthenticationMethodLdapProperties Class

Definition

Ldap authentication method properties. This feature is in preview.

public class AuthenticationMethodLdapProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CosmosDB.Models.AuthenticationMethodLdapProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CosmosDB.Models.AuthenticationMethodLdapProperties>
type AuthenticationMethodLdapProperties = class
    interface IJsonModel<AuthenticationMethodLdapProperties>
    interface IPersistableModel<AuthenticationMethodLdapProperties>
Public Class AuthenticationMethodLdapProperties
Implements IJsonModel(Of AuthenticationMethodLdapProperties), IPersistableModel(Of AuthenticationMethodLdapProperties)
Inheritance
AuthenticationMethodLdapProperties
Implements

Constructors

AuthenticationMethodLdapProperties()

Initializes a new instance of AuthenticationMethodLdapProperties.

Properties

ConnectionTimeoutInMs

Timeout for connecting to the LDAP server in miliseconds. The default is 5000 ms.

SearchBaseDistinguishedName

Distinguished name of the object to start the recursive search of users from.

SearchFilterTemplate

Template to use for searching. Defaults to (cn=%s) where %s will be replaced by the username used to login.

ServerCertificates

Gets the server certificates.

ServerHostname

Hostname of the LDAP server.

ServerPort

Port of the LDAP server.

ServiceUserDistinguishedName

Distinguished name of the look up user account, who can look up user details on authentication.

ServiceUserPassword

Password of the look up user.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AuthenticationMethodLdapProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<AuthenticationMethodLdapProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AuthenticationMethodLdapProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AuthenticationMethodLdapProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<AuthenticationMethodLdapProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to