@0xknwn/starknet-module-sessionkey / Exports / PolicyManager
Class: PolicyManager
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new PolicyManager(policies
): PolicyManager
Parameters
Name | Type |
---|---|
policies | Policies |
Returns
Defined in
sdks/module-sessionkey/src/policies.ts:14
Properties
policies
• Private
policies: Policies
Defined in
sdks/module-sessionkey/src/policies.ts:11
tree
• Private
tree: MerkleTree
Defined in
sdks/module-sessionkey/src/policies.ts:12
Methods
getProof
▸ getProof(policy
): string
[]
Parameters
Name | Type |
---|---|
policy | Policy |
Returns
string
[]
Defined in
sdks/module-sessionkey/src/policies.ts:29
getRoot
▸ getRoot(): string
Returns
string