From 769e19dc4ab1a068e8165a7b237f42a78a6d312f Mon Sep 17 00:00:00 2001 From: Jeremy Date: Sun, 29 Mar 2015 10:53:10 +0200 Subject: Move API stuff in ApiBundle --- .../Authentication/Token/WsseUserToken.php | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/Wallabag/ApiBundle/Security/Authentication/Token/WsseUserToken.php (limited to 'src/Wallabag/ApiBundle/Security/Authentication/Token/WsseUserToken.php') diff --git a/src/Wallabag/ApiBundle/Security/Authentication/Token/WsseUserToken.php b/src/Wallabag/ApiBundle/Security/Authentication/Token/WsseUserToken.php new file mode 100644 index 00000000..aa68dbdc --- /dev/null +++ b/src/Wallabag/ApiBundle/Security/Authentication/Token/WsseUserToken.php @@ -0,0 +1,23 @@ +setAuthenticated(count($roles) > 0); + } + + public function getCredentials() + { + return ''; + } +} -- cgit v1.2.3