webuntis v0.1.0 Webuntis.Auth

Authentication module for Webuntis.

Link to this section Summary

Functions

Authenticate your service to have access to internal stuff. If the authentication was successfully, the current state get replaced!

Link to this section Functions

Link to this function

current_state()

Link to this function

login(schoolname, username, password, base_url \\ "mese.webuntis.com")

Authenticate your service to have access to internal stuff. If the authentication was successfully, the current state get replaced!

Returns:

:ok when success

{:error, status_code} when something went wrong

Link to this function

start_link()

start_link() :: {:error, any()} | {:ok, pid()}