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 MoveAuthenticator
impl AuthenticatorTrait for MoveAuthenticator
fn verify_claims<T>(
&self,
value: &IntentMessage<T>,
author: Address,
aux_verify_data: &VerifyParams,
) -> IotaResultwhere
T: Serialize,
Source§impl AuthenticatorTrait for MoveAuthenticatorV1
impl AuthenticatorTrait for MoveAuthenticatorV1
fn verify_claims<T>(
&self,
_value: &IntentMessage<T>,
author: Address,
_aux_verify_data: &VerifyParams,
) -> IotaResultwhere
T: Serialize,
Source§impl AuthenticatorTrait for MultisigAggregatedSignature
impl AuthenticatorTrait for MultisigAggregatedSignature
fn verify_claims<T>(
&self,
intent_message: &IntentMessage<T>,
multisig_address: Address,
verify_params: &VerifyParams,
) -> Result<(), IotaError>where
T: Serialize,
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.