azure-core
Loading...
Searching...
No Matches
authorization_challenge_parser.hpp
Go to the documentation of this file.
1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT License.
3
9#pragma once
10
12
13#include <string>
14
15namespace Azure { namespace Core { namespace Credentials {
16 namespace _detail {
17 class AuthorizationChallengeHelper final {
18 public:
19 static std::string const& GetChallenge(Http::RawResponse const& response);
20 };
21 } // namespace _detail
22
23 namespace _internal {
24 class AuthorizationChallengeParser final {
25 private:
26 AuthorizationChallengeParser() = delete;
27 ~AuthorizationChallengeParser() = delete;
28
29 public:
39 static std::string GetChallengeParameter(
40 std::string const& challenge,
41 std::string const& challengeScheme,
42 std::string const& challengeParameter);
43 };
44 } // namespace _internal
45}}} // namespace Azure::Core::Credentials
Compute the hash value for the input binary data, using SHA256, SHA384 and SHA512.
Definition azure_assert.hpp:57
Define the HTTP raw response.