From 3a6ca2319d4ee570f2258dc7d4b9ad229bc7b443 Mon Sep 17 00:00:00 2001 From: diosmosis <benaka@piwik.pro> Date: Sun, 28 Sep 2014 03:32:59 -0700 Subject: [PATCH] Add breaking change for Auth interface changes. --- CHANGELOG.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 28b05fa861..8e6ad088e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. -- GitLab