Object - auth : InboundBasicAuthProvider

Represents the inbound basic Auth provider, which is a configuration-file-based Auth provider.

Constructor

__init

(BasicAuthConfig? basicAuthConfig)

  • basicAuthConfig BasicAuthConfig? ()
  • The Basic Auth provider configurations.

Methods

Fields

authenticate

(string credential)

returns boolean | Error

Attempts to authenticate with credentials.

Parameters

  • credential string
  • Credential

  • Return Type

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