aws / aws-sdk-cpp

AWS SDK for C++
Apache License 2.0
1.96k stars 1.05k forks source link

Support passing ClientConfiguration to SSOCredentialsProvider. #2860

Closed teo-tsirpanis closed 1 week ago

teo-tsirpanis commented 7 months ago

Issue #, if available:

Description of changes:

This PR adds a constructor overload to SSOCredentialsProvider that allows passing a pointer to a ClientConfiguration object. This is necessary for scenarios like specifying custom CA certificates or custom retry policies.

I also slightly restructured the code to not rely on the ClientConfig to pass options like the region or the scheme, passing them instead as separate parameters.

Let me know how I should test this.

Check all that applies:

Check which platforms you have built SDK on to verify the correctness of this PR.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.