Skip to main content

GloOAuthClient

Represents an *OAuth 2.0 client*.

type GloOAuthClient {
absoluteRefreshTokenLifetime: Int!
accessTokenLifetime: Int!
authorizationCodeLifetime: Int!
clientId: String!
clientSecret: String
grantTypes: [String!]!
identityTokenLifetime: Int!
redirectUris: [String!]!
requireConsent: Boolean!
requirePkce: Boolean!
requireSecret: Boolean!
scopes: [String!]!
slidingRefreshTokenLifetime: Int!
}

Fields

GloOAuthClient.absoluteRefreshTokenLifetime ● Int! non-null scalar

The absolute lifetime of refresh tokens issued to this *OAuth 2.0 client*, in seconds.

GloOAuthClient.accessTokenLifetime ● Int! non-null scalar

The lifetime of access tokens issued to this *OAuth 2.0 client*, in seconds.

GloOAuthClient.authorizationCodeLifetime ● Int! non-null scalar

The lifetime of authorization codes issued to this *OAuth 2.0 client*, in seconds.

GloOAuthClient.clientId ● String! non-null scalar

The client identifier for this *OAuth 2.0 client*.

GloOAuthClient.clientSecret ● String scalar

The client secret for this *OAuth 2.0 client*. Only available at client creation.

GloOAuthClient.grantTypes ● [String!]! non-null scalar

The list of grant types this *OAuth 2.0 client* can use.

GloOAuthClient.identityTokenLifetime ● Int! non-null scalar

The lifetime of identity tokens issued to this *OAuth 2.0 client*, in seconds.

GloOAuthClient.redirectUris ● [String!]! non-null scalar

The list of redirect URIs associated with this *OAuth 2.0 client*.

GloOAuthClient.requireConsent ● Boolean! non-null scalar

Whether this *OAuth 2.0* client requires consent to be approved before it can create user access tokens.

GloOAuthClient.requirePkce ● Boolean! non-null scalar

Whether PKCE is required when this *OAuth 2.0 client* uses the authorization code grant.

GloOAuthClient.requireSecret ● Boolean! non-null scalar

Whether this *OAuth 2.0 client* needs to use a client secret requesting tokens.

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

The list of scopes this *OAuth 2.0 client* can use.

GloOAuthClient.slidingRefreshTokenLifetime ● Int! non-null scalar

The sliding lifetime of refresh tokens issued to this *OAuth 2.0 client*, in seconds.