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
Copy file name to clipboardExpand all lines: src/auth0/authentication/base.py
+8-3Lines changed: 8 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,10 @@
2
2
3
3
fromtypingimportAny
4
4
5
+
from .client_authenticationimportadd_client_authentication
5
6
from .restimportRestClient, RestClientOptions
6
7
from .typesimportRequestData, TimeoutType
7
8
8
-
from .client_authenticationimportadd_client_authentication
9
-
10
9
UNKNOWN_ERROR="a0.sdk.internal.unknown"
11
10
12
11
@@ -22,6 +21,9 @@ class AuthenticationBase:
22
21
telemetry (bool, optional): Enable or disable telemetry (defaults to True)
23
22
timeout (float or tuple, optional): Change the requests connect and read timeout. Pass a tuple to specify both values separately or a float to set both to it. (defaults to 5.0 for both)
24
23
protocol (str, optional): Useful for testing. (defaults to 'https')
24
+
client_info (dict, optional): Custom telemetry data for the Auth0-Client header.
25
+
When provided, overrides the default SDK telemetry. Useful for wrapper
26
+
SDKs that need to identify themselves. Ignored when telemetry is False.
0 commit comments