qgis / qgis4.0_api

Tracker for QGIS 4.0 API related issues and developer discussion
3 stars 1 forks source link

Refactor Authentication System and simplify/harden API #73

Open dakcarto opened 7 years ago

dakcarto commented 7 years ago

This is a preliminary statement about my intentions, via Boundless sponsored development, of a refactoring, simplification and hardening of the authentication system, which will mostly be covered in an upcoming QEP.

While most of the changes will not affect the API, like porting Qt4-dependent code to Qt5, I would like to accomplish the following in its C++ API for:

QgsAuthManager

QgsAuthMethodRegistry

QgsAuthCertUtils

QgsNetworkAccessManager

For PyQGIS, there should be discussion on a hardening of the API to reduce attack vectors from possibly nefarious Python plugins or scripts. Granted, there are pluses/minuses to every approach I have thought of (to be outlined in QEP). These are the basic changes.

PyQGIS API: