ServiceScopesDto

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)

permissions
Optional

List of allowed permissions applicable to the scope

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
roles
Optional

List of allowed roles applicable to the scope

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
Property Of