On [July 30](https://seffaflik.epias.com.tr/announcements/announcements), EPIAS announced that they will start to use credentials on API calls soon. This version makes `eptr2` compatible for the new methodology.
- New parameters `username`, `password` and `is_test` are accepted in the initialization of `EPTR2` object. `is_test` parameter default value is `False`, others are `None` (ps. username and password will be required in the following versions).
- `TGT` is generated automatically in the object. You can renew TGT using `check_renew_tgt` method. Even though technical documents indicate an 8 hour duration, expiration is set to 6 hours.
Note that these changes are currently only applicable to test server. You need to register from [here](https://giris-prp.epias.com.tr/).
According to the announcement, changes will be taken to live on August 19, 2024.