Scope URI implementation
Simple way to represent configurable privileges in an OAuth friendly way. For our case, they look like this:
scope:
For example: scope:client:incoming?name=jonas
author | Aleksey Korzun |
---|---|
package | Library |
subpackage | Twilio\Utility\Capability |
__construct(string $service, string $privilege, string[] $parameters)
string
string
string[]
parse(string $uri) : \Twilio\Utility\Capability\Scope
string
the scope URI
\UnexpectedValueException |
---|
\Twilio\Utility\Capability\Scope
the parsed scope uritoString() : string
string
$parameters : string[]
$privilege : string
$service : string