Object - auth : InboundAuthProvider

Represents the inbound Auth provider. Any type of implementation such as LDAP, JDBC, file-based etc. should be object-wise similar.

authenticate

(string credential)

returns boolean | AuthError

Authenticate with credential value passed.

Parameters

  • credential string
  • Credential value

  • Return Type

    (boolean | AuthError)
  • True if authentication is a success, else false or AuthError if any error occurred