ServiceScopesDto
ServiceScopesDto
JSON Example
{
"keptInToken": [
"string"
],
"serviceDefinitionId": "string",
"permissions": [
{
"permissionId": "string",
"resources": [
"string"
]
}
],
"allPermissions": false,
"roles": [
{
"name": "string",
"resource": "string"
}
],
"allRoles": false
}
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)
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