AWS SDK for C++

AWS SDK for C++ Version 1.11.810

Loading...
Searching...
No Matches
AWSNullSigner.h
1
6#pragma once
7
8#include "aws/core/auth/signer/AWSAuthSignerBase.h"
9
10namespace Aws
11{
12 namespace Http
13 {
14 class HttpRequest;
15 } // namespace Http
16
17 namespace Utils
18 {
19 namespace Event
20 {
21 class Message;
22 }
23 } // namespace Utils
24
25 namespace Auth
26 {
27 AWS_CORE_API extern const char NULL_SIGNER[];
28 } // namespace Auth
29
30 namespace Client
31 {
35 class AWS_CORE_API AWSNullSigner : public AWSAuthSigner
36 {
37 public:
42 const char* GetName() const override { return Aws::Auth::NULL_SIGNER; }
43
47 bool SignRequest(Aws::Http::HttpRequest&) const override { return true; }
48
52 bool SignEventMessage(Aws::Utils::Event::Message&, Aws::String& /* priorSignature */) const override { return true; }
53
57 bool PresignRequest(Aws::Http::HttpRequest&, long long) const override { return false; }
58
62 bool PresignRequest(Aws::Http::HttpRequest&, const char*, long long) const override { return false; }
63
67 bool PresignRequest(Aws::Http::HttpRequest&, const char*, const char*, long long) const override { return false; }
68 };
69
70 } // namespace Client
71} // namespace Aws
72
bool PresignRequest(Aws::Http::HttpRequest &, long long) const override
bool SignEventMessage(Aws::Utils::Event::Message &, Aws::String &) const override
const char * GetName() const override
bool PresignRequest(Aws::Http::HttpRequest &, const char *, long long) const override
bool SignRequest(Aws::Http::HttpRequest &) const override
bool PresignRequest(Aws::Http::HttpRequest &, const char *, const char *, long long) const override
AWS_CORE_API const char NULL_SIGNER[]
Definition AWSClient.h:58
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition AWSString.h:97