Expand description
Authentication using SNIP-24 query permits.
Feature flag: permit
Structs§
- Permit
- The type the represents a signed permit. You shouldn’t try to instantiate this type yourself unless you are writing test code. Rather you set this as a parameter in your contract query functions that you wish to authenticate.
- Permit
Params - Data needed to validate a
Permit
. You shouldn’t try to instantiate this type yourself unless you are writing test code.
Traits§
- Permission
- Marker trait that enables strongly typed permits with a finite permission set.
Any type that implements
Serialize + JsonSchema + Clone + PartialEq
already implements this trait due to its blanket implementation.