Constructors
Methods
addPattern
- addPattern(id, pattern): void
Returns void
addRule
- addRule(packetId, signerId): void
Parameters
- packetId: string
- signerId: string
Returns void
buildSignerNames
- buildSignerNames(packet, vars?): Iterable<Name, any, any>
Returns Iterable<Name, any, any>
canSign
- canSign(packet, signer): boolean
Returns boolean
hasRule
- hasRule(packetId, signerId): boolean
Parameters
- packetId: string
- signerId: string
Returns boolean
listPatterns
- listPatterns(): Iterable<[id: string, pattern: Pattern], any, any>
Returns Iterable<[id: string, pattern: Pattern], any, any>
listRules
- listRules(): Iterable<[packetId: string, signerId: string], any, any>
Returns Iterable<[packetId: string, signerId: string], any, any>
Policy in a trust schema.