Lesson 35 - Get Compute Auth Token Working
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
/**
|
||||
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* SPDX-License-Identifier: Apache-2.0.
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <aws/crt/Variant.h>
|
||||
|
||||
#include <aws/core/utils/DateTime.h>
|
||||
#include <aws/core/utils/memory/stl/AWSMap.h>
|
||||
#include <aws/core/endpoint/EndpointParameter.h>
|
||||
|
||||
namespace smithy {
|
||||
/* AuthSchemeOption and AuthSchemeOptionResolver */
|
||||
class AuthSchemeOption
|
||||
{
|
||||
using PropertyBag = Aws::UnorderedMap<Aws::String, Aws::Crt::Variant<Aws::String, bool>>;
|
||||
using EndpointParameters = Aws::Vector<Aws::Endpoint::EndpointParameter>;
|
||||
/* note: AuthSchemeOption is not connected with AuthScheme by type system, only by the String of schemeId, this is in accordance with SRA */
|
||||
public:
|
||||
AuthSchemeOption(const char* id = nullptr): schemeId(id) {}
|
||||
virtual ~AuthSchemeOption() = default;
|
||||
|
||||
const char* schemeId = nullptr;
|
||||
|
||||
PropertyBag virtual identityProperties() const { return PropertyBag{}; };
|
||||
PropertyBag virtual signerProperties() const { return PropertyBag{}; };
|
||||
EndpointParameters virtual endpointParameters() const { return EndpointParameters{}; };
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user