Object - ldap : InboundLdapAuthProvider

Represents Ballerina configuration for LDAP based auth provider.

Constructor

__init

(LdapConnectionConfig ldapConnectionConfig, string instanceId)

  • instanceId string
  • Endpoint instance id

Methods

Fields

  • instanceId string
  • Endpoint instance id

authenticate

(string credential)

returns boolean | Error

Authenticate with username and password.

Parameters

  • credential string
  • Credential value

  • Return Type

    (boolean | Error)
  • true if authentication is successful, otherwise false or auth:Error occurred while extracting credentials