SignedHeaderRequirements

Trait SignedHeaderRequirements 

Source
pub trait SignedHeaderRequirements {
    // Required methods
    fn always_present(&self) -> &[Cow<'_, str>];
    fn if_in_request(&self) -> &[Cow<'_, str>];
    fn prefixes(&self) -> &[Cow<'_, str>];
}
Expand description

Trait for informing validation routines indicating which headers must be signed in addition to the standard AWS SigV4 headers.

Required Methods§

Source

fn always_present(&self) -> &[Cow<'_, str>]

Return the headers that must always be present in SignedHeaders.

Source

fn if_in_request(&self) -> &[Cow<'_, str>]

Return the headers that must be present in SignedHeaders if they are present in the request.

Source

fn prefixes(&self) -> &[Cow<'_, str>]

Return the prefixes that must be present in SignedHeaders if any headers with that prefix.

Implementors§