Skip to main content
View as Markdown

GloCreateAppOAuthClientInput

Input for creating a new *OAuth 2.0 client*.

Member Of​

GloCreateAppInput input

input GloCreateAppOAuthClientInput {
accessTokenLifetime: Int
clientId: String
grantTypes: [String!]!
postLogoutRedirectUris: [String!]
redirectUris: [String!]!
refreshTokenAbsoluteLifetime: Int
refreshTokenExpirationType: GloOAuthClientRefreshTokenExpirationType
refreshTokenSlidingLifetime: Int
requireConsent: Boolean!
requireSecret: Boolean!
scopes: [String!]!
}

Fields​

accessTokenLifetime ● Int scalar​

Maximum lifetime of access tokens issued to the new *OAuth 2.0 client* in seconds. Must be greater than zero. Defaults to 14400 (4 hours) when omitted.

clientId ● String scalar​

Client identifier of the new *OAuth 2.0 client*.

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

Grant types the new *OAuth 2.0 client* will be able to use.

postLogoutRedirectUris ● [String!] list scalar​

Post logout redirect URIs the new *OAuth 2.0 client* will be able to use.

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

Redirect URIs the new *OAuth 2.0 client* will be able to use.

refreshTokenAbsoluteLifetime ● Int scalar​

Maximum lifetime of refresh tokens issued to the new *OAuth 2.0 client* in seconds. Must be greater than zero. Defaults to 2147483647 (effectively unlimited) when omitted.

refreshTokenExpirationType ● GloOAuthClientRefreshTokenExpirationType enum​

The expiration type for refresh tokens issued to the new *OAuth 2.0 client*. Defaults to SLIDING when omitted.

refreshTokenSlidingLifetime ● Int scalar​

Sliding lifetime of refresh tokens issued to the new *OAuth 2.0 client* in seconds. Must be greater than zero, and should not exceed the absolute lifetime. Defaults to 31536000 (365 days) when omitted.

Whether the new *OAuth 2.0 client* will require user consent.

requireSecret ● Boolean! non-null scalar​

Whether the new *OAuth 2.0 client* will need to use a client secret.

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

Scopes the new *OAuth 2.0 client* will be able to use.