You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As UIMS has imposed restrictions for accessing UIMS data by protecting Login mechanism with a captcha
This library at current structure can't comply to it, so we should now create explicit initialize and login method for the session instance where:
initialize(credentials) - will initialize the instance with relevant user login data (like credentials) and will return a captcha url
login(captcha) - will have captcha as a parameter, after this session will be a valid session and can properly access other properties like full_name and attendance otherwise an error will be thrown if session is not valid (i.e improperly init)
Projects relying on this library can present user with the captcha image provided by initialize to solve and call login method with answer to this captcha
Ofcourse naming can be changed but it should be a two step process now
The text was updated successfully, but these errors were encountered:
As UIMS has imposed restrictions for accessing UIMS data by protecting Login mechanism with a captcha
This library at current structure can't comply to it, so we should now create explicit
initialize
andlogin
method for thesession
instance where:initialize(credentials)
- will initialize the instance with relevant user login data (like credentials) and will return a captcha urllogin(captcha)
- will have captcha as a parameter, after this session will be a valid session and can properly access other properties likefull_name
andattendance
otherwise an error will be thrown if session is not valid (i.e improperly init)Projects relying on this library can present user with the captcha image provided by
initialize
to solve and calllogin
method with answer to this captchaOfcourse naming can be changed but it should be a two step process now
The text was updated successfully, but these errors were encountered: