Trait http_signatures::VerifyAuthorizationHeader
[−]
[src]
pub trait VerifyAuthorizationHeader {
fn verify_authorization_header<G: GetKey>(
&self,
key_getter: G
) -> Result<(), VerificationError>;
}The VerifyAuthorizationHeader trait is meant to be implemented for the request types from
http libraries (such as Hyper and Rocket). This trait makes verifying requests much easier,
since the verify_authorization_header() method can be called directly on a Request type.
For examples, see the hyper server and rocket files.