[−][src]Trait safe_core::client::AuthActions
This trait implements functions that are supposed to be called only by CoreClient and AuthClient. Applications are not allowed to DELETE MData and get/mutate auth keys, hence AppClient does not implement this trait.
Provided methods
fn list_auth_keys_and_version(
&self
) -> Box<CoreFuture<(BTreeMap<PublicKey, AppPermissions>, u64)>>
&self
) -> Box<CoreFuture<(BTreeMap<PublicKey, AppPermissions>, u64)>>
Fetches a list of authorised keys and version.
fn ins_auth_key(
&self,
key: PublicKey,
permissions: AppPermissions,
version: u64
) -> Box<CoreFuture<()>>
&self,
key: PublicKey,
permissions: AppPermissions,
version: u64
) -> Box<CoreFuture<()>>
Adds a new authorised key.
fn del_auth_key(&self, key: PublicKey, version: u64) -> Box<CoreFuture<()>>
Removes an authorised key.
fn delete_mdata(&self, address: MDataAddress) -> Box<CoreFuture<()>>
Delete MData from network
fn delete_adata(&self, address: ADataAddress) -> Box<CoreFuture<()>>
Delete AData from network.