ServiceScopesDto
ServiceScopesDto
JSON Example
{
"keptInToken": [
"string"
],
"allRoles": false,
"permissions": [
{
"resources": [
"string"
],
"permissionId": "string"
}
],
"serviceDefinitionId": "string",
"roles": [
{
"name": "string",
"resource": "string"
}
],
"allPermissions": false
}
array of string
keptInToken
Optional
Allowed scope type for the token
Possible values are : ROLES, PERMISSIONS,
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
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