Object - auth : InboundBasicAuthProvider

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

Constructor

__init

(BasicAuthConfig? basicAuthConfig)

Methods

Fields

authenticate

(string credential)

returns boolean | AuthError

Attempts to authenticate with credentials.

Parameters

  • credential string
  • Credential

  • Return Type

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