ScopeUtil
ScopeUtil~parseScope(requestedScope) ⇒ undefined | Array.<string>
Utility to parse and validate a scope string. Uses isFormat from https://github.com/node-oauth/formats to validate scopes against nqchar format.
Kind: inner method of ScopeUtil
Throws:
InvalidScopeErrorif the type is not null, undefined or a string.
See: {https://github.com/node-oauth/formats}
| Param | Type |
|---|---|
| requestedScope | string | undefined | null |