as far as I know/remember, nothing is changed from the AuthManager point of view... only the sigleton has been moved as wrote by Nyall, as most of singleton.
Luigi Pirelli ************************************************************ ************************************** * LinkedIn: https://www.linkedin.com/in/luigipirelli * Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli * GitHub: https://github.com/luipir * Mastering QGIS 2nd Edition: * https://www.packtpub.com/big-data-and-business- intelligence/mastering-qgis-second-edition * Hire me: http://goo.gl/BYRQKg ************************************************************ ************************************** On 3 June 2018 at 07:27, Richard Duivenvoorde <[email protected]> wrote: > On 03-06-18 01:14, Nyall Dawson wrote: > > > The docs need fixing here (I'll do that). You shouldn't be creating > > your own auth manager, but instead use the manager returned by > > > > auth_man = QgsApplication.authManager() > > > > Nyall > > Ah, Thanks Nyall: works!! :-) > > About docs: I had a look into the pyqgis docs: > > https://qgis.org/pyqgis/master/core/Auth/QgsAuthManager.html > > But the code is very thin on comments/docs a thin code either: > > https://qgis.org/api/qgsauthmanager_8h_source.html > > https://qgis.org/api/qgsauthmanager_8cpp_source.html > > Is the plan to update the cookbook? > > https://docs.qgis.org/testing/en/docs/pyqgis_developer_cookb > ook/authentication.html > > Or do we prefer to update docs in code so it will show up in api docs? > I can help with the cookbook, though I'm not very much up to date with > specific changes, but I can at least check things there and writup what > I do now. > > Regards & thanks again, > > Richard > > _______________________________________________ > QGIS-Developer mailing list > [email protected] > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer >
_______________________________________________ QGIS-Developer mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
