HeaderAuthenticator constructor

HeaderAuthenticator(
  1. String headerName,
  2. String headerValue
)

Creates a HeaderAuthenticator that will set the header headerName to headerValue on every outgoing request.

Implementation

HeaderAuthenticator(this.headerName, this.headerValue);