OAuthResource

Summary

OAuth protected resource.

Description

A server resource protected by OAuth that has been requested for the Client Application. This resource is different to an API

Fields

Field Name Type Since Version Description
id String The unique identifier for the oauth protected resource
applicationId String The unique identifier for the application who has access to this resource
uriprefix String The uri prefix which this oauth protected resource relates to
scopes [String] Set of scope strings that have been resolved from querying the OAuth Resource Service at the uri prefix
enabled Boolean Flag to indicate if this oauth protected resource is enabled or not

Example JSON

{
  "id" : "1e71b76a-defa-49ab-96s2-a9cd60387f31",
  "applicationId" : "3e21b76a-defa-49ab-9682-a9cd60387e37",
  "uriprefix" : "/api/oauth/protected",
  "scopes" : [ "email" ],
  "enabled" : false,
  "scope" : "/api/oauth/protected",
  "isDefault" : false
}