3 from boto.auth_handler import AuthHandler
9 def __init__(self, host, config, provider) -> None: ...
10 def update_provider(self, provider): ...
11 def algorithm(self): ...
12 def sign_string(self, string_to_sign): ...
14 class AnonAuthHandler(AuthHandler, HmacKeys):
16 def __init__(self, host, config, provider) -> None: ...
17 def add_auth(self, http_request, **kwargs): ...
19 class HmacAuthV1Handler(AuthHandler, HmacKeys):
21 def __init__(self, host, config, provider) -> None: ...
22 def update_provider(self, provider): ...
23 def add_auth(self, http_request, **kwargs): ...
25 class HmacAuthV2Handler(AuthHandler, HmacKeys):
27 def __init__(self, host, config, provider) -> None: ...
28 def update_provider(self, provider): ...
29 def add_auth(self, http_request, **kwargs): ...
31 class HmacAuthV3Handler(AuthHandler, HmacKeys):
33 def __init__(self, host, config, provider) -> None: ...
34 def add_auth(self, http_request, **kwargs): ...
36 class HmacAuthV3HTTPHandler(AuthHandler, HmacKeys):
38 def __init__(self, host, config, provider) -> None: ...
39 def headers_to_sign(self, http_request): ...
40 def canonical_headers(self, headers_to_sign): ...
41 def string_to_sign(self, http_request): ...
42 def add_auth(self, req, **kwargs): ...
44 class HmacAuthV4Handler(AuthHandler, HmacKeys):
48 def __init__(self, host, config, provider, service_name: Any | None = ..., region_name: Any | None = ...) -> None: ...
49 def headers_to_sign(self, http_request): ...
50 def host_header(self, host, http_request): ...
51 def query_string(self, http_request): ...
52 def canonical_query_string(self, http_request): ...
53 def canonical_headers(self, headers_to_sign): ...
54 def signed_headers(self, headers_to_sign): ...
55 def canonical_uri(self, http_request): ...
56 def payload(self, http_request): ...
57 def canonical_request(self, http_request): ...
58 def scope(self, http_request): ...
59 def split_host_parts(self, host): ...
60 def determine_region_name(self, host): ...
61 def determine_service_name(self, host): ...
62 def credential_scope(self, http_request): ...
63 def string_to_sign(self, http_request, canonical_request): ...
64 def signature(self, http_request, string_to_sign): ...
65 def add_auth(self, req, **kwargs): ...
67 class S3HmacAuthV4Handler(HmacAuthV4Handler, AuthHandler):
70 def __init__(self, *args, **kwargs) -> None: ...
71 def clean_region_name(self, region_name): ...
72 def canonical_uri(self, http_request): ...
73 def canonical_query_string(self, http_request): ...
74 def host_header(self, host, http_request): ...
75 def headers_to_sign(self, http_request): ...
76 def determine_region_name(self, host): ...
77 def determine_service_name(self, host): ...
78 def mangle_path_and_params(self, req): ...
79 def payload(self, http_request): ...
80 def add_auth(self, req, **kwargs): ...
81 def presign(self, req, expires, iso_date: Any | None = ...): ...
83 class STSAnonHandler(AuthHandler):
85 def add_auth(self, http_request, **kwargs): ...
87 class QuerySignatureHelper(HmacKeys):
88 def add_auth(self, http_request, **kwargs): ...
90 class QuerySignatureV0AuthHandler(QuerySignatureHelper, AuthHandler):
94 class QuerySignatureV1AuthHandler(QuerySignatureHelper, AuthHandler):
97 def __init__(self, *args, **kw) -> None: ...
99 class QuerySignatureV2AuthHandler(QuerySignatureHelper, AuthHandler):
100 SignatureVersion: int
103 class POSTPathQSV2AuthHandler(QuerySignatureV2AuthHandler, AuthHandler):
105 def add_auth(self, req, **kwargs): ...
107 def get_auth_handler(host, config, provider, requested_capability: Any | None = ...): ...
108 def detect_potential_sigv4(func): ...
109 def detect_potential_s3sigv4(func): ...