auth

emtellisplit_sdk_python.auth

Module Contents

Classes

NameDescription
AuthSessionIn order for the concepts defined in this file to be generalized across all our products, its better that the API servers need to be in union with respect to their auth related behaviours (status code, error message).
APIKeySessionIn order for the concepts defined in this file to be generalized across all our products, its better that the API servers need to be in union with respect to their auth related behaviours (status code, error message).
RefreshingJWTSessionIn order for the concepts defined in this file to be generalized across all our products, its better that the API servers need to be in union with respect to their auth related behaviours (status code, error message).

Functions

NameDescription
get_auth_session

API

emtellisplit_sdk_python.auth.AuthSession

class emtellisplit_sdk_python.auth.AuthSession

Bases: requests.Session

In order for the concepts defined in this file to be generalized across all our products, its better that the API servers need to be in union with respect to their auth related behaviours (status code, error message).

emtellisplit_sdk_python.auth.APIKeySession

class emtellisplit_sdk_python.auth.APIKeySession(api_key, *args, **kwargs)

Bases: emtellisplit_sdk_python.auth.AuthSession, requests.Session

emtellisplit_sdk_python.auth.RefreshingJWTSession

class emtellisplit_sdk_python.auth.RefreshingJWTSession(iam_url, server_url, user_name, password, *args, **kwargs)

Bases: emtellisplit_sdk_python.auth.AuthSession, requests.Session

RefreshingJWTSession.request
request(
method,
url,
*args,
**kwargs
)

emtellisplit_sdk_python.auth.get_auth_session

emtellisplit_sdk_python.auth.get_auth_session(
emtellisplit_url,
iam_url = None,
credentials = None,
**kwargs
) -> emtellisplit_sdk_python.auth.AuthSession