Untis.Auth.JsonAuth (untis v1.0.0) View Source

Authentication module to use the API.

Link to this section Summary

Functions

Starts the JSON auth agent to use the Untis API. Use the information provided by https://mese.webuntis.com/WebUntis/api/profile/access or use the WebUntis to display the QR-code.

Returns the shared app secret of the given user. But you need the school-id, not the name (e.g. 2567800 for mcg-gehrden).

Link to this section Functions

Link to this function

login(username, secret, schoolname)

View Source

Starts the JSON auth agent to use the Untis API. Use the information provided by https://mese.webuntis.com/WebUntis/api/profile/access or use the WebUntis to display the QR-code.

Link to this function

shared_secret(username, password, school)

View Source

Returns the shared app secret of the given user. But you need the school-id, not the name (e.g. 2567800 for mcg-gehrden).