Trait http_sig::VerifyingExt
source · pub trait VerifyingExt {
type Remnant;
// Required method
fn verify(
self,
config: &VerifyingConfig
) -> Result<(Self::Remnant, VerificationDetails), VerifyingError<Self::Remnant>>;
}
Expand description
Import this trait to get access to access the verify
method on all types implementing
ServerRequestLike
.
Required Associated Types§
Required Methods§
sourcefn verify(
self,
config: &VerifyingConfig
) -> Result<(Self::Remnant, VerificationDetails), VerifyingError<Self::Remnant>>
fn verify( self, config: &VerifyingConfig ) -> Result<(Self::Remnant, VerificationDetails), VerifyingError<Self::Remnant>>
Verify the request using the given verification configuration.