GloCreateAppOAuthClientInput
Input for creating a new *OAuth 2.0 client*.
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
GloCreateAppOAuthClientInput.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.
GloCreateAppOAuthClientInput.clientId ● String scalar
Client identifier of the new *OAuth 2.0 client*.
GloCreateAppOAuthClientInput.grantTypes ● [String!]! non-null scalar
Grant types the new *OAuth 2.0 client* will be able to use.
GloCreateAppOAuthClientInput.postLogoutRedirectUris ● [String!] list scalar
Post logout redirect URIs the new *OAuth 2.0 client* will be able to use.
GloCreateAppOAuthClientInput.redirectUris ● [String!]! non-null scalar
Redirect URIs the new *OAuth 2.0 client* will be able to use.
GloCreateAppOAuthClientInput.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.
GloCreateAppOAuthClientInput.refreshTokenExpirationType ● GloOAuthClientRefreshTokenExpirationType enum
The expiration type for refresh tokens issued to the new *OAuth 2.0 client*. Defaults to SLIDING when omitted.
GloCreateAppOAuthClientInput.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.
GloCreateAppOAuthClientInput.requireConsent ● Boolean! non-null scalar
Whether the new *OAuth 2.0 client* will require user consent.
GloCreateAppOAuthClientInput.requireSecret ● Boolean! non-null scalar
Whether the new *OAuth 2.0 client* will need to use a client secret.
GloCreateAppOAuthClientInput.scopes ● [String!]! non-null scalar
Scopes the new *OAuth 2.0 client* will be able to use.