OAuth
class resources.oauth.OAuth
Base class: Resource
Users can grant Cloudomation the right to access third-party APIs on their behalf. This permission is stored in the form of an OAuth grant.
Property | Description | Type | Import/Export |
---|---|---|---|
authorization_url | String(length=512) | neither | |
bundle_id | Reference to the bundle this record is associated with. Allowed for CONNECTOR, FILE, FLOW, PLUGIN, ROLE, SCHEDULER, SCHEMA, SETTING, TAG, WRAPPER. Not allowed for BUNDLE, BUNDLE_REPOSITORY, EXECUTION, GIT_CONFIG, LDAP_CONFIG, MESSAGE, OAUTH, ORGANIZATION, PROCESS, PROJECT, SCHEDULE, SYNC_CONFIG, USER, VAULT_CONFIG, WEBHOOK, WORKSPACE. Mutually exclusive with project_id | UUID(as_uuid=False) | both |
bundle_name | The name of the bundle. Will look up the bundle and set bundle_id. | String(length=128) | neither |
configuration | Additional parameters used when authenticating to the OAuth provider | JSONB(astext_type=Text()) | both |
created_at | DateTime(timezone=True) | export only | |
created_by | UUID(as_uuid=False) | export only | |
credentials | JSONB(astext_type=Text()) | import only | |
deleted_at | DateTime(timezone=True) | export only | |
deleted_by | UUID(as_uuid=False) | export only | |
description | Text() | both | |
id | UUID(as_uuid=False) | neither | |
is_archived | Boolean() | both | |
is_authorized | Boolean() | neither | |
is_bundle_readonly | Boolean() | neither | |
is_deleted | Boolean() | export only | |
is_project_readonly | Boolean() | neither | |
is_readonly | A flag to control if the record can be modified. Allowed for BUNDLE, BUNDLE_REPOSITORY, CONNECTOR, FILE, FLOW, GIT_CONFIG, OAUTH, PLUGIN, PROJECT, ROLE, SCHEDULE, SCHEDULER, SCHEMA, SETTING, SYNC_CONFIG, TAG, VAULT_CONFIG, WEBHOOK, WRAPPER. Not allowed for EXECUTION, LDAP_CONFIG, MESSAGE, ORGANIZATION, PROCESS, USER, WORKSPACE | Boolean() | both |
modified_at | DateTime(timezone=True) | export only | |
modified_by | UUID(as_uuid=False) | export only | |
name | String(length=128) | both | |
oauth_type | Selection for which target this oauth grant can be used. | Enum('GOOGLE', 'MAGENTO', 'BULLHORN', name='oauthtype') | both |
organization_id | UUID(as_uuid=False) | export only | |
project_id | Reference to the project this record is associated with. Allowed for CONNECTOR, EXECUTION, FILE, FLOW, GIT_CONFIG, MESSAGE, OAUTH, PLUGIN, SCHEDULE, SCHEDULER, SCHEMA, SETTING, SYNC_CONFIG, TAG, VAULT_CONFIG, WEBHOOK, WRAPPER. Not allowed for BUNDLE, BUNDLE_REPOSITORY, LDAP_CONFIG, ORGANIZATION, PROCESS, PROJECT, ROLE, USER, WORKSPACE. Mutually exclusive with bundle_id. | UUID(as_uuid=False) | both |
project_name | The name of the project. Will look up the project and set project_id. | String(length=128) | neither |
record_type | Enum('BUNDLE', 'BUNDLE_REPOSITORY', 'CONNECTOR', 'EXECUTION', 'FILE', 'FLOW', 'GIT_CONFIG', 'LDAP_CONFIG', 'MESSAGE', 'OAUTH', 'ORGANIZATION', 'PLUGIN', 'PROCESS', 'PROJECT', 'ROLE', 'SCHEDULE', 'SCHEDULER', 'SCHEMA', 'SETTING', 'SYNC_CONFIG', 'TAG', 'USER', 'VAULT_CONFIG', 'WEBHOOK', 'WORKSPACE', 'WRAPPER', name='recordtype') | neither | |
repository_path | The path to the storing repository, relative to GIT_REPOSITORY_SAVE_PATH | String(length=256) | neither |
request_token | String(length=128) | neither | |
request_token_secret | String(length=128) | neither | |
resource_type | Enum('BUNDLE', 'BUNDLE_REPOSITORY', 'CONNECTOR', 'FILE', 'FLOW', 'GIT_CONFIG', 'LDAP_CONFIG', 'OAUTH', 'ORGANIZATION', 'PLUGIN', 'PROJECT', 'ROLE', 'SCHEDULE', 'SCHEDULER', 'SCHEMA', 'SETTING', 'SYNC_CONFIG', 'TAG', 'USER', 'VAULT_CONFIG', 'WEBHOOK', 'WORKSPACE', 'WRAPPER', name='resourcetype') | neither | |
schema_version | String(length=128) | both | |
workspace_id | UUID(as_uuid=False) | export only |