Function: parseStandingKey()
parseStandingKey(
key):ParsedStandingKey|undefined
Defined in: packages/contracts/src/standing.ts:95
Parses a standing grant's key. The grammar is a routed subject's without the tenant
token and with no wildcard anywhere, so a standing key can never be mistaken for a
subject pattern: parseRoutedSubject returns undefined for every string this
accepts, and the reverse.
Parameters
key
string
For example standing.trust.entity-statement.renew.v1.
Returns
ParsedStandingKey | undefined
The parts, or undefined if the string is not a well-formed standing key.