Scoped Delegated Identity
In our use case we need to restrict Delegated Identities to make calls to some of the restricted functions based on certain arguments. Is there a way to add arguments to the DelegatedIdentity that can be retrieved on canister side in a verifiable manner?
Target Canisters in Delegation would not work for our use case as Ideally I would want to it access other functions in the canister but not the restricted ones.
Is there a way to mention custom parameters inside Delegation object that can be used inside cansiter.
pub struct Delegation {
pub pubkey: Vec<u8>,
pub expiration: u64,
pub targets: Option<Vec<Principal>>,
pub arguments: CustomArguments //ideally would need this sort of field
}