feat(auth): add OAuth2 client credentials support (alpha) - #8486
leandrodamascena merged 8 commits into
Quality Gate passed
Annotations
Check failure on line 113 in aws_lambda_powertools/utilities/auth_alpha/oauth2/client.py
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 16 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=aws-powertools_powertools-lambda-python&issues=AaDvqhSk3f2ysA7ZGIWP&open=AaDvqhSk3f2ysA7ZGIWP&pullRequest=8486
Check warning on line 226 in tests/integration/auth_alpha/oauth2/test_provider_contracts.py
sonarqubecloud / SonarCloud Code Analysis
Refactor this exception test to have only one invocation possibly throwing an exception.
See more on https://sonarcloud.io/project/issues?id=aws-powertools_powertools-lambda-python&issues=AaDvqhK53f2ysA7ZGIWN&open=AaDvqhK53f2ysA7ZGIWN&pullRequest=8486
Check failure on line 55 in aws_lambda_powertools/utilities/auth_alpha/_internal/transport.py
sonarqubecloud / SonarCloud Code Analysis
Make parameter self keyword-or-positional. This method overrides io.RawIOBase.readinto.
See more on https://sonarcloud.io/project/issues?id=aws-powertools_powertools-lambda-python&issues=AaDTbKKcYguKrrCATol_&open=AaDTbKKcYguKrrCATol_&pullRequest=8486
Check failure on line 28 in examples/auth_alpha/oauth2/src/diagnostics.py
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "Inventory request unavailable" 3 times.
See more on https://sonarcloud.io/project/issues?id=aws-powertools_powertools-lambda-python&issues=AaDTbKFgYguKrrCATol-&open=AaDTbKFgYguKrrCATol-&pullRequest=8486
Check warning on line 262 in tests/integration/auth_alpha/oauth2/test_provider_contracts.py
sonarqubecloud / SonarCloud Code Analysis
Refactor this exception test to have only one invocation possibly throwing an exception.
See more on https://sonarcloud.io/project/issues?id=aws-powertools_powertools-lambda-python&issues=AaDvqhK53f2ysA7ZGIWO&open=AaDvqhK53f2ysA7ZGIWO&pullRequest=8486