ServiceScopesDto

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.

  1. This flag allows to add all client/user's permissions to the access token.
  2. 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.

  1. This flag allows to add all client/user's permissions to the access token.
  2. 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,
permissions
Optional

List of allowed permissions applicable to the scope

roles
Optional

List of allowed roles applicable to the scope

string
serviceDefinitionId
Required

Service definition ID (without 'external' prefix)

Property Of