You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The DeclarativeOAuth Specific optional override to provide the custom `code` key name to something like `auth_code` or `custom_auth_code`, if required by data-provider.
2240
2236
examples:
2241
-
- auth_code_key: "my_custom_auth_code_key_name"
2237
+
- "my_custom_auth_code_key_name"
2242
2238
redirect_uri_key:
2243
-
title: (Optional) DeclarativeOAuth Redirect URI Key Override
2239
+
title: Redirect URI Key Override
2244
2240
type: string
2245
2241
description: |-
2246
2242
The DeclarativeOAuth Specific optional override to provide the custom `redirect_uri` key name to something like `callback_uri`, if required by data-provider.
Copy file name to clipboardExpand all lines: airbyte_cdk/sources/declarative/models/declarative_component_schema.py
+29-43Lines changed: 29 additions & 43 deletions
Original file line number
Diff line number
Diff line change
@@ -795,104 +795,90 @@ class Config:
795
795
...,
796
796
description="The DeclarativeOAuth Specific string URL string template to initiate the authentication.\nThe placeholders are replaced during the processing to provide neccessary values.",
description="The DeclarativeOAuth Specific URL templated string to obtain the `access_token`, `refresh_token` etc.\nThe placeholders are replaced during the processing to provide neccessary values.",
description="The DeclarativeOAuth Specific optional headers to inject while exchanging the `auth_code` to `access_token` during `completeOAuthFlow` step.",
description="The DeclarativeOAuth Specific optional query parameters to inject while exchanging the `auth_code` to `access_token` during `completeOAuthFlow` step.\nWhen this property is provided, the query params will be encoded as `Json` and included in the outgoing API request.",
description="The DeclarativeOAuth Specific object to provide the criteria of how the `state` query param should be constructed,\nincluding length and complexity.",
858
-
examples=[{"state": {"min": 7, "max": 128}}],
859
-
title="(Optional) DeclarativeOAuth Configurable State Query Param",
844
+
examples=[{"min": 7, "max": 128}],
845
+
title="Configurable State Query Param",
860
846
)
861
847
client_id_key: Optional[str] =Field(
862
848
None,
863
849
description="The DeclarativeOAuth Specific optional override to provide the custom `client_id` key name, if required by data-provider.",
title="(Optional) DeclarativeOAuth State Key Override",
868
+
examples=["my_custom_state_key_key_name"],
869
+
title="State Key Override",
884
870
)
885
871
auth_code_key: Optional[str] =Field(
886
872
None,
887
873
description="The DeclarativeOAuth Specific optional override to provide the custom `code` key name to something like `auth_code` or `custom_auth_code`, if required by data-provider.",
description="The DeclarativeOAuth Specific optional override to provide the custom `redirect_uri` key name to something like `callback_uri`, if required by data-provider.",
0 commit comments