Skip to content

Commit

Permalink
Merge feat/sra-identity-and-auth.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sichan Yoo committed Oct 18, 2023
2 parents 5318453 + 981f9f9 commit 6692591
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ public struct SigV4AuthScheme: ClientRuntime.AuthScheme {
public let schemeID: String = "aws.auth#sigv4"
public let signer: ClientRuntime.Signer = AWSSigV4Signer()
public let idKind: ClientRuntime.IdentityKind = .aws
public func customizeSigningProperties(signingProperties: Attributes, config: HttpContext) -> Attributes {

public func customizeSigningProperties(signingProperties: Attributes, context: HttpContext) -> Attributes {
var copy = signingProperties
copy.set(key: AttributeKeys.bidirectionalStreaming, value: config.isBidirectionalStreamingEnabled())
copy.set(key: AttributeKeys.signingRegion, value: config.getSigningRegion())
copy.set(key: AttributeKeys.bidirectionalStreaming, value: context.isBidirectionalStreamingEnabled())
copy.set(key: AttributeKeys.signingRegion, value: context.getSigningRegion())
return copy
}
}

0 comments on commit 6692591

Please sign in to comment.