aws-crt-cpp
C++ wrapper around the aws-c-* libraries. Provides Cross-Platform Transport Protocols and SSL/TLS implementations for C++.
|
#include <HttpProxyStrategy.h>
Public Member Functions | |
HttpProxyStrategyAdaptiveConfig () | |
Public Attributes | |
KerberosGetTokenFunction | KerberosGetToken |
KerberosGetTokenFunction | NtlmGetCredential |
NtlmGetTokenFunction | NtlmGetToken |
Configuration for a proxy strategy that attempts to use kerberos and ntlm, based on authentication failure feedback from the proxy's responses to CONNECT attempts. The kerberos/ntlm callbacks are currently synchronous but invoked potentially from within event loop threads. This is not optimal but transitioning to fully async hasn't been a need yet.
The adapative strategy will skip an authentication method whose callbacks are not supplied, so you can use this for purely kerberos or ntlm as well.
|
inline |
KerberosGetTokenFunction Aws::Crt::Http::HttpProxyStrategyAdaptiveConfig::KerberosGetToken |
User-supplied callback for fetching kerberos tokens
KerberosGetTokenFunction Aws::Crt::Http::HttpProxyStrategyAdaptiveConfig::NtlmGetCredential |
User-supplied callback for fetching an ntlm credential
NtlmGetTokenFunction Aws::Crt::Http::HttpProxyStrategyAdaptiveConfig::NtlmGetToken |
User-supplied callback for fetching an ntlm token