Add missing interface for OAuth/role integration - #402
Quality Gate failed
Failed conditions
0.0% Coverage on New Code (required ≥ 80%)
B Maintainability Rating on New Code (required ≥ A)
See analysis details on SonarQube Cloud
Catch issues before they fail your Quality Gate with our IDE extension
SonarQube for IDE
Annotations
Check warning on line 218 in src/services/include/services/OAuthClient.hpp
sonarqubecloud / SonarCloud Code Analysis
This function should be declared "const".
See more on https://sonarcloud.io/project/issues?id=fair-acc_opencmw-cpp&issues=AZ1OGiSkPU4l3pg_iGc-&open=AZ1OGiSkPU4l3pg_iGc-&pullRequest=402
Check warning on line 132 in src/services/include/services/OAuthClient.hpp
sonarqubecloud / SonarCloud Code Analysis
Remove this empty statement.
See more on https://sonarcloud.io/project/issues?id=fair-acc_opencmw-cpp&issues=AZ1OGiSkPU4l3pg_iGc9&open=AZ1OGiSkPU4l3pg_iGc9&pullRequest=402
Check warning on line 101 in src/services/include/services/OAuthClient.hpp
sonarqubecloud / SonarCloud Code Analysis
Pass large object "redirectUri" by reference to const.
See more on https://sonarcloud.io/project/issues?id=fair-acc_opencmw-cpp&issues=AZ1OGiSkPU4l3pg_iGc3&open=AZ1OGiSkPU4l3pg_iGc3&pullRequest=402
Check warning on line 281 in src/services/include/services/OAuthClient.hpp
sonarqubecloud / SonarCloud Code Analysis
Pass large object "userinfoEndpoint" by reference to const.
See more on https://sonarcloud.io/project/issues?id=fair-acc_opencmw-cpp&issues=AZ1OGiSkPU4l3pg_iGdJ&open=AZ1OGiSkPU4l3pg_iGdJ&pullRequest=402
Check warning on line 104 in src/services/include/services/OAuthClient.hpp
sonarqubecloud / SonarCloud Code Analysis
Define each identifier in a dedicated statement.
See more on https://sonarcloud.io/project/issues?id=fair-acc_opencmw-cpp&issues=AZ1OGiSkPU4l3pg_iGc8&open=AZ1OGiSkPU4l3pg_iGc8&pullRequest=402
Check warning on line 278 in src/services/include/services/OAuthClient.hpp
sonarqubecloud / SonarCloud Code Analysis
Pass large object "settings" by reference to const.
See more on https://sonarcloud.io/project/issues?id=fair-acc_opencmw-cpp&issues=AZ1OGiSkPU4l3pg_iGdF&open=AZ1OGiSkPU4l3pg_iGdF&pullRequest=402
Check warning on line 278 in src/services/include/services/OAuthClient.hpp
sonarqubecloud / SonarCloud Code Analysis
Pass large object "endpoint" by reference to const.
See more on https://sonarcloud.io/project/issues?id=fair-acc_opencmw-cpp&issues=AZ1OGiSkPU4l3pg_iGdB&open=AZ1OGiSkPU4l3pg_iGdB&pullRequest=402
Check warning on line 278 in src/services/include/services/OAuthClient.hpp
sonarqubecloud / SonarCloud Code Analysis
Pass large object "redirectUri" by reference to const.
See more on https://sonarcloud.io/project/issues?id=fair-acc_opencmw-cpp&issues=AZ1OGiSkPU4l3pg_iGdA&open=AZ1OGiSkPU4l3pg_iGdA&pullRequest=402
Check warning on line 278 in src/services/include/services/OAuthClient.hpp
sonarqubecloud / SonarCloud Code Analysis
Pass large object "tokenEndpoint" by reference to const.
See more on https://sonarcloud.io/project/issues?id=fair-acc_opencmw-cpp&issues=AZ1OGiSkPU4l3pg_iGdC&open=AZ1OGiSkPU4l3pg_iGdC&pullRequest=402
Check warning on line 278 in src/services/include/services/OAuthClient.hpp
sonarqubecloud / SonarCloud Code Analysis
Pass large object "userinfoEndpoint" by reference to const.
See more on https://sonarcloud.io/project/issues?id=fair-acc_opencmw-cpp&issues=AZ1OGiSkPU4l3pg_iGdD&open=AZ1OGiSkPU4l3pg_iGdD&pullRequest=402
Check warning on line 281 in src/services/include/services/OAuthClient.hpp
sonarqubecloud / SonarCloud Code Analysis
Pass large object "endpoint" by reference to const.
See more on https://sonarcloud.io/project/issues?id=fair-acc_opencmw-cpp&issues=AZ1OGiSkPU4l3pg_iGdH&open=AZ1OGiSkPU4l3pg_iGdH&pullRequest=402
Check warning on line 103 in src/services/include/services/OAuthClient.hpp
sonarqubecloud / SonarCloud Code Analysis
This lambda has 25 lines, which is greater than the 20 lines authorized. Split it into several lambdas or functions, or make it a named function.
See more on https://sonarcloud.io/project/issues?id=fair-acc_opencmw-cpp&issues=AZ1OGiSkPU4l3pg_iGc7&open=AZ1OGiSkPU4l3pg_iGc7&pullRequest=402
Check warning on line 101 in src/services/include/services/OAuthClient.hpp
sonarqubecloud / SonarCloud Code Analysis
Pass large object "endpoint" by reference to const.
See more on https://sonarcloud.io/project/issues?id=fair-acc_opencmw-cpp&issues=AZ1OGiSkPU4l3pg_iGc4&open=AZ1OGiSkPU4l3pg_iGc4&pullRequest=402
Check warning on line 101 in src/services/include/services/OAuthClient.hpp
sonarqubecloud / SonarCloud Code Analysis
Pass large object "userinfoEndpoint" by reference to const.
See more on https://sonarcloud.io/project/issues?id=fair-acc_opencmw-cpp&issues=AZ1OGiSkPU4l3pg_iGc6&open=AZ1OGiSkPU4l3pg_iGc6&pullRequest=402
Check warning on line 278 in src/services/include/services/OAuthClient.hpp
sonarqubecloud / SonarCloud Code Analysis
Pass large object "brokerAddress" by reference to const.
See more on https://sonarcloud.io/project/issues?id=fair-acc_opencmw-cpp&issues=AZ1OGiSkPU4l3pg_iGdE&open=AZ1OGiSkPU4l3pg_iGdE&pullRequest=402
Check warning on line 281 in src/services/include/services/OAuthClient.hpp
sonarqubecloud / SonarCloud Code Analysis
Pass large object "redirecturi" by reference to const.
See more on https://sonarcloud.io/project/issues?id=fair-acc_opencmw-cpp&issues=AZ1OGiSkPU4l3pg_iGdG&open=AZ1OGiSkPU4l3pg_iGdG&pullRequest=402
Check warning on line 101 in src/services/include/services/OAuthClient.hpp
sonarqubecloud / SonarCloud Code Analysis
Pass large object "tokenEndpoint" by reference to const.
See more on https://sonarcloud.io/project/issues?id=fair-acc_opencmw-cpp&issues=AZ1OGiSkPU4l3pg_iGc5&open=AZ1OGiSkPU4l3pg_iGc5&pullRequest=402
Check warning on line 281 in src/services/include/services/OAuthClient.hpp
sonarqubecloud / SonarCloud Code Analysis
Pass large object "tokenEndpoint" by reference to const.
See more on https://sonarcloud.io/project/issues?id=fair-acc_opencmw-cpp&issues=AZ1OGiSkPU4l3pg_iGdI&open=AZ1OGiSkPU4l3pg_iGdI&pullRequest=402
Check warning on line 230 in src/services/include/services/OAuthClient.hpp
sonarqubecloud / SonarCloud Code Analysis
Convert this string literal to a raw string literal.
See more on https://sonarcloud.io/project/issues?id=fair-acc_opencmw-cpp&issues=AZ1OGiSkPU4l3pg_iGc_&open=AZ1OGiSkPU4l3pg_iGc_&pullRequest=402