ServiceScopesDto
ServiceScopesDto
JSON Example
{
"allPermissions": false,
"allRoles": false,
"keptInToken": [
"string"
],
"permissions": [
{
"permissionId": "string",
"resources": [
"string"
]
}
],
"roles": [
{
"name": "string",
"resource": "string"
}
],
"serviceDefinitionId": "string"
}
boolean
allPermissions
Optional
If set to true, the client will be scoped to all available permissions.
- This flag allows to add all client/user's permissions to the access token.
- Permissions must be null/empty if all permissions is true
boolean
allRoles
Optional
If set to true, the client will be scoped to all available roles.
- This flag allows to add all client/user's permissions to the access token.
- Role names must be null/empty if all roles is true
array of string
keptInToken
Optional
Allowed scope type for the token
Possible values are : ROLES, PERMISSIONS,
string
serviceDefinitionId
Required
Service definition ID (without 'external' prefix)