Skip to main content

AuthenticatorTrait

Trait AuthenticatorTrait 

Source
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§

Source

fn verify_claims<T>( &self, value: &IntentMessage<T>, author: Address, aux_verify_data: &VerifyParams, ) -> IotaResult
where 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

Source§

fn verify_claims<T>( &self, value: &IntentMessage<T>, author: Address, aux_verify_data: &VerifyParams, ) -> IotaResult
where T: Serialize,

Source§

impl AuthenticatorTrait for MoveAuthenticatorV1

Source§

fn verify_claims<T>( &self, _value: &IntentMessage<T>, author: Address, _aux_verify_data: &VerifyParams, ) -> IotaResult
where T: Serialize,

Source§

impl AuthenticatorTrait for MultisigAggregatedSignature

Source§

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

Source§

fn verify_claims<T>( &self, intent_msg: &IntentMessage<T>, author: Address, _aux_verify_data: &VerifyParams, ) -> IotaResult
where T: Serialize,

Verify an intent message of a transaction with an passkey authenticator.

Source§

impl AuthenticatorTrait for SimpleSignature

Source§

fn verify_claims<T>( &self, value: &IntentMessage<T>, author: Address, _aux_verify_data: &VerifyParams, ) -> IotaResult
where T: Serialize,

Source§

impl AuthenticatorTrait for UserSignature

Source§

fn verify_claims<T>( &self, value: &IntentMessage<T>, author: Address, aux_verify_data: &VerifyParams, ) -> IotaResult
where T: Serialize,

Implementors§