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
{{ message }}
Repository navigation
Commit c898bbf
Browse filesBrowse the repository at this point in the historyBrowse files
Creates a fully configured generated SDK client from the legacy client. This is the main convenience method that combines `get_authentication()` and `get_network_session()`.
81
+
Creates a fully configured generated SDK client from the legacy client. This is the main convenience method that combines `get_sdk_gen_authentication()` and `get_sdk_gen_network_session()`.
82
82
83
83
**Parameters:**
84
84
-`auth_options` (optional): Dictionary with authentication options
@@ -237,37 +237,3 @@ Network settings are extracted from:
237
237
-`Session.proxy_config`: Proxy settings
238
238
-`Session._default_headers`: Custom headers
239
239
-`API.MAX_RETRY_ATTEMPTS`: Retry configuration
240
-
241
-
## Limitations
242
-
243
-
1.**JWT Private Key**: If the JWT private key was originally encrypted, the passphrase cannot be extracted from the normalized `RSAPrivateKey` object. The key will be serialized unencrypted.
244
-
245
-
2.**Token Expiry**: The legacy SDK doesn't always track token expiry times, so the adapter uses a default value (3600 seconds) when converting to `AccessToken`.
246
-
247
-
3.**Custom Token Storage**: If using custom token storage callbacks in the legacy SDK, ensure they're thread-safe if both clients will be used concurrently.
248
-
249
-
## Error Handling
250
-
251
-
The implementation raises:
252
-
253
-
-`ValueError`: for unsupported auth types or missing credentials
254
-
255
-
Note: Since `boxsdk` and `box_sdk_gen` are always installed together, import errors for `box_sdk_gen` should not occur in practice.
0 commit comments