This API documentation is for Ballerina 1.2.0. View API documentation for the latest release.

Record - auth : Credential

Represents the Basic Authentication configurations, which are used by the HTTP endpoint.

Closed record

Fields

  • username string
  • Username for Basic authentication

  • password string
  • Password for Basic authentication