Private
#innerPrivate
#getAdd a wildcard ability to the session capability object for the specified resource.
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.
LIT specific methods
Adds a Rate Limit Authorization Signature (AuthSig) as an proof to the Recap object. This method serializes the AuthSig object into a JSON string and adds it to the proof of the Recap object. The AuthSig typically contains authentication details like signature, method of derivation, the signed message, and the address of the signer. This proof is used to verify that the user has the necessary authorization, such as a Rate Limit Increase NFT.
The AuthSig object containing the rate limit authorization details.
Verify that the session capability object has the specified LIT-specific capability for the specified resource.
Static
decodeStatic
extractGenerated using TypeDoc
Returns the attenuated resource key to match against. This supports matching against a wildcard resource key too.
Example
If the attenuations object contains the following:
Then, if the provided litResource is 'lit-acc://123', the method will return 'lit-acc://*'.