Credentials.apiKey constructor

const Credentials.apiKey(
  1. String payload
)

Convenience initializer for creating credentials of type 'api-key' with the provided key as payload.

Implementation

const Credentials.apiKey(this.payload) : type = 'api-key';