Skip to main content

SetOAuthCodeCredentialsInput

No description

input SetOAuthCodeCredentialsInput {
id: ID!
shared: Boolean
canDecrypt: Boolean
name: String
clientId: String
clientSecret: String
authorizationUri: String
accessTokenUri: String
accessToken: String
refreshToken: String
expirationDateInMillis: Int
redirectUri: String
scope: String
parameters: [PropertyInput!]
}

Fields

SetOAuthCodeCredentialsInput.id ● ID! non-null scalar

The ID identifying the credentials to be updated. From the context the monitored system and its type is known. The id can either be:

  • a combination of <namespace>.<key> to point to the credential purpose
  • a number pointing to the credential purpose (negative for built-in positive for custom ones)

SetOAuthCodeCredentialsInput.shared ● Boolean scalar

The shared flag (true for global credentials)

SetOAuthCodeCredentialsInput.canDecrypt ● Boolean scalar

SetOAuthCodeCredentialsInput.name ● String scalar

The name of this credentials object.

SetOAuthCodeCredentialsInput.clientId ● String scalar

The client ID.

SetOAuthCodeCredentialsInput.clientSecret ● String scalar

The client secret.

SetOAuthCodeCredentialsInput.authorizationUri ● String scalar

An authorization URI.

SetOAuthCodeCredentialsInput.accessTokenUri ● String scalar

An URI to generate the access tokens with the authorization token.

SetOAuthCodeCredentialsInput.accessToken ● String scalar

The access token.

SetOAuthCodeCredentialsInput.refreshToken ● String scalar

A potential refresh token.

SetOAuthCodeCredentialsInput.expirationDateInMillis ● Int scalar

Expiration time in milliseconds.

SetOAuthCodeCredentialsInput.redirectUri ● String scalar

A redirection URI.

SetOAuthCodeCredentialsInput.scope ● String scalar

String containing all the needed scopes.

SetOAuthCodeCredentialsInput.parameters ● [PropertyInput!] list input

Additional parameters.