mantlebio.core.auth.mantle_auth module#

class mantlebio.core.auth.mantle_auth.MantleAuth(creds=None, mantle_api='https://api.mantlebio.com')[source]#

Bases: _IAuth

MantleAuth object for authenticating with Supabase

property access_token#
authenticate(mantle_api=None)[source]#

Authenticate the session object

Return type:

dict

get_token()[source]#
property mantle_api#
sign_out()[source]#
class mantlebio.core.auth.mantle_auth._IAuth[source]#

Bases: object

Abstract class for authenticating with Supabase

abstract authenticate()[source]#
abstract get_token()[source]#
abstract sign_out()[source]#