pub struct OauthConfigSpecification {
pub complete_oauth_output_specification: Option<Value>,
pub complete_oauth_server_input_specification: Option<Value>,
pub complete_oauth_server_output_specification: Option<Value>,
pub oauth_user_input_from_connector_config_specification: Option<Value>,
}
Fields§
§complete_oauth_output_specification: Option<Value>
OAuth specific blob. This is a Json Schema used to validate Json configurations produced by
the OAuth flows as they are
returned by the distant OAuth APIs.
Must be a valid JSON describing the fields to merge back to
ConnectorSpecification.connectionSpecification
.
For each field, a special annotation path_in_connector_config
can be specified to
determine where to merge it,
complete_oauth_server_input_specification: Option<Value>
OAuth specific blob. This is a Json Schema used to validate Json configurations persisted as Airbyte Server configurations. Must be a valid non-nested JSON describing additional fields configured by the Airbyte Instance or Workspace Admins to be used by the server when completing an OAuth flow (typically exchanging an auth code for refresh token).
complete_oauth_server_output_specification: Option<Value>
OAuth specific blob. This is a Json Schema used to validate Json configurations persisted
as Airbyte Server configurations that
also need to be merged back into the connector configuration at runtime.
This is a subset configuration of complete_oauth_server_input_specification
that filters
fields out to retain only the ones that
are necessary for the connector to function with OAuth. (some fields could be used during
oauth flows but not needed afterwards, therefore
they would be listed in the complete_oauth_server_input_specification
but not
complete_oauth_server_output_specification
)
Must be a valid non-nested JSON describing additional fields configured by the Airbyte
Instance or Workspace Admins to be used by the
connector when using OAuth flow APIs.
These fields are to be merged back to ConnectorSpecification.connectionSpecification
.
For each field, a special annotation path_in_connector_config
can be specified to
determine where to merge it,
oauth_user_input_from_connector_config_specification: Option<Value>
OAuth specific blob. This is a Json Schema used to validate Json configurations used as input to OAuth. Must be a valid non-nested JSON that refers to properties from ConnectorSpecification.connectionSpecification using special annotation ‘path_in_connector_config’. These are input values the user is entering through the UI to authenticate to the connector, that might also shared as inputs for syncing data via the connector.
Trait Implementations§
Source§impl Clone for OauthConfigSpecification
impl Clone for OauthConfigSpecification
Source§fn clone(&self) -> OauthConfigSpecification
fn clone(&self) -> OauthConfigSpecification
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more