pub trait AuthenticatorTrait {
// Required method
fn verify_claims<T>(
&self,
value: &IntentMessage<T>,
author: Address,
aux_verify_data: &VerifyParams,
) -> IotaResult
where T: Serialize;
}Expand description
A lightweight trait that all members of [UserSignature] implement.
Required Methods§
fn verify_claims<T>(
&self,
value: &IntentMessage<T>,
author: Address,
aux_verify_data: &VerifyParams,
) -> IotaResultwhere
T: Serialize,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl AuthenticatorTrait for PasskeyAuthenticator
impl AuthenticatorTrait for PasskeyAuthenticator
Source§fn verify_claims<T>(
&self,
intent_msg: &IntentMessage<T>,
author: Address,
_aux_verify_data: &VerifyParams,
) -> IotaResultwhere
T: Serialize,
fn verify_claims<T>(
&self,
intent_msg: &IntentMessage<T>,
author: Address,
_aux_verify_data: &VerifyParams,
) -> IotaResultwhere
T: Serialize,
Verify an intent message of a transaction with an passkey authenticator.
Source§impl AuthenticatorTrait for UserSignature
impl AuthenticatorTrait for UserSignature
fn verify_claims<T>(
&self,
value: &IntentMessage<T>,
author: Address,
aux_verify_data: &VerifyParams,
) -> IotaResultwhere
T: Serialize,
Implementors§
impl AuthenticatorTrait for Signature
This ports the wrapper trait to the verify_secure defined on
crate::crypto::Signature.