Expand description
The limits a scope string is read under, and every way reading one fails.
Enums§
- Scope
Parse Error - A failure parsing one scope atom or a whole scope string.
Constants§
- MAX_
ATOM_ BYTES - The longest atom
Scope::parsereads: room for a longest NSID (317 bytes) with a longest DID (2048 bytes) as itsaud. - MAX_
GRANT_ ATOMS - The most atoms
ScopeSet::parse_grantreads. Four timesMAX_SCOPE_ATOMS, for the same reason asMAX_GRANT_BYTES. - MAX_
GRANT_ BYTES - The longest grant
ScopeSet::parse_grantreads: a request with eachinclude:replaced by the atoms its permission set grants. - MAX_
SCOPE_ ATOMS - The most scopes a string
ScopeSet::parsereads may name. An atom that lists several collections or methods names one for each.ScopeSet::newcompares every pair of scopes, so this also bounds its cost. - MAX_
SCOPE_ BYTES - The longest scope string
ScopeSet::parsereads. A real request is a few hundred bytes.