IdentityApi

Trait IdentityApi 

Source
pub trait IdentityApi:
    Send
    + Sync
    + 'static {
    // Required methods
    fn publish_identity_update<'life0, 'async_trait>(
        &'life0 self,
        request: Request<PublishIdentityUpdateRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<PublishIdentityUpdateResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_identity_updates<'life0, 'async_trait>(
        &'life0 self,
        request: Request<GetIdentityUpdatesRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<GetIdentityUpdatesResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_inbox_ids<'life0, 'async_trait>(
        &'life0 self,
        request: Request<GetInboxIdsRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<GetInboxIdsResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn verify_smart_contract_wallet_signatures<'life0, 'async_trait>(
        &'life0 self,
        request: Request<VerifySmartContractWalletSignaturesRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<VerifySmartContractWalletSignaturesResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Generated trait containing gRPC methods that should be implemented for use with IdentityApiServer.

Required Methods§

Source

fn publish_identity_update<'life0, 'async_trait>( &'life0 self, request: Request<PublishIdentityUpdateRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<PublishIdentityUpdateResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Publishes an identity update for an XID or wallet. An identity update may consist of multiple identity actions that have been batch signed.

Source

fn get_identity_updates<'life0, 'async_trait>( &'life0 self, request: Request<GetIdentityUpdatesRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetIdentityUpdatesResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Used to check for changes related to members of a group. Would return an array of any new installations associated with the wallet address, and any revocations that have happened.

Source

fn get_inbox_ids<'life0, 'async_trait>( &'life0 self, request: Request<GetInboxIdsRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetInboxIdsResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Retrieve the XIDs for the given addresses

Source

fn verify_smart_contract_wallet_signatures<'life0, 'async_trait>( &'life0 self, request: Request<VerifySmartContractWalletSignaturesRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<VerifySmartContractWalletSignaturesResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Verify an unverified smart contract wallet signature

Implementors§