[−][src]Trait sunshine_identity_client::IdentityClient
Required methods
#[must_use]fn create_account_for<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 <T as System>::AccountId
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
&'life0 self,
key: &'life1 <T as System>::AccountId
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
#[must_use]fn add_paperkey<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Mnemonic, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Mnemonic, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn add_key<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 <T as System>::AccountId
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
&'life0 self,
key: &'life1 <T as System>::AccountId
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
#[must_use]fn remove_key<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 <T as System>::AccountId
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
&'life0 self,
key: &'life1 <T as System>::AccountId
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
#[must_use]fn change_password<'life0, 'life1, 'async_trait>(
&'life0 self,
password: &'life1 SecretString
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
&'life0 self,
password: &'life1 SecretString
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
#[must_use]fn update_password<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn subscribe_password_changes<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<EventSubscription<T>, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<EventSubscription<T>, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn fetch_uid<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 <T as System>::AccountId
) -> Pin<Box<dyn Future<Output = Result<Option<T::Uid>, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
&'life0 self,
key: &'life1 <T as System>::AccountId
) -> Pin<Box<dyn Future<Output = Result<Option<T::Uid>, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
#[must_use]fn fetch_keys<'life0, 'async_trait>(
&'life0 self,
uid: T::Uid,
hash: Option<<T as System>::Hash>
) -> Pin<Box<dyn Future<Output = Result<Vec<<T as System>::AccountId>, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
uid: T::Uid,
hash: Option<<T as System>::Hash>
) -> Pin<Box<dyn Future<Output = Result<Vec<<T as System>::AccountId>, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn fetch_account<'life0, 'async_trait>(
&'life0 self,
uid: T::Uid
) -> Pin<Box<dyn Future<Output = Result<T::IdAccountData, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
uid: T::Uid
) -> Pin<Box<dyn Future<Output = Result<T::IdAccountData, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn prove_identity<'life0, 'async_trait>(
&'life0 self,
service: Service
) -> Pin<Box<dyn Future<Output = Result<String, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
service: Service
) -> Pin<Box<dyn Future<Output = Result<String, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn revoke_identity<'life0, 'async_trait>(
&'life0 self,
service: Service
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
service: Service
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn identity<'life0, 'async_trait>(
&'life0 self,
uid: T::Uid
) -> Pin<Box<dyn Future<Output = Result<Vec<IdentityInfo>, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
uid: T::Uid
) -> Pin<Box<dyn Future<Output = Result<Vec<IdentityInfo>, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn resolve<'life0, 'life1, 'async_trait>(
&'life0 self,
service: &'life1 Service
) -> Pin<Box<dyn Future<Output = Result<T::Uid, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
&'life0 self,
service: &'life1 Service
) -> Pin<Box<dyn Future<Output = Result<T::Uid, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Implementors
impl<T, C> IdentityClient<T> for C where
T: Runtime + Identity<Gen = u16, Mask = [u8; 32]>,
<<T::Extra as SignedExtra<T>>::Extra as SignedExtension>::AdditionalSigned: Send + Sync,
C: ChainClient<T>,
C::OffchainClient: Cache<Codec, Claim>,
C::Error: From<Error>,
T::AccountId: Ss58Codec,
T::Signature: Decode,
<T::Signature as Verify>::Signer: IdentifyAccount<AccountId = T::AccountId>,
[src]
T: Runtime + Identity<Gen = u16, Mask = [u8; 32]>,
<<T::Extra as SignedExtra<T>>::Extra as SignedExtension>::AdditionalSigned: Send + Sync,
C: ChainClient<T>,
C::OffchainClient: Cache<Codec, Claim>,
C::Error: From<Error>,
T::AccountId: Ss58Codec,
T::Signature: Decode,
<T::Signature as Verify>::Signer: IdentifyAccount<AccountId = T::AccountId>,
fn create_account_for<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 <T as System>::AccountId
) -> Pin<Box<dyn Future<Output = Result<(), C::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
key: &'life1 <T as System>::AccountId
) -> Pin<Box<dyn Future<Output = Result<(), C::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn add_paperkey<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Mnemonic, C::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Mnemonic, C::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn add_key<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 <T as System>::AccountId
) -> Pin<Box<dyn Future<Output = Result<(), C::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
key: &'life1 <T as System>::AccountId
) -> Pin<Box<dyn Future<Output = Result<(), C::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn remove_key<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 <T as System>::AccountId
) -> Pin<Box<dyn Future<Output = Result<(), C::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
key: &'life1 <T as System>::AccountId
) -> Pin<Box<dyn Future<Output = Result<(), C::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn change_password<'life0, 'life1, 'async_trait>(
&'life0 self,
password: &'life1 SecretString
) -> Pin<Box<dyn Future<Output = Result<(), C::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
password: &'life1 SecretString
) -> Pin<Box<dyn Future<Output = Result<(), C::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn update_password<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<(), C::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<(), C::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn subscribe_password_changes<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<EventSubscription<T>, C::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<EventSubscription<T>, C::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn fetch_uid<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 <T as System>::AccountId
) -> Pin<Box<dyn Future<Output = Result<Option<T::Uid>, C::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
key: &'life1 <T as System>::AccountId
) -> Pin<Box<dyn Future<Output = Result<Option<T::Uid>, C::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn fetch_keys<'life0, 'async_trait>(
&'life0 self,
uid: T::Uid,
hash: Option<<T as System>::Hash>
) -> Pin<Box<dyn Future<Output = Result<Vec<<T as System>::AccountId>, C::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
uid: T::Uid,
hash: Option<<T as System>::Hash>
) -> Pin<Box<dyn Future<Output = Result<Vec<<T as System>::AccountId>, C::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn fetch_account<'life0, 'async_trait>(
&'life0 self,
uid: T::Uid
) -> Pin<Box<dyn Future<Output = Result<T::IdAccountData, C::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
uid: T::Uid
) -> Pin<Box<dyn Future<Output = Result<T::IdAccountData, C::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn prove_identity<'life0, 'async_trait>(
&'life0 self,
service: Service
) -> Pin<Box<dyn Future<Output = Result<String, C::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
service: Service
) -> Pin<Box<dyn Future<Output = Result<String, C::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn revoke_identity<'life0, 'async_trait>(
&'life0 self,
service: Service
) -> Pin<Box<dyn Future<Output = Result<(), C::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
service: Service
) -> Pin<Box<dyn Future<Output = Result<(), C::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn identity<'life0, 'async_trait>(
&'life0 self,
uid: T::Uid
) -> Pin<Box<dyn Future<Output = Result<Vec<IdentityInfo>, C::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
uid: T::Uid
) -> Pin<Box<dyn Future<Output = Result<Vec<IdentityInfo>, C::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn resolve<'life0, 'life1, 'async_trait>(
&'life0 self,
service: &'life1 Service
) -> Pin<Box<dyn Future<Output = Result<T::Uid, C::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
service: &'life1 Service
) -> Pin<Box<dyn Future<Output = Result<T::Uid, C::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,