public function Roles::getAll in Auth0 Single Sign On 8.2
Get all Roles Required scope: "read:roles"
@link https://auth0.com/docs/api/management/v2#!/Roles/get_roles
Parameters
array $params Additional parameters to send with the request.:
Return value
mixed
Throws
\Exception Thrown by the HTTP client when there is a problem with the API call.
File
- vendor/
auth0/ auth0-php/ src/ API/ Management/ Roles.php, line 29
Class
- Roles
- Class Roles. Handles requests to the Roles endpoint of the v2 Management API.
Namespace
Auth0\SDK\API\ManagementCode
public function getAll(array $params = []) {
return $this->apiClient
->method('get')
->withDictParams($this
->normalizePagination($params))
->addPath('roles')
->call();
}