Skip to main content
View as Markdown

GloOAuthClient

Represents an *OAuth 2.0 client*.

Member Of​

GloApp object

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​

absoluteRefreshTokenLifetime ● Int! non-null scalar​

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

accessTokenLifetime ● Int! non-null scalar​

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

authorizationCodeLifetime ● Int! non-null scalar​

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

clientId ● String! non-null scalar​

The client identifier for this *OAuth 2.0 client*.

clientSecret ● String scalar​

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

grantTypes ● [String!]! non-null scalar​

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

identityTokenLifetime ● Int! non-null scalar​

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

redirectUris ● [String!]! non-null scalar​

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

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

requirePkce ● Boolean! non-null scalar​

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

requireSecret ● Boolean! non-null scalar​

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

scopes ● [String!]! non-null scalar​

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

slidingRefreshTokenLifetime ● Int! non-null scalar​

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