credential Query
Returns the specified Credential object.
Access is permitted when any of the following condition(s) are met: 1. The signed-in User has any of the following permissions for the associated Organization: [org_manage_integrations, org_view_integrations]. 2. The signed-in User has any of the following permissions for the associated Organization: [org_manage_customers, org_view_customers, org_manage_integrations, org_view_integrations]. 3. The signed-in User has any of the following permissions for the object's 'customer' attribute: [customer_view, customer_edit, customer_remove, customer_admin_users, customer_view_users, customer_admin_instance_permissions, customer_view_instances].
#
Input fieldsArgument | Type | Description |
---|---|---|
id | ID! | The ID of the Credential object. |
Credential)#
Return fields (Boolean!)#
allowRemove (Specifies whether the signed-in User can remove the Credential.
Boolean!)#
allowUpdate (Specifies whether the signed-in User can update the Credential.
String!)#
authorizationError (Contains any error message generated by the external authorizing system that occurred during authorization.
AuthorizationMethod!)#
authorizationMethod (The specific AuthorizationMethod used by the Credential.
JSONString)#
context (Contains OAuth2 context data if applicable.
Customer)#
customer (The Customer the Credential belongs to, if any. If NULL then Organization will be specified.
ID!)#
id (The ID of the object
String!)#
label (The name of the Credential.
Organization)#
org (The Organization the Credential belongs to, if any. If NULL then Customer will be specified.
Boolean!)#
readyForUse (Specifies whether the Credential is ready for use by an Instance.
String)#
redirectUri (Contains the OAuth2 Redirect URI if applicable.
DateTime)#
refreshAt (The timestamp at which the OAuth2 token will automatically be refreshed, if necessary. Only applies to OAuth2 methods where refresh is necessary.
JSONString)#
token (Contains OAuth2 token data if applicable.
[CredentialFieldValue])#
values (A list of CredentialFieldValues that contain the values for the CredentialFields.