Auth

class tamr_client.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:
>>> import tamr_client as tc
>>> auth = tc.JwtTokenAuth('my token')
>>> s = tc.Session(auth)
class tamr_client.UsernamePasswordAuth(username, password)[source]

Provides username/password authentication for Tamr.

Sets the Authorization HTTP header with Tamr’s custom BasicCreds format.

Parameters
  • username (str) – Tamr username for authentication

  • password (str) – Tamr password for authentication

Example

>>> import tamr_client as tc
>>> auth = tc.UsernamePasswordAuth('my username', 'my password')
>>> s = tc.Session(auth)