Fix use of namespace qualifiers that have not been explicitly introduced (#5371)
* Fix use of namespace qualifiers that have not been explicitly introduced. * Format (sort usings alphabetically) * Update CHANGELOG.md * Update cspell.json --------- Co-authored-by: Morten Ofstad <morten.ofstad@bluware.com> Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
This commit is contained in:
parent
d5c1e01b88
commit
93d8c12e4c
4
.vscode/cspell.json
vendored
4
.vscode/cspell.json
vendored
@ -155,6 +155,7 @@
|
||||
"MHSM",
|
||||
"mmdc",
|
||||
"mmspecial",
|
||||
"morten",
|
||||
"moxygen",
|
||||
"MSAL",
|
||||
"msft",
|
||||
@ -175,8 +176,9 @@
|
||||
"nostd",
|
||||
"nread",
|
||||
"NTSTATUS",
|
||||
"odata",
|
||||
"Oaep",
|
||||
"odata",
|
||||
"ofstad",
|
||||
"OIDC",
|
||||
"okhttp",
|
||||
"opentelemetry",
|
||||
|
||||
@ -8,7 +8,13 @@
|
||||
|
||||
### Bugs Fixed
|
||||
|
||||
### Other Changes
|
||||
- [[#4352]](https://github.com/Azure/azure-sdk-for-cpp/pull/5371) Fixed compilation error on Visual Studio 2017. (A community contribution, courtesy of _[morten-ofstad](https://github.com/morten-ofstad)_)
|
||||
|
||||
### Acknowledgments
|
||||
|
||||
Thank you to our developer community members who helped to make Azure Core better with their contributions to this release:
|
||||
|
||||
- Morten Ofstad _([GitHub](https://github.com/morten-ofstad))_
|
||||
|
||||
## 1.11.2 (2024-02-16)
|
||||
|
||||
|
||||
@ -43,7 +43,7 @@ bool TryGetNextParameter(StringSpan& headerValue, StringSpan& paramKey, StringSp
|
||||
std::string const EmptyString;
|
||||
} // namespace
|
||||
|
||||
std::string const& AuthorizationChallengeHelper::GetChallenge(Http::RawResponse const& response)
|
||||
std::string const& AuthorizationChallengeHelper::GetChallenge(RawResponse const& response)
|
||||
{
|
||||
// See RFC7235 (https://www.rfc-editor.org/rfc/rfc7235#section-4.1)
|
||||
if (response.GetStatusCode() == HttpStatusCode::Unauthorized)
|
||||
|
||||
@ -14,6 +14,7 @@ using Azure::Core::Credentials::AuthenticationException;
|
||||
using Azure::Core::Credentials::TokenRequestContext;
|
||||
using Azure::Core::Credentials::_detail::AuthorizationChallengeHelper;
|
||||
using Azure::Core::Http::RawResponse;
|
||||
using Azure::Core::Http::Request;
|
||||
using Azure::Core::Http::Policies::NextHttpPolicy;
|
||||
|
||||
std::unique_ptr<RawResponse> BearerTokenAuthenticationPolicy::Send(
|
||||
@ -83,7 +84,7 @@ void ApplyBearerToken(
|
||||
|
||||
void BearerTokenAuthenticationPolicy::AuthenticateAndAuthorizeRequest(
|
||||
Request& request,
|
||||
Credentials::TokenRequestContext const& tokenRequestContext,
|
||||
TokenRequestContext const& tokenRequestContext,
|
||||
Context const& context) const
|
||||
{
|
||||
DateTime const currentTime = std::chrono::system_clock::now();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user