Add personal API access token

This commit is contained in:
Frederic Guillot
2016-12-03 15:43:36 -05:00
parent 23d862aef8
commit b8f7532e5c
45 changed files with 526 additions and 15 deletions

View File

@@ -2,6 +2,7 @@
namespace Kanboard\ServiceProvider;
use Kanboard\Auth\ApiAccessTokenAuth;
use Pimple\Container;
use Pimple\ServiceProviderInterface;
use Kanboard\Core\Security\AuthenticationManager;
@@ -44,6 +45,8 @@ class AuthenticationProvider implements ServiceProviderInterface
$container['authenticationManager']->register(new LdapAuth($container));
}
$container['authenticationManager']->register(new ApiAccessTokenAuth($container));
$container['projectAccessMap'] = $this->getProjectAccessMap();
$container['applicationAccessMap'] = $this->getApplicationAccessMap();
$container['apiAccessMap'] = $this->getApiAccessMap();