pub trait Hook: Send + Sync {
// Required method
fn verify(
&self,
options: VerifyOptions,
) -> BoxFuture<'static, VerifierVerifyResult>;
}
Expand description
A call hook that can be used to inject responses into the Verifier service.
Required Methods§
Sourcefn verify(
&self,
options: VerifyOptions,
) -> BoxFuture<'static, VerifierVerifyResult>
fn verify( &self, options: VerifyOptions, ) -> BoxFuture<'static, VerifierVerifyResult>
Describes what the verify call will return.