gever.gever_client

Classes

GeverClientCAS

Gever Client that uses CAS for authenticating.

Module Contents

class gever.gever_client.GeverClientCAS(username: str, password: str, service_url: str)[source]

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.

portal_session[source]
service_session[source]
username[source]
password[source]
service_url[source]
portal_url[source]
login_url[source]
ticket_url[source]
request(method: str, url: str, **kwargs: Any) requests.Response[source]
token_has_expired(response: requests.Response) bool[source]
obtain_token() None[source]
upload_file(file: bytes, filename: str | bytes, endpoint: str) requests.Response[source]