Add an arbitrary attenuation to the session capability object.
We do NOT recommend using this unless with the LIT specific abilities. Use this ONLY if you know what you are doing.
Add a LIT-specific capability to the session capability object for the specified resource.
If the ability is LitAbility.AccessControlConditionDecryption
,
then the resource should be the hashed key value of the access control
condition.
If the ability is LitAbility.AccessControlConditionSigning
,
then the resource should be the hashed key value of the access control
condition.
If the ability is LitAbility.PKPSigning
, then the resource
should be the PKP token ID.
If the ability is LitAbility.RateLimitIncreaseAuth
, then the
resource should be the RLI token ID.
If the ability is LitAbility.LitActionExecution
, then the
resource should be the Lit Action IPFS CID.
If the ability is not a LIT-specific ability.
The LIT-specific resource being added.
The LIT-specific ability being added.
Optional
data: anyVerify that the session capability object has the specified LIT-specific capability for the specified resource.
Generated using TypeDoc
Add a wildcard ability to the session capability object for the specified resource.