:py:mod:`user` ============== .. py:module:: user Module Contents --------------- Functions ~~~~~~~~~ .. autoapisummary:: user.login user.logout Attributes ~~~~~~~~~~ .. autoapisummary:: user._refresh_token .. py:data:: _refresh_token .. py:function:: login(e_mail, password = None) Login to COBRA and return the access token. :param e_mail: The e-mail address of the user. :param password: The password of the user; alternatively, the user will be prompted to enter the password. :return: The access token. .. py:function:: logout() Logout from COBRA.