gever.gever_client ================== .. py:module:: gever.gever_client Classes ------- .. autoapisummary:: gever.gever_client.GeverClientCAS Module Contents --------------- .. py:class:: GeverClientCAS(username: str, password: str, service_url: str) Gever Client that uses CAS for authenticating. Its purpose is to permit a user to access multiple applications while providing their credentials (such as user ID and password) only once. .. py:attribute:: portal_session .. py:attribute:: service_session .. py:attribute:: username .. py:attribute:: password .. py:attribute:: service_url .. py:attribute:: portal_url .. py:attribute:: login_url .. py:attribute:: ticket_url .. py:method:: request(method: str, url: str, **kwargs: Any) -> requests.Response .. py:method:: token_has_expired(response: requests.Response) -> bool .. py:method:: obtain_token() -> None .. py:method:: upload_file(file: bytes, filename: str | bytes, endpoint: str) -> requests.Response