Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add definition for AppRole object
* add definition for AppRole object referred to by AppRoles array
* Capitalize AppRole in reference
* Update all appRoles arrays to have AppRole type for consistency
  • Loading branch information
jillcary committed May 31, 2018
commit b8823f891606c82a7706562d8ba2f6d25edf6877
42 changes: 39 additions & 3 deletions specification/graphrbac/data-plane/stable/1.6/graphrbac.json
Original file line number Diff line number Diff line change
Expand Up @@ -2024,13 +2024,49 @@
],
"description": "Specifies an OAuth 2.0 permission scope or an app role that an application requires. The resourceAccess property of the RequiredResourceAccess type is a collection of ResourceAccess."
},
"AppRole": {
"type": "object",
"properties": {
"allowedMemberTypes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Specifies whether this app role definition can be assigned to users and groups, to other applications, or to both."
},
"description": {
"type": "string",
"description": "Permission help text that appears in the admin app assignment and consent experiences."
},
"displayName": {
"type": "string",
"description": "Display name for the permission that appears in the admin consent and app assignment experiences."
},
"id": {
"type": "string",
"description": "Unique role identifier inside the appRoles collection."
},
"isEnabled": {
"type": "boolean",
"description": "When creating or updating a role definition, this must be set to true (which is the default). To delete a role, this must first be set to false."
},
"value": {
"type":"string",
"description": "Specifies the value of the roles claim that the application should expect in the authentication and access tokens."
}
},
"additionalProperties": {
"type": "object"
},
"description": "Represents an application role that may be requested by a client application calling another application or that may be used to assign an application to users or groups in a specified application role. The appRoles property of the servicePrincipal entity and of the application entity is a collection of appRole."
},
"ApplicationCreateParameters": {
"type": "object",
"properties": {
"appRoles": {
"type": "array",
"items": {
"$ref": "#/definitions/appRole"
"$ref": "#/definitions/AppRole"
},
"description": "The collection of application roles that an application may declare."
},
Expand Down Expand Up @@ -2102,7 +2138,7 @@
"appRoles": {
"type": "array",
"items": {
"$ref": "#/definitions/appRole"
"$ref": "#/definitions/AppRole"
},
"description": "The collection of application roles that an application may declare."
},
Expand Down Expand Up @@ -2185,7 +2221,7 @@
"appRoles": {
"type": "array",
"items": {
"type": "string"
"$ref": "#/definitions/AppRole"
},
"description": "The collection of application roles that an application may declare."
},
Expand Down