cloud_sdk/
authentication.rs1mod attempt;
4#[cfg(feature = "alloc")]
5mod attempt_owned;
6mod binding;
7mod expiry;
8mod generation;
9mod policy;
10mod signing;
11mod transport;
12mod value;
13
14pub use attempt::{
15 CredentialAttempt, CredentialAttemptError, CredentialAttemptGeneration,
16 CredentialAttemptStatus, CredentialDispatchGuard, CredentialReconfirmation,
17 SharedCredentialAttemptState,
18};
19#[cfg(feature = "alloc")]
20pub use attempt_owned::{OwnedCredentialAttempt, OwnedCredentialAttemptState};
21pub use binding::{
22 BoundCredentialTransport, CREDENTIAL_BINDING_BYTES, CredentialBinding, CredentialBindingError,
23};
24pub use expiry::{
25 CredentialLifetime, CredentialLifetimeError, CredentialLifetimeState, CredentialTimestamp,
26};
27pub use generation::{CredentialGeneration, CredentialGenerationError, RefreshHandoff};
28pub use policy::{
29 AuthenticationScope, AuthenticationScopeError, AuthenticationScopePolicy, ScopeField,
30 ScopeRequirement, ScopeViolation,
31};
32pub use signing::{
33 CanonicalSigningInput, MAX_CANONICAL_SIGNING_INPUT_BYTES, MAX_SIGNING_ALGORITHM_BYTES,
34 MAX_SIGNING_BODY_DIGEST_BYTES, MAX_SIGNING_DIGEST_ALGORITHM_BYTES, MAX_SIGNING_HEADERS,
35 MAX_SIGNING_KEY_ID_BYTES, MAX_SIGNING_NONCE_BYTES, RequestBodyHasher, RequestSigner,
36 SignedRequest, SigningAlgorithm, SigningBuildError, SigningContext, SigningContextValueError,
37 SigningDigestAlgorithm, SigningFreshness, SigningHeaders, SigningInputError, SigningKeyId,
38 SigningNonce, SigningOutputError, SigningValueError, UnixTime,
39};
40pub use transport::{
41 AsyncAuthenticatedTransport, AuthenticatedRequest, BlockingAuthenticatedTransport,
42 LocalAsyncAuthenticatedTransport, drive_async_authenticated, drive_local_authenticated,
43};
44pub use value::{MAX_SCOPE_VALUE_BYTES, ScopeValue, ScopeValueError};
45
46#[cfg(test)]
47mod tests;