aws-crt-cpp
Classes | Typedefs | Enumerations
Aws::Crt::Auth Namespace Reference

Classes

class  AwsSigningConfig
 
class  Credentials
 
class  CredentialsProvider
 
struct  CredentialsProviderCachedConfig
 
struct  CredentialsProviderCallbackArgs
 
struct  CredentialsProviderChainConfig
 
struct  CredentialsProviderChainDefaultConfig
 
struct  CredentialsProviderImdsConfig
 
struct  CredentialsProviderProfileConfig
 
struct  CredentialsProviderStaticConfig
 
struct  HttpSignerCallbackData
 
class  ICredentialsProvider
 
class  IHttpRequestSigner
 
class  ISigningConfig
 
class  Sigv4HttpRequestSigner
 

Typedefs

using OnCredentialsResolved = std::function< void(std::shared_ptr< Credentials >)>
 
using OnHttpRequestSigningComplete = std::function< void(const std::shared_ptr< Aws::Crt::Http::HttpRequest > &, int)>
 
using ShouldSignParameterCb = bool(*)(const Crt::ByteCursor *, void *)
 

Enumerations

enum  SigningConfigType { SigningConfigType::Aws = AWS_SIGNING_CONFIG_AWS }
 
enum  SigningAlgorithm { SigningAlgorithm::SigV4Header = AWS_SIGNING_ALGORITHM_SIG_V4_HEADER, SigningAlgorithm::SigV4QueryParam = AWS_SIGNING_ALGORITHM_SIG_V4_QUERY_PARAM, SigningAlgorithm::Count = AWS_SIGNING_ALGORITHM_COUNT }
 
enum  BodySigningType { BodySigningType::NoSigning = AWS_BODY_SIGNING_OFF, BodySigningType::SignBody = AWS_BODY_SIGNING_ON, BodySigningType::UnsignedPayload = AWS_BODY_SIGNING_UNSIGNED_PAYLOAD }
 

Typedef Documentation

◆ OnCredentialsResolved

using Aws::Crt::Auth::OnCredentialsResolved = typedef std::function<void(std::shared_ptr<Credentials>)>

Callback invoked by credentials providers when resolution succeeds (credentials will be non-null) or fails (credentials will be null)

◆ OnHttpRequestSigningComplete

using Aws::Crt::Auth::OnHttpRequestSigningComplete = typedef std::function<void(const std::shared_ptr<Aws::Crt::Http::HttpRequest> &, int)>

HTTP signing callback. The second parameter is an aws error code, The signing was successful iff the error code is AWS_ERROR_SUCCESS.

◆ ShouldSignParameterCb

using Aws::Crt::Auth::ShouldSignParameterCb = typedef bool (*)(const Crt::ByteCursor *, void *)

Enumeration Type Documentation

◆ BodySigningType

Enumerator
NoSigning 
SignBody 
UnsignedPayload 

◆ SigningAlgorithm

Enumerator
SigV4Header 
SigV4QueryParam 
Count 

◆ SigningConfigType

Enumerator
Aws