Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/security / / parseScope

Function: parseScope()

ts
function parseScope(input): ParsedScope;

Defined in: packages/security/src/auth/scope.ts:49

Parse a single scope string. Throws ScopeParseError for any input that does not match the canonical grammar; never silently coerces.

Parameters

ParameterType
inputstring

Returns

ParsedScope

Stable