pub trait VerifierWithKnownExpectedToken {
type Proof: Default + Send + Sync + 'static;
// Required method
fn expected_token(&self) -> &str;
}
Expand description
Trait for easily implementing a verifier when you know the expected token.
pub trait VerifierWithKnownExpectedToken {
type Proof: Default + Send + Sync + 'static;
// Required method
fn expected_token(&self) -> &str;
}
Trait for easily implementing a verifier when you know the expected token.