mantlebio.core.auth.creds module#

class mantlebio.core.auth.creds.AuthMethod[source]#

Bases: object

abstract authenticate(mantle_api='https://api.mantlebio.com')[source]#
abstract get_token()[source]#
class mantlebio.core.auth.creds.JwtCredentials(jwt)[source]#

Bases: AuthMethod

Object for storing JWT credentials

authenticate(mantle_api='https://api.mantlebio.com')[source]#
get_token()[source]#
class mantlebio.core.auth.creds.PasswordCredentials(email=None, password=None)[source]#

Bases: AuthMethod

Object for storing password credentials

authenticate(mantle_api='https://api.mantlebio.com')[source]#

Authenticate the session object with a password

get_token()[source]#