Skip to main content

OidcResource

Represents an OIDC resource, usually an API, but could be anything accessed from an OIDC client which needs explicit control.

type OidcResource {
createdAt: DateTime!
createdBy: User!
deletedAt: DateTime
id: ID!
name: String!
resourceIndicator: URL!
scopes: [String!]!
updatedAt: DateTime
updatedBy: User
}

Fields

OidcResource.createdAt ● DateTime! non-null scalar

When the resource was created.

OidcResource.createdBy ● User! non-null object

The user who created the resource.

OidcResource.deletedAt ● DateTime scalar

When the client was deleted.

OidcResource.id ● ID! non-null scalar

OidcResource.name ● String! non-null scalar

The name of the resource.

OidcResource.resourceIndicator ● URL! non-null scalar

The URL that uniquely identifies the resource.

Note:

  • The URL can be an API endpoint such as https://api.example.net or a resource indicator such as urn:example:resource-endpoint.

OidcResource.scopes ● [String!]! non-null scalar

Scopes that clients can request, for example ['api:read', 'api:write'].

OidcResource.updatedAt ● DateTime scalar

When the resource was last updated.

OidcResource.updatedBy ● User object

The user who last updated the resource.

Returned By

createOidcResource mutation ● deleteOidcResource mutation ● findOidcResources query ● oidcResource query ● updateOidcResource mutation

Member Of

OidcClientResource object