Object - auth : InboundAuthProvider

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

authenticate

(string credential)

returns boolean | Error

Authenticate with credential value passed.

Parameters

  • credential string
  • Credential value

  • Return Type

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