protected function createDatabaseRepository(array $config)
    {
        return new DatabaseTokenRepository(
            $this->app['db']->connection($config['connection']),
            $config['table'],
            $this->app['config']['app.key'],
            $config['expires']
        );
    }