Auth¶
-
class
tamr_unify_client.auth.
JwtTokenAuth
(token)[source]¶ Provides JWT authentication for Tamr. Specifically, sets the Authorization HTTP header with Bearer format. This feature is only supported in Tamr releases beginning with v2022.010.0
- Parameters
token – The JWT value to be used for authentication
- Usage:
>>> from tamr_unify_client.auth import JwtTokenAuth >>> auth = JwtTokenAuth('my token') >>> import tamr_unify_client as api >>> unify = api.Client(auth)
-
class
tamr_unify_client.auth.
UsernamePasswordAuth
(username, password)[source]¶ Provides username/password authentication for Tamr. Specifically, sets the Authorization HTTP header with Tamr’s custom BasicCreds format.
- Usage:
>>> from tamr_unify_client.auth import UsernamePasswordAuth >>> auth = UsernamePasswordAuth('my username', 'my password') >>> import tamr_unify_client as api >>> unify = api.Client(auth)