Skip to content
Extraits de code Groupes Projets
Valider 3a6ca231 rédigé par diosmosis's avatar diosmosis
Parcourir les fichiers

Add breaking change for Auth interface changes.

parent d8ed8325
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -10,6 +10,14 @@ This is a changelog for Piwik platform developers. All changes for our HTTP API'
### Library updates
* Updated AngularJS from 1.2.13 to 1.2.25
### Breaking Changes
* The Auth interface has been modified, existing Auth implementations will have to be modified. Changes include:
* The initSession method has been moved. Since this behavior must be executed for every Auth implementation, it has been put into a new class: SessionInitializer.
If your Auth implementation implements its own session logic you will have to extend and override SessionInitializer.
* The following methods have been added: setPassword, setPasswordHash, getTokenAuthSecret and getLogin.
* Clarifying semantics of each method and what they must support and can support.
* **Read the documentation for the [Auth interface](http://developer.piwik.org/api-reference/Piwik/Auth) to learn more.**
### New commands
* `generate:angular-directive` Let's you easily generate a template for a new angular directive for any plugin.
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter