A reference to one scope: what kind of thing it is, and which one.
const scope: ScopeRef = { type: 'tenant', id: 'acme' }; Copy
const scope: ScopeRef = { type: 'tenant', id: 'acme' };
0.9.0
Readonly
The scope's identifier, non-empty and at most MAX_SCOPE_ID_LENGTH long.
MAX_SCOPE_ID_LENGTH
The scope type — lowercase kebab-case (tenant, organisation).
tenant
organisation
A reference to one scope: what kind of thing it is, and which one.
Example
Since
0.9.0