buildAuthorizationHeader static method

String buildAuthorizationHeader(
  1. String accessKey,
  2. String credentialScope,
  3. Map<String, String?> headers,
  4. String signature,
)

Implementation

static String buildAuthorizationHeader(String accessKey,
    String credentialScope, Map<String, String?> headers, String signature) {
  return '$_awsSha256 Credential=$accessKey/$credentialScope, SignedHeaders=${buildCanonicalSignedHeaders(headers)}, Signature=$signature';
}