Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not instantiate CacheItem directly #23

Merged

Conversation

slitviachenko
Copy link
Contributor

No description provided.

@slitviachenko slitviachenko changed the base branch from master to develop February 26, 2019 23:53
@CSharpRU CSharpRU self-requested a review February 27, 2019 05:48
@CSharpRU
Copy link
Owner

LGTM, thanks!

@CSharpRU CSharpRU merged commit 6d52e6e into CSharpRU:develop Feb 27, 2019
CSharpRU added a commit that referenced this pull request Jan 21, 2020
* Added support for custom approle name (#16)

* Added support for custom approle name

* Fixed spaces

* Added option to send custom request

* Added spaces around dots in AppRoleAuthenticationStrategy::authenticate

* merge (#21)

* the list method added

* the list method added

* name changed

* revert name

* Update composer.json

* fix things after merge of PRs

* Do not instantiate CacheItem directly (#23)

* psr-18 (#19)

* first version of httplug usage

* Merge branches 'develop' and 'feature/httplug' of github.com:CSharpRU/vault-php into feature/httplug

# Conflicts:
#	src/BaseClient.php

* remove php 5.6

* PSR-18 usage

* add little fixes

* adjust code style

* bump php ver up to 7.2

* fix travis ci php versions

* reformat code and enable only curl hook for tests

Co-authored-by: Petr Besir Horáček <sirbesir@gmail.com>
Co-authored-by: Alexandr <algerman.sam@gmail.com>
Co-authored-by: Serhii Litviachenko <sergey.litvyachenko@gmail.com>
CSharpRU added a commit that referenced this pull request Mar 2, 2020
* Added support for custom approle name (#16)

* Added support for custom approle name

* Fixed spaces

* Added option to send custom request

* Added spaces around dots in AppRoleAuthenticationStrategy::authenticate

* merge (#21)

* the list method added

* the list method added

* name changed

* revert name

* Update composer.json

* fix things after merge of PRs

* Do not instantiate CacheItem directly (#23)

* psr-18 (#19)

* first version of httplug usage

* Merge branches 'develop' and 'feature/httplug' of github.com:CSharpRU/vault-php into feature/httplug

# Conflicts:
#	src/BaseClient.php

* remove php 5.6

* PSR-18 usage

* add little fixes

* adjust code style

* bump php ver up to 7.2

* fix travis ci php versions

* reformat code and enable only curl hook for tests

* #27 update inflector package (#29)

* Update cache/cache dependency (#28)

Co-authored-by: Yaroslav Lukyanov <c_sharp@mail.ru>

Co-authored-by: Petr Besir Horáček <sirbesir@gmail.com>
Co-authored-by: Alexandr <algerman.sam@gmail.com>
Co-authored-by: Serhii Litviachenko <sergey.litvyachenko@gmail.com>
Co-authored-by: Marcus Pettersen Irgens <marcus.pettersen.irgens@gmail.com>
CSharpRU added a commit that referenced this pull request Mar 3, 2020
* Added support for custom approle name (#16)

* Added support for custom approle name

* Fixed spaces

* Added option to send custom request

* Added spaces around dots in AppRoleAuthenticationStrategy::authenticate

* merge (#21)

* the list method added

* the list method added

* name changed

* revert name

* Update composer.json

* fix things after merge of PRs

* Do not instantiate CacheItem directly (#23)

* psr-18 (#19)

* first version of httplug usage

* Merge branches 'develop' and 'feature/httplug' of github.com:CSharpRU/vault-php into feature/httplug

# Conflicts:
#	src/BaseClient.php

* remove php 5.6

* PSR-18 usage

* add little fixes

* adjust code style

* bump php ver up to 7.2

* fix travis ci php versions

* reformat code and enable only curl hook for tests

* #27 update inflector package (#29)

* Update cache/cache dependency (#28)

Co-authored-by: Yaroslav Lukyanov <c_sharp@mail.ru>

* fix tests

Co-authored-by: Petr Besir Horáček <sirbesir@gmail.com>
Co-authored-by: Alexandr <algerman.sam@gmail.com>
Co-authored-by: Serhii Litviachenko <sergey.litvyachenko@gmail.com>
Co-authored-by: Marcus Pettersen Irgens <marcus.pettersen.irgens@gmail.com>
CSharpRU added a commit that referenced this pull request May 26, 2020
* Added support for custom approle name (#16)

* Added support for custom approle name

* Fixed spaces

* Added option to send custom request

* Added spaces around dots in AppRoleAuthenticationStrategy::authenticate

* merge (#21)

* the list method added

* the list method added

* name changed

* revert name

* Update composer.json

* fix things after merge of PRs

* Do not instantiate CacheItem directly (#23)

* psr-18 (#19)

* first version of httplug usage

* Merge branches 'develop' and 'feature/httplug' of github.com:CSharpRU/vault-php into feature/httplug

# Conflicts:
#	src/BaseClient.php

* remove php 5.6

* PSR-18 usage

* add little fixes

* adjust code style

* bump php ver up to 7.2

* fix travis ci php versions

* reformat code and enable only curl hook for tests

* #27 update inflector package (#29)

* Update cache/cache dependency (#28)

Co-authored-by: Yaroslav Lukyanov <c_sharp@mail.ru>

* fix tests

* Add more Authentication Strategies (#33)

* Add more Authentication Strategies

* Fix Copy & Paste Error in OktaAuthenticationStrategy

* Put `extends` on the same line

* Create & extend abstract for username/password authentication methods

* Simplify cache dependency (#34)

This Vault PHP client only uses the array cache adapter, so
there is no need to require the complete cache/cache package.

This change was prompted when trying to require the
contentful/contentful:6.0.3 package into a project where
csharpru/vault-php was already installed. Since the Contentful
package requires the void cache adapter, it cannot be installed
in a project with the complete cache/cache package already
installed. This is because cache/cache conflicts with all of the
individual cache/* packages.

Checked that all tests pass.

* fix codestyle, remove unused dependencies (#35)

Co-authored-by: Petr Besir Horáček <sirbesir@gmail.com>
Co-authored-by: Alexandr <algerman.sam@gmail.com>
Co-authored-by: Serhii Litviachenko <sergey.litvyachenko@gmail.com>
Co-authored-by: Marcus Pettersen Irgens <marcus.pettersen.irgens@gmail.com>
Co-authored-by: Christian Bönning <hexa2k9@users.noreply.github.com>
Co-authored-by: Aapo Kiiso <aapo@kii.so>
CSharpRU added a commit that referenced this pull request Jun 29, 2020
* Merge latest changes (#36)

* Added support for custom approle name (#16)

* Added support for custom approle name

* Fixed spaces

* Added option to send custom request

* Added spaces around dots in AppRoleAuthenticationStrategy::authenticate

* merge (#21)

* the list method added

* the list method added

* name changed

* revert name

* Update composer.json

* fix things after merge of PRs

* Do not instantiate CacheItem directly (#23)

* psr-18 (#19)

* first version of httplug usage

* Merge branches 'develop' and 'feature/httplug' of github.com:CSharpRU/vault-php into feature/httplug

# Conflicts:
#	src/BaseClient.php

* remove php 5.6

* PSR-18 usage

* add little fixes

* adjust code style

* bump php ver up to 7.2

* fix travis ci php versions

* reformat code and enable only curl hook for tests

* #27 update inflector package (#29)

* Update cache/cache dependency (#28)

Co-authored-by: Yaroslav Lukyanov <c_sharp@mail.ru>

* fix tests

* Add more Authentication Strategies (#33)

* Add more Authentication Strategies

* Fix Copy & Paste Error in OktaAuthenticationStrategy

* Put `extends` on the same line

* Create & extend abstract for username/password authentication methods

* Simplify cache dependency (#34)

This Vault PHP client only uses the array cache adapter, so
there is no need to require the complete cache/cache package.

This change was prompted when trying to require the
contentful/contentful:6.0.3 package into a project where
csharpru/vault-php was already installed. Since the Contentful
package requires the void cache adapter, it cannot be installed
in a project with the complete cache/cache package already
installed. This is because cache/cache conflicts with all of the
individual cache/* packages.

Checked that all tests pass.

* fix codestyle, remove unused dependencies (#35)

Co-authored-by: Petr Besir Horáček <sirbesir@gmail.com>
Co-authored-by: Alexandr <algerman.sam@gmail.com>
Co-authored-by: Serhii Litviachenko <sergey.litvyachenko@gmail.com>
Co-authored-by: Marcus Pettersen Irgens <marcus.pettersen.irgens@gmail.com>
Co-authored-by: Christian Bönning <hexa2k9@users.noreply.github.com>
Co-authored-by: Aapo Kiiso <aapo@kii.so>

* - remove Doctrine/Inflector
* move Adapter dependency to require block

* * revert adapter

Co-authored-by: Yaroslav Lukyanov <c_sharp@mail.ru>
Co-authored-by: Petr Besir Horáček <sirbesir@gmail.com>
Co-authored-by: Alexandr <algerman.sam@gmail.com>
Co-authored-by: Serhii Litviachenko <sergey.litvyachenko@gmail.com>
Co-authored-by: Marcus Pettersen Irgens <marcus.pettersen.irgens@gmail.com>
Co-authored-by: Christian Bönning <hexa2k9@users.noreply.github.com>
Co-authored-by: Aapo Kiiso <aapo@kii.so>
Co-authored-by: dave <dave@umbrellio.biz>
CSharpRU added a commit that referenced this pull request Nov 27, 2020
* Added support for custom approle name (#16)

* Added support for custom approle name

* Fixed spaces

* Added option to send custom request

* Added spaces around dots in AppRoleAuthenticationStrategy::authenticate

* merge (#21)

* the list method added

* the list method added

* name changed

* revert name

* Update composer.json

* fix things after merge of PRs

* Do not instantiate CacheItem directly (#23)

* psr-18 (#19)

* first version of httplug usage

* Merge branches 'develop' and 'feature/httplug' of github.com:CSharpRU/vault-php into feature/httplug

# Conflicts:
#	src/BaseClient.php

* remove php 5.6

* PSR-18 usage

* add little fixes

* adjust code style

* bump php ver up to 7.2

* fix travis ci php versions

* reformat code and enable only curl hook for tests

* #27 update inflector package (#29)

* Update cache/cache dependency (#28)

Co-authored-by: Yaroslav Lukyanov <c_sharp@mail.ru>

* fix tests

* Add more Authentication Strategies (#33)

* Add more Authentication Strategies

* Fix Copy & Paste Error in OktaAuthenticationStrategy

* Put `extends` on the same line

* Create & extend abstract for username/password authentication methods

* Simplify cache dependency (#34)

This Vault PHP client only uses the array cache adapter, so
there is no need to require the complete cache/cache package.

This change was prompted when trying to require the
contentful/contentful:6.0.3 package into a project where
csharpru/vault-php was already installed. Since the Contentful
package requires the void cache adapter, it cannot be installed
in a project with the complete cache/cache package already
installed. This is because cache/cache conflicts with all of the
individual cache/* packages.

Checked that all tests pass.

* fix codestyle, remove unused dependencies (#35)

* Removing Reflector dependency (#38)

* Merge latest changes (#36)

* Added support for custom approle name (#16)

* Added support for custom approle name

* Fixed spaces

* Added option to send custom request

* Added spaces around dots in AppRoleAuthenticationStrategy::authenticate

* merge (#21)

* the list method added

* the list method added

* name changed

* revert name

* Update composer.json

* fix things after merge of PRs

* Do not instantiate CacheItem directly (#23)

* psr-18 (#19)

* first version of httplug usage

* Merge branches 'develop' and 'feature/httplug' of github.com:CSharpRU/vault-php into feature/httplug

# Conflicts:
#	src/BaseClient.php

* remove php 5.6

* PSR-18 usage

* add little fixes

* adjust code style

* bump php ver up to 7.2

* fix travis ci php versions

* reformat code and enable only curl hook for tests

* #27 update inflector package (#29)

* Update cache/cache dependency (#28)

Co-authored-by: Yaroslav Lukyanov <c_sharp@mail.ru>

* fix tests

* Add more Authentication Strategies (#33)

* Add more Authentication Strategies

* Fix Copy & Paste Error in OktaAuthenticationStrategy

* Put `extends` on the same line

* Create & extend abstract for username/password authentication methods

* Simplify cache dependency (#34)

This Vault PHP client only uses the array cache adapter, so
there is no need to require the complete cache/cache package.

This change was prompted when trying to require the
contentful/contentful:6.0.3 package into a project where
csharpru/vault-php was already installed. Since the Contentful
package requires the void cache adapter, it cannot be installed
in a project with the complete cache/cache package already
installed. This is because cache/cache conflicts with all of the
individual cache/* packages.

Checked that all tests pass.

* fix codestyle, remove unused dependencies (#35)

Co-authored-by: Petr Besir Horáček <sirbesir@gmail.com>
Co-authored-by: Alexandr <algerman.sam@gmail.com>
Co-authored-by: Serhii Litviachenko <sergey.litvyachenko@gmail.com>
Co-authored-by: Marcus Pettersen Irgens <marcus.pettersen.irgens@gmail.com>
Co-authored-by: Christian Bönning <hexa2k9@users.noreply.github.com>
Co-authored-by: Aapo Kiiso <aapo@kii.so>

* - remove Doctrine/Inflector
* move Adapter dependency to require block

* * revert adapter

Co-authored-by: Yaroslav Lukyanov <c_sharp@mail.ru>
Co-authored-by: Petr Besir Horáček <sirbesir@gmail.com>
Co-authored-by: Alexandr <algerman.sam@gmail.com>
Co-authored-by: Serhii Litviachenko <sergey.litvyachenko@gmail.com>
Co-authored-by: Marcus Pettersen Irgens <marcus.pettersen.irgens@gmail.com>
Co-authored-by: Christian Bönning <hexa2k9@users.noreply.github.com>
Co-authored-by: Aapo Kiiso <aapo@kii.so>
Co-authored-by: dave <dave@umbrellio.biz>

* Adds support of query part in $path (#39)

Co-authored-by: Petr Besir Horáček <sirbesir@gmail.com>
Co-authored-by: Alexandr <algerman.sam@gmail.com>
Co-authored-by: Serhii Litviachenko <sergey.litvyachenko@gmail.com>
Co-authored-by: Marcus Pettersen Irgens <marcus.pettersen.irgens@gmail.com>
Co-authored-by: Christian Bönning <hexa2k9@users.noreply.github.com>
Co-authored-by: Aapo Kiiso <aapo@kii.so>
Co-authored-by: qem19 <49522198+qem19@users.noreply.github.com>
Co-authored-by: dave <dave@umbrellio.biz>
Co-authored-by: Sergey Drobov <sdrobov@users.noreply.github.com>
CSharpRU added a commit that referenced this pull request May 21, 2021
* Added support for custom approle name (#16)

* Added support for custom approle name

* Fixed spaces

* Added option to send custom request

* Added spaces around dots in AppRoleAuthenticationStrategy::authenticate

* merge (#21)

* the list method added

* the list method added

* name changed

* revert name

* Update composer.json

* fix things after merge of PRs

* Do not instantiate CacheItem directly (#23)

* psr-18 (#19)

* first version of httplug usage

* Merge branches 'develop' and 'feature/httplug' of github.com:CSharpRU/vault-php into feature/httplug

# Conflicts:
#	src/BaseClient.php

* remove php 5.6

* PSR-18 usage

* add little fixes

* adjust code style

* bump php ver up to 7.2

* fix travis ci php versions

* reformat code and enable only curl hook for tests

* #27 update inflector package (#29)

* Update cache/cache dependency (#28)

Co-authored-by: Yaroslav Lukyanov <c_sharp@mail.ru>

* fix tests

* Add more Authentication Strategies (#33)

* Add more Authentication Strategies

* Fix Copy & Paste Error in OktaAuthenticationStrategy

* Put `extends` on the same line

* Create & extend abstract for username/password authentication methods

* Simplify cache dependency (#34)

This Vault PHP client only uses the array cache adapter, so
there is no need to require the complete cache/cache package.

This change was prompted when trying to require the
contentful/contentful:6.0.3 package into a project where
csharpru/vault-php was already installed. Since the Contentful
package requires the void cache adapter, it cannot be installed
in a project with the complete cache/cache package already
installed. This is because cache/cache conflicts with all of the
individual cache/* packages.

Checked that all tests pass.

* fix codestyle, remove unused dependencies (#35)

* Removing Reflector dependency (#38)

* Merge latest changes (#36)

* Added support for custom approle name (#16)

* Added support for custom approle name

* Fixed spaces

* Added option to send custom request

* Added spaces around dots in AppRoleAuthenticationStrategy::authenticate

* merge (#21)

* the list method added

* the list method added

* name changed

* revert name

* Update composer.json

* fix things after merge of PRs

* Do not instantiate CacheItem directly (#23)

* psr-18 (#19)

* first version of httplug usage

* Merge branches 'develop' and 'feature/httplug' of github.com:CSharpRU/vault-php into feature/httplug

# Conflicts:
#	src/BaseClient.php

* remove php 5.6

* PSR-18 usage

* add little fixes

* adjust code style

* bump php ver up to 7.2

* fix travis ci php versions

* reformat code and enable only curl hook for tests

* #27 update inflector package (#29)

* Update cache/cache dependency (#28)

Co-authored-by: Yaroslav Lukyanov <c_sharp@mail.ru>

* fix tests

* Add more Authentication Strategies (#33)

* Add more Authentication Strategies

* Fix Copy & Paste Error in OktaAuthenticationStrategy

* Put `extends` on the same line

* Create & extend abstract for username/password authentication methods

* Simplify cache dependency (#34)

This Vault PHP client only uses the array cache adapter, so
there is no need to require the complete cache/cache package.

This change was prompted when trying to require the
contentful/contentful:6.0.3 package into a project where
csharpru/vault-php was already installed. Since the Contentful
package requires the void cache adapter, it cannot be installed
in a project with the complete cache/cache package already
installed. This is because cache/cache conflicts with all of the
individual cache/* packages.

Checked that all tests pass.

* fix codestyle, remove unused dependencies (#35)

Co-authored-by: Petr Besir Horáček <sirbesir@gmail.com>
Co-authored-by: Alexandr <algerman.sam@gmail.com>
Co-authored-by: Serhii Litviachenko <sergey.litvyachenko@gmail.com>
Co-authored-by: Marcus Pettersen Irgens <marcus.pettersen.irgens@gmail.com>
Co-authored-by: Christian Bönning <hexa2k9@users.noreply.github.com>
Co-authored-by: Aapo Kiiso <aapo@kii.so>

* - remove Doctrine/Inflector
* move Adapter dependency to require block

* * revert adapter

Co-authored-by: Yaroslav Lukyanov <c_sharp@mail.ru>
Co-authored-by: Petr Besir Horáček <sirbesir@gmail.com>
Co-authored-by: Alexandr <algerman.sam@gmail.com>
Co-authored-by: Serhii Litviachenko <sergey.litvyachenko@gmail.com>
Co-authored-by: Marcus Pettersen Irgens <marcus.pettersen.irgens@gmail.com>
Co-authored-by: Christian Bönning <hexa2k9@users.noreply.github.com>
Co-authored-by: Aapo Kiiso <aapo@kii.so>
Co-authored-by: dave <dave@umbrellio.biz>

* Adds support of query part in $path (#39)

* Create dependabot.yml

* Update composer.json

* Update composer.json

fix build

* Update .travis.yml

fix build again

* Update .travis.yml

test on php 8

* Update .travis.yml

fix codacy

* Update alextartan/guzzle-psr18-adapter requirement || ^2.0 (#43)

Updates the requirements on [alextartan/guzzle-psr18-adapter](https://github.com/alextartan/guzzle-psr18-adapter) to permit the latest version.
- [Release notes](https://github.com/alextartan/guzzle-psr18-adapter/releases)
- [Commits](alextartan/guzzle-psr18-adapter@1.2.0...2.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update codeception/codeception requirement from ^2.2 to ^2.2 || ^4.0 (#44)

Updates the requirements on [codeception/codeception](https://github.com/Codeception/Codeception) to permit the latest version.
- [Release notes](https://github.com/Codeception/Codeception/releases)
- [Changelog](https://github.com/Codeception/Codeception/blob/4.1/CHANGELOG-4.1.md)
- [Commits](Codeception/Codeception@2.2.0...4.1.15)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update composer.json

use latest vcr

* Update composer.json

* Update composer.json

* Update composer.json

* Update composer.json

revert codeception ver

* Fix null auth (#48)

* Update AuthenticationStrategy.php

* Update TokenAuthenticationStrategy.php

* Update AppRoleAuthenticationStrategy.php

* check bad status code obviously, update codeception and fix tests

Co-authored-by: Petr Besir Horáček <sirbesir@gmail.com>
Co-authored-by: Alexandr <algerman.sam@gmail.com>
Co-authored-by: Serhii Litviachenko <sergey.litvyachenko@gmail.com>
Co-authored-by: Marcus Pettersen Irgens <marcus.pettersen.irgens@gmail.com>
Co-authored-by: Christian Bönning <hexa2k9@users.noreply.github.com>
Co-authored-by: Aapo Kiiso <aapo@kii.so>
Co-authored-by: qem19 <49522198+qem19@users.noreply.github.com>
Co-authored-by: dave <dave@umbrellio.biz>
Co-authored-by: Sergey Drobov <sdrobov@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Max <2618094@users.noreply.github.com>
CSharpRU added a commit that referenced this pull request May 21, 2021
* merge develop into master (#42)

* Added support for custom approle name (#16)

* Added support for custom approle name

* Fixed spaces

* Added option to send custom request

* Added spaces around dots in AppRoleAuthenticationStrategy::authenticate

* merge (#21)

* the list method added

* the list method added

* name changed

* revert name

* Update composer.json

* fix things after merge of PRs

* Do not instantiate CacheItem directly (#23)

* psr-18 (#19)

* first version of httplug usage

* Merge branches 'develop' and 'feature/httplug' of github.com:CSharpRU/vault-php into feature/httplug

# Conflicts:
#	src/BaseClient.php

* remove php 5.6

* PSR-18 usage

* add little fixes

* adjust code style

* bump php ver up to 7.2

* fix travis ci php versions

* reformat code and enable only curl hook for tests

* #27 update inflector package (#29)

* Update cache/cache dependency (#28)

Co-authored-by: Yaroslav Lukyanov <c_sharp@mail.ru>

* fix tests

* Add more Authentication Strategies (#33)

* Add more Authentication Strategies

* Fix Copy & Paste Error in OktaAuthenticationStrategy

* Put `extends` on the same line

* Create & extend abstract for username/password authentication methods

* Simplify cache dependency (#34)

This Vault PHP client only uses the array cache adapter, so
there is no need to require the complete cache/cache package.

This change was prompted when trying to require the
contentful/contentful:6.0.3 package into a project where
csharpru/vault-php was already installed. Since the Contentful
package requires the void cache adapter, it cannot be installed
in a project with the complete cache/cache package already
installed. This is because cache/cache conflicts with all of the
individual cache/* packages.

Checked that all tests pass.

* fix codestyle, remove unused dependencies (#35)

* Removing Reflector dependency (#38)

* Merge latest changes (#36)

* Added support for custom approle name (#16)

* Added support for custom approle name

* Fixed spaces

* Added option to send custom request

* Added spaces around dots in AppRoleAuthenticationStrategy::authenticate

* merge (#21)

* the list method added

* the list method added

* name changed

* revert name

* Update composer.json

* fix things after merge of PRs

* Do not instantiate CacheItem directly (#23)

* psr-18 (#19)

* first version of httplug usage

* Merge branches 'develop' and 'feature/httplug' of github.com:CSharpRU/vault-php into feature/httplug

# Conflicts:
#	src/BaseClient.php

* remove php 5.6

* PSR-18 usage

* add little fixes

* adjust code style

* bump php ver up to 7.2

* fix travis ci php versions

* reformat code and enable only curl hook for tests

* #27 update inflector package (#29)

* Update cache/cache dependency (#28)

Co-authored-by: Yaroslav Lukyanov <c_sharp@mail.ru>

* fix tests

* Add more Authentication Strategies (#33)

* Add more Authentication Strategies

* Fix Copy & Paste Error in OktaAuthenticationStrategy

* Put `extends` on the same line

* Create & extend abstract for username/password authentication methods

* Simplify cache dependency (#34)

This Vault PHP client only uses the array cache adapter, so
there is no need to require the complete cache/cache package.

This change was prompted when trying to require the
contentful/contentful:6.0.3 package into a project where
csharpru/vault-php was already installed. Since the Contentful
package requires the void cache adapter, it cannot be installed
in a project with the complete cache/cache package already
installed. This is because cache/cache conflicts with all of the
individual cache/* packages.

Checked that all tests pass.

* fix codestyle, remove unused dependencies (#35)

Co-authored-by: Petr Besir Horáček <sirbesir@gmail.com>
Co-authored-by: Alexandr <algerman.sam@gmail.com>
Co-authored-by: Serhii Litviachenko <sergey.litvyachenko@gmail.com>
Co-authored-by: Marcus Pettersen Irgens <marcus.pettersen.irgens@gmail.com>
Co-authored-by: Christian Bönning <hexa2k9@users.noreply.github.com>
Co-authored-by: Aapo Kiiso <aapo@kii.so>

* - remove Doctrine/Inflector
* move Adapter dependency to require block

* * revert adapter

Co-authored-by: Yaroslav Lukyanov <c_sharp@mail.ru>
Co-authored-by: Petr Besir Horáček <sirbesir@gmail.com>
Co-authored-by: Alexandr <algerman.sam@gmail.com>
Co-authored-by: Serhii Litviachenko <sergey.litvyachenko@gmail.com>
Co-authored-by: Marcus Pettersen Irgens <marcus.pettersen.irgens@gmail.com>
Co-authored-by: Christian Bönning <hexa2k9@users.noreply.github.com>
Co-authored-by: Aapo Kiiso <aapo@kii.so>
Co-authored-by: dave <dave@umbrellio.biz>

* Adds support of query part in $path (#39)

Co-authored-by: Petr Besir Horáček <sirbesir@gmail.com>
Co-authored-by: Alexandr <algerman.sam@gmail.com>
Co-authored-by: Serhii Litviachenko <sergey.litvyachenko@gmail.com>
Co-authored-by: Marcus Pettersen Irgens <marcus.pettersen.irgens@gmail.com>
Co-authored-by: Christian Bönning <hexa2k9@users.noreply.github.com>
Co-authored-by: Aapo Kiiso <aapo@kii.so>
Co-authored-by: qem19 <49522198+qem19@users.noreply.github.com>
Co-authored-by: dave <dave@umbrellio.biz>
Co-authored-by: Sergey Drobov <sdrobov@users.noreply.github.com>

* merge to master (#49)

* Added support for custom approle name (#16)

* Added support for custom approle name

* Fixed spaces

* Added option to send custom request

* Added spaces around dots in AppRoleAuthenticationStrategy::authenticate

* merge (#21)

* the list method added

* the list method added

* name changed

* revert name

* Update composer.json

* fix things after merge of PRs

* Do not instantiate CacheItem directly (#23)

* psr-18 (#19)

* first version of httplug usage

* Merge branches 'develop' and 'feature/httplug' of github.com:CSharpRU/vault-php into feature/httplug

# Conflicts:
#	src/BaseClient.php

* remove php 5.6

* PSR-18 usage

* add little fixes

* adjust code style

* bump php ver up to 7.2

* fix travis ci php versions

* reformat code and enable only curl hook for tests

* #27 update inflector package (#29)

* Update cache/cache dependency (#28)

Co-authored-by: Yaroslav Lukyanov <c_sharp@mail.ru>

* fix tests

* Add more Authentication Strategies (#33)

* Add more Authentication Strategies

* Fix Copy & Paste Error in OktaAuthenticationStrategy

* Put `extends` on the same line

* Create & extend abstract for username/password authentication methods

* Simplify cache dependency (#34)

This Vault PHP client only uses the array cache adapter, so
there is no need to require the complete cache/cache package.

This change was prompted when trying to require the
contentful/contentful:6.0.3 package into a project where
csharpru/vault-php was already installed. Since the Contentful
package requires the void cache adapter, it cannot be installed
in a project with the complete cache/cache package already
installed. This is because cache/cache conflicts with all of the
individual cache/* packages.

Checked that all tests pass.

* fix codestyle, remove unused dependencies (#35)

* Removing Reflector dependency (#38)

* Merge latest changes (#36)

* Added support for custom approle name (#16)

* Added support for custom approle name

* Fixed spaces

* Added option to send custom request

* Added spaces around dots in AppRoleAuthenticationStrategy::authenticate

* merge (#21)

* the list method added

* the list method added

* name changed

* revert name

* Update composer.json

* fix things after merge of PRs

* Do not instantiate CacheItem directly (#23)

* psr-18 (#19)

* first version of httplug usage

* Merge branches 'develop' and 'feature/httplug' of github.com:CSharpRU/vault-php into feature/httplug

# Conflicts:
#	src/BaseClient.php

* remove php 5.6

* PSR-18 usage

* add little fixes

* adjust code style

* bump php ver up to 7.2

* fix travis ci php versions

* reformat code and enable only curl hook for tests

* #27 update inflector package (#29)

* Update cache/cache dependency (#28)

Co-authored-by: Yaroslav Lukyanov <c_sharp@mail.ru>

* fix tests

* Add more Authentication Strategies (#33)

* Add more Authentication Strategies

* Fix Copy & Paste Error in OktaAuthenticationStrategy

* Put `extends` on the same line

* Create & extend abstract for username/password authentication methods

* Simplify cache dependency (#34)

This Vault PHP client only uses the array cache adapter, so
there is no need to require the complete cache/cache package.

This change was prompted when trying to require the
contentful/contentful:6.0.3 package into a project where
csharpru/vault-php was already installed. Since the Contentful
package requires the void cache adapter, it cannot be installed
in a project with the complete cache/cache package already
installed. This is because cache/cache conflicts with all of the
individual cache/* packages.

Checked that all tests pass.

* fix codestyle, remove unused dependencies (#35)

Co-authored-by: Petr Besir Horáček <sirbesir@gmail.com>
Co-authored-by: Alexandr <algerman.sam@gmail.com>
Co-authored-by: Serhii Litviachenko <sergey.litvyachenko@gmail.com>
Co-authored-by: Marcus Pettersen Irgens <marcus.pettersen.irgens@gmail.com>
Co-authored-by: Christian Bönning <hexa2k9@users.noreply.github.com>
Co-authored-by: Aapo Kiiso <aapo@kii.so>

* - remove Doctrine/Inflector
* move Adapter dependency to require block

* * revert adapter

Co-authored-by: Yaroslav Lukyanov <c_sharp@mail.ru>
Co-authored-by: Petr Besir Horáček <sirbesir@gmail.com>
Co-authored-by: Alexandr <algerman.sam@gmail.com>
Co-authored-by: Serhii Litviachenko <sergey.litvyachenko@gmail.com>
Co-authored-by: Marcus Pettersen Irgens <marcus.pettersen.irgens@gmail.com>
Co-authored-by: Christian Bönning <hexa2k9@users.noreply.github.com>
Co-authored-by: Aapo Kiiso <aapo@kii.so>
Co-authored-by: dave <dave@umbrellio.biz>

* Adds support of query part in $path (#39)

* Create dependabot.yml

* Update composer.json

* Update composer.json

fix build

* Update .travis.yml

fix build again

* Update .travis.yml

test on php 8

* Update .travis.yml

fix codacy

* Update alextartan/guzzle-psr18-adapter requirement || ^2.0 (#43)

Updates the requirements on [alextartan/guzzle-psr18-adapter](https://github.com/alextartan/guzzle-psr18-adapter) to permit the latest version.
- [Release notes](https://github.com/alextartan/guzzle-psr18-adapter/releases)
- [Commits](alextartan/guzzle-psr18-adapter@1.2.0...2.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update codeception/codeception requirement from ^2.2 to ^2.2 || ^4.0 (#44)

Updates the requirements on [codeception/codeception](https://github.com/Codeception/Codeception) to permit the latest version.
- [Release notes](https://github.com/Codeception/Codeception/releases)
- [Changelog](https://github.com/Codeception/Codeception/blob/4.1/CHANGELOG-4.1.md)
- [Commits](Codeception/Codeception@2.2.0...4.1.15)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update composer.json

use latest vcr

* Update composer.json

* Update composer.json

* Update composer.json

* Update composer.json

revert codeception ver

* Fix null auth (#48)

* Update AuthenticationStrategy.php

* Update TokenAuthenticationStrategy.php

* Update AppRoleAuthenticationStrategy.php

* check bad status code obviously, update codeception and fix tests

Co-authored-by: Petr Besir Horáček <sirbesir@gmail.com>
Co-authored-by: Alexandr <algerman.sam@gmail.com>
Co-authored-by: Serhii Litviachenko <sergey.litvyachenko@gmail.com>
Co-authored-by: Marcus Pettersen Irgens <marcus.pettersen.irgens@gmail.com>
Co-authored-by: Christian Bönning <hexa2k9@users.noreply.github.com>
Co-authored-by: Aapo Kiiso <aapo@kii.so>
Co-authored-by: qem19 <49522198+qem19@users.noreply.github.com>
Co-authored-by: dave <dave@umbrellio.biz>
Co-authored-by: Sergey Drobov <sdrobov@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Max <2618094@users.noreply.github.com>

Co-authored-by: Petr Besir Horáček <sirbesir@gmail.com>
Co-authored-by: Alexandr <algerman.sam@gmail.com>
Co-authored-by: Serhii Litviachenko <sergey.litvyachenko@gmail.com>
Co-authored-by: Marcus Pettersen Irgens <marcus.pettersen.irgens@gmail.com>
Co-authored-by: Christian Bönning <hexa2k9@users.noreply.github.com>
Co-authored-by: Aapo Kiiso <aapo@kii.so>
Co-authored-by: qem19 <49522198+qem19@users.noreply.github.com>
Co-authored-by: dave <dave@umbrellio.biz>
Co-authored-by: Sergey Drobov <sdrobov@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Max <2618094@users.noreply.github.com>
CSharpRU added a commit that referenced this pull request Jun 10, 2021
* Added support for custom approle name (#16)

* Added support for custom approle name

* Fixed spaces

* Added option to send custom request

* Added spaces around dots in AppRoleAuthenticationStrategy::authenticate

* merge (#21)

* the list method added

* the list method added

* name changed

* revert name

* Update composer.json

* fix things after merge of PRs

* Do not instantiate CacheItem directly (#23)

* psr-18 (#19)

* first version of httplug usage

* Merge branches 'develop' and 'feature/httplug' of github.com:CSharpRU/vault-php into feature/httplug

# Conflicts:
#	src/BaseClient.php

* remove php 5.6

* PSR-18 usage

* add little fixes

* adjust code style

* bump php ver up to 7.2

* fix travis ci php versions

* reformat code and enable only curl hook for tests

* #27 update inflector package (#29)

* Update cache/cache dependency (#28)

Co-authored-by: Yaroslav Lukyanov <c_sharp@mail.ru>

* fix tests

* Add more Authentication Strategies (#33)

* Add more Authentication Strategies

* Fix Copy & Paste Error in OktaAuthenticationStrategy

* Put `extends` on the same line

* Create & extend abstract for username/password authentication methods

* Simplify cache dependency (#34)

This Vault PHP client only uses the array cache adapter, so
there is no need to require the complete cache/cache package.

This change was prompted when trying to require the
contentful/contentful:6.0.3 package into a project where
csharpru/vault-php was already installed. Since the Contentful
package requires the void cache adapter, it cannot be installed
in a project with the complete cache/cache package already
installed. This is because cache/cache conflicts with all of the
individual cache/* packages.

Checked that all tests pass.

* fix codestyle, remove unused dependencies (#35)

* Removing Reflector dependency (#38)

* Merge latest changes (#36)

* Added support for custom approle name (#16)

* Added support for custom approle name

* Fixed spaces

* Added option to send custom request

* Added spaces around dots in AppRoleAuthenticationStrategy::authenticate

* merge (#21)

* the list method added

* the list method added

* name changed

* revert name

* Update composer.json

* fix things after merge of PRs

* Do not instantiate CacheItem directly (#23)

* psr-18 (#19)

* first version of httplug usage

* Merge branches 'develop' and 'feature/httplug' of github.com:CSharpRU/vault-php into feature/httplug

# Conflicts:
#	src/BaseClient.php

* remove php 5.6

* PSR-18 usage

* add little fixes

* adjust code style

* bump php ver up to 7.2

* fix travis ci php versions

* reformat code and enable only curl hook for tests

* #27 update inflector package (#29)

* Update cache/cache dependency (#28)

Co-authored-by: Yaroslav Lukyanov <c_sharp@mail.ru>

* fix tests

* Add more Authentication Strategies (#33)

* Add more Authentication Strategies

* Fix Copy & Paste Error in OktaAuthenticationStrategy

* Put `extends` on the same line

* Create & extend abstract for username/password authentication methods

* Simplify cache dependency (#34)

This Vault PHP client only uses the array cache adapter, so
there is no need to require the complete cache/cache package.

This change was prompted when trying to require the
contentful/contentful:6.0.3 package into a project where
csharpru/vault-php was already installed. Since the Contentful
package requires the void cache adapter, it cannot be installed
in a project with the complete cache/cache package already
installed. This is because cache/cache conflicts with all of the
individual cache/* packages.

Checked that all tests pass.

* fix codestyle, remove unused dependencies (#35)

Co-authored-by: Petr Besir Horáček <sirbesir@gmail.com>
Co-authored-by: Alexandr <algerman.sam@gmail.com>
Co-authored-by: Serhii Litviachenko <sergey.litvyachenko@gmail.com>
Co-authored-by: Marcus Pettersen Irgens <marcus.pettersen.irgens@gmail.com>
Co-authored-by: Christian Bönning <hexa2k9@users.noreply.github.com>
Co-authored-by: Aapo Kiiso <aapo@kii.so>

* - remove Doctrine/Inflector
* move Adapter dependency to require block

* * revert adapter

Co-authored-by: Yaroslav Lukyanov <c_sharp@mail.ru>
Co-authored-by: Petr Besir Horáček <sirbesir@gmail.com>
Co-authored-by: Alexandr <algerman.sam@gmail.com>
Co-authored-by: Serhii Litviachenko <sergey.litvyachenko@gmail.com>
Co-authored-by: Marcus Pettersen Irgens <marcus.pettersen.irgens@gmail.com>
Co-authored-by: Christian Bönning <hexa2k9@users.noreply.github.com>
Co-authored-by: Aapo Kiiso <aapo@kii.so>
Co-authored-by: dave <dave@umbrellio.biz>

* Adds support of query part in $path (#39)

* Create dependabot.yml

* Update composer.json

* Update composer.json

fix build

* Update .travis.yml

fix build again

* Update .travis.yml

test on php 8

* Update .travis.yml

fix codacy

* Update alextartan/guzzle-psr18-adapter requirement || ^2.0 (#43)

Updates the requirements on [alextartan/guzzle-psr18-adapter](https://github.com/alextartan/guzzle-psr18-adapter) to permit the latest version.
- [Release notes](https://github.com/alextartan/guzzle-psr18-adapter/releases)
- [Commits](alextartan/guzzle-psr18-adapter@1.2.0...2.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update codeception/codeception requirement from ^2.2 to ^2.2 || ^4.0 (#44)

Updates the requirements on [codeception/codeception](https://github.com/Codeception/Codeception) to permit the latest version.
- [Release notes](https://github.com/Codeception/Codeception/releases)
- [Changelog](https://github.com/Codeception/Codeception/blob/4.1/CHANGELOG-4.1.md)
- [Commits](Codeception/Codeception@2.2.0...4.1.15)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update composer.json

use latest vcr

* Update composer.json

* Update composer.json

* Update composer.json

* Update composer.json

revert codeception ver

* Fix null auth (#48)

* Update AuthenticationStrategy.php

* Update TokenAuthenticationStrategy.php

* Update AppRoleAuthenticationStrategy.php

* check bad status code obviously, update codeception and fix tests

* backmerge (#50)

* merge develop into master (#42)

* Added support for custom approle name (#16)

* Added support for custom approle name

* Fixed spaces

* Added option to send custom request

* Added spaces around dots in AppRoleAuthenticationStrategy::authenticate

* merge (#21)

* the list method added

* the list method added

* name changed

* revert name

* Update composer.json

* fix things after merge of PRs

* Do not instantiate CacheItem directly (#23)

* psr-18 (#19)

* first version of httplug usage

* Merge branches 'develop' and 'feature/httplug' of github.com:CSharpRU/vault-php into feature/httplug

# Conflicts:
#	src/BaseClient.php

* remove php 5.6

* PSR-18 usage

* add little fixes

* adjust code style

* bump php ver up to 7.2

* fix travis ci php versions

* reformat code and enable only curl hook for tests

* #27 update inflector package (#29)

* Update cache/cache dependency (#28)

Co-authored-by: Yaroslav Lukyanov <c_sharp@mail.ru>

* fix tests

* Add more Authentication Strategies (#33)

* Add more Authentication Strategies

* Fix Copy & Paste Error in OktaAuthenticationStrategy

* Put `extends` on the same line

* Create & extend abstract for username/password authentication methods

* Simplify cache dependency (#34)

This Vault PHP client only uses the array cache adapter, so
there is no need to require the complete cache/cache package.

This change was prompted when trying to require the
contentful/contentful:6.0.3 package into a project where
csharpru/vault-php was already installed. Since the Contentful
package requires the void cache adapter, it cannot be installed
in a project with the complete cache/cache package already
installed. This is because cache/cache conflicts with all of the
individual cache/* packages.

Checked that all tests pass.

* fix codestyle, remove unused dependencies (#35)

* Removing Reflector dependency (#38)

* Merge latest changes (#36)

* Added support for custom approle name (#16)

* Added support for custom approle name

* Fixed spaces

* Added option to send custom request

* Added spaces around dots in AppRoleAuthenticationStrategy::authenticate

* merge (#21)

* the list method added

* the list method added

* name changed

* revert name

* Update composer.json

* fix things after merge of PRs

* Do not instantiate CacheItem directly (#23)

* psr-18 (#19)

* first version of httplug usage

* Merge branches 'develop' and 'feature/httplug' of github.com:CSharpRU/vault-php into feature/httplug

# Conflicts:
#	src/BaseClient.php

* remove php 5.6

* PSR-18 usage

* add little fixes

* adjust code style

* bump php ver up to 7.2

* fix travis ci php versions

* reformat code and enable only curl hook for tests

* #27 update inflector package (#29)

* Update cache/cache dependency (#28)

Co-authored-by: Yaroslav Lukyanov <c_sharp@mail.ru>

* fix tests

* Add more Authentication Strategies (#33)

* Add more Authentication Strategies

* Fix Copy & Paste Error in OktaAuthenticationStrategy

* Put `extends` on the same line

* Create & extend abstract for username/password authentication methods

* Simplify cache dependency (#34)

This Vault PHP client only uses the array cache adapter, so
there is no need to require the complete cache/cache package.

This change was prompted when trying to require the
contentful/contentful:6.0.3 package into a project where
csharpru/vault-php was already installed. Since the Contentful
package requires the void cache adapter, it cannot be installed
in a project with the complete cache/cache package already
installed. This is because cache/cache conflicts with all of the
individual cache/* packages.

Checked that all tests pass.

* fix codestyle, remove unused dependencies (#35)

Co-authored-by: Petr Besir Horáček <sirbesir@gmail.com>
Co-authored-by: Alexandr <algerman.sam@gmail.com>
Co-authored-by: Serhii Litviachenko <sergey.litvyachenko@gmail.com>
Co-authored-by: Marcus Pettersen Irgens <marcus.pettersen.irgens@gmail.com>
Co-authored-by: Christian Bönning <hexa2k9@users.noreply.github.com>
Co-authored-by: Aapo Kiiso <aapo@kii.so>

* - remove Doctrine/Inflector
* move Adapter dependency to require block

* * revert adapter

Co-authored-by: Yaroslav Lukyanov <c_sharp@mail.ru>
Co-authored-by: Petr Besir Horáček <sirbesir@gmail.com>
Co-authored-by: Alexandr <algerman.sam@gmail.com>
Co-authored-by: Serhii Litviachenko <sergey.litvyachenko@gmail.com>
Co-authored-by: Marcus Pettersen Irgens <marcus.pettersen.irgens@gmail.com>
Co-authored-by: Christian Bönning <hexa2k9@users.noreply.github.com>
Co-authored-by: Aapo Kiiso <aapo@kii.so>
Co-authored-by: dave <dave@umbrellio.biz>

* Adds support of query part in $path (#39)

Co-authored-by: Petr Besir Horáček <sirbesir@gmail.com>
Co-authored-by: Alexandr <algerman.sam@gmail.com>
Co-authored-by: Serhii Litviachenko <sergey.litvyachenko@gmail.com>
Co-authored-by: Marcus Pettersen Irgens <marcus.pettersen.irgens@gmail.com>
Co-authored-by: Christian Bönning <hexa2k9@users.noreply.github.com>
Co-authored-by: Aapo Kiiso <aapo@kii.so>
Co-authored-by: qem19 <49522198+qem19@users.noreply.github.com>
Co-authored-by: dave <dave@umbrellio.biz>
Co-authored-by: Sergey Drobov <sdrobov@users.noreply.github.com>

* merge to master (#49)

* Added support for custom approle name (#16)

* Added support for custom approle name

* Fixed spaces

* Added option to send custom request

* Added spaces around dots in AppRoleAuthenticationStrategy::authenticate

* merge (#21)

* the list method added

* the list method added

* name changed

* revert name

* Update composer.json

* fix things after merge of PRs

* Do not instantiate CacheItem directly (#23)

* psr-18 (#19)

* first version of httplug usage

* Merge branches 'develop' and 'feature/httplug' of github.com:CSharpRU/vault-php into feature/httplug

# Conflicts:
#	src/BaseClient.php

* remove php 5.6

* PSR-18 usage

* add little fixes

* adjust code style

* bump php ver up to 7.2

* fix travis ci php versions

* reformat code and enable only curl hook for tests

* #27 update inflector package (#29)

* Update cache/cache dependency (#28)

Co-authored-by: Yaroslav Lukyanov <c_sharp@mail.ru>

* fix tests

* Add more Authentication Strategies (#33)

* Add more Authentication Strategies

* Fix Copy & Paste Error in OktaAuthenticationStrategy

* Put `extends` on the same line

* Create & extend abstract for username/password authentication methods

* Simplify cache dependency (#34)

This Vault PHP client only uses the array cache adapter, so
there is no need to require the complete cache/cache package.

This change was prompted when trying to require the
contentful/contentful:6.0.3 package into a project where
csharpru/vault-php was already installed. Since the Contentful
package requires the void cache adapter, it cannot be installed
in a project with the complete cache/cache package already
installed. This is because cache/cache conflicts with all of the
individual cache/* packages.

Checked that all tests pass.

* fix codestyle, remove unused dependencies (#35)

* Removing Reflector dependency (#38)

* Merge latest changes (#36)

* Added support for custom approle name (#16)

* Added support for custom approle name

* Fixed spaces

* Added option to send custom request

* Added spaces around dots in AppRoleAuthenticationStrategy::authenticate

* merge (#21)

* the list method added

* the list method added

* name changed

* revert name

* Update composer.json

* fix things after merge of PRs

* Do not instantiate CacheItem directly (#23)

* psr-18 (#19)

* first version of httplug usage

* Merge branches 'develop' and 'feature/httplug' of github.com:CSharpRU/vault-php into feature/httplug

# Conflicts:
#	src/BaseClient.php

* remove php 5.6

* PSR-18 usage

* add little fixes

* adjust code style

* bump php ver up to 7.2

* fix travis ci php versions

* reformat code and enable only curl hook for tests

* #27 update inflector package (#29)

* Update cache/cache dependency (#28)

Co-authored-by: Yaroslav Lukyanov <c_sharp@mail.ru>

* fix tests

* Add more Authentication Strategies (#33)

* Add more Authentication Strategies

* Fix Copy & Paste Error in OktaAuthenticationStrategy

* Put `extends` on the same line

* Create & extend abstract for username/password authentication methods

* Simplify cache dependency (#34)

This Vault PHP client only uses the array cache adapter, so
there is no need to require the complete cache/cache package.

This change was prompted when trying to require the
contentful/contentful:6.0.3 package into a project where
csharpru/vault-php was already installed. Since the Contentful
package requires the void cache adapter, it cannot be installed
in a project with the complete cache/cache package already
installed. This is because cache/cache conflicts with all of the
individual cache/* packages.

Checked that all tests pass.

* fix codestyle, remove unused dependencies (#35)

Co-authored-by: Petr Besir Horáček <sirbesir@gmail.com>
Co-authored-by: Alexandr <algerman.sam@gmail.com>
Co-authored-by: Serhii Litviachenko <sergey.litvyachenko@gmail.com>
Co-authored-by: Marcus Pettersen Irgens <marcus.pettersen.irgens@gmail.com>
Co-authored-by: Christian Bönning <hexa2k9@users.noreply.github.com>
Co-authored-by: Aapo Kiiso <aapo@kii.so>

* - remove Doctrine/Inflector
* move Adapter dependency to require block

* * revert adapter

Co-authored-by: Yaroslav Lukyanov <c_sharp@mail.ru>
Co-authored-by: Petr Besir Horáček <sirbesir@gmail.com>
Co-authored-by: Alexandr <algerman.sam@gmail.com>
Co-authored-by: Serhii Litviachenko <sergey.litvyachenko@gmail.com>
Co-authored-by: Marcus Pettersen Irgens <marcus.pettersen.irgens@gmail.com>
Co-authored-by: Christian Bönning <hexa2k9@users.noreply.github.com>
Co-authored-by: Aapo Kiiso <aapo@kii.so>
Co-authored-by: dave <dave@umbrellio.biz>

* Adds support of query part in $path (#39)

* Create dependabot.yml

* Update composer.json

* Update composer.json

fix build

* Update .travis.yml

fix build again

* Update .travis.yml

test on php 8

* Update .travis.yml

fix codacy

* Update alextartan/guzzle-psr18-adapter requirement || ^2.0 (#43)

Updates the requirements on [alextartan/guzzle-psr18-adapter](https://github.com/alextartan/guzzle-psr18-adapter) to permit the latest version.
- [Release notes](https://github.com/alextartan/guzzle-psr18-adapter/releases)
- [Commits](alextartan/guzzle-psr18-adapter@1.2.0...2.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update codeception/codeception requirement from ^2.2 to ^2.2 || ^4.0 (#44)

Updates the requirements on [codeception/codeception](https://github.com/Codeception/Codeception) to permit the latest version.
- [Release notes](https://github.com/Codeception/Codeception/releases)
- [Changelog](https://github.com/Codeception/Codeception/blob/4.1/CHANGELOG-4.1.md)
- [Commits](Codeception/Codeception@2.2.0...4.1.15)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update composer.json

use latest vcr

* Update composer.json

* Update composer.json

* Update composer.json

* Update composer.json

revert codeception ver

* Fix null auth (#48)

* Update AuthenticationStrategy.php

* Update TokenAuthenticationStrategy.php

* Update AppRoleAuthenticationStrategy.php

* check bad status code obviously, update codeception and fix tests

Co-authored-by: Petr Besir Horáček <sirbesir@gmail.com>
Co-authored-by: Alexandr <algerman.sam@gmail.com>
Co-authored-by: Serhii Litviachenko <sergey.litvyachenko@gmail.com>
Co-authored-by: Marcus Pettersen Irgens <marcus.pettersen.irgens@gmail.com>
Co-authored-by: Christian Bönning <hexa2k9@users.noreply.github.com>
Co-authored-by: Aapo Kiiso <aapo@kii.so>
Co-authored-by: qem19 <49522198+qem19@users.noreply.github.com>
Co-authored-by: dave <dave@umbrellio.biz>
Co-authored-by: Sergey Drobov <sdrobov@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Max <2618094@users.noreply.github.com>

Co-authored-by: Petr Besir Horáček <sirbesir@gmail.com>
Co-authored-by: Alexandr <algerman.sam@gmail.com>
Co-authored-by: Serhii Litviachenko <sergey.litvyachenko@gmail.com>
Co-authored-by: Marcus Pettersen Irgens <marcus.pettersen.irgens@gmail.com>
Co-authored-by: Christian Bönning <hexa2k9@users.noreply.github.com>
Co-authored-by: Aapo Kiiso <aapo@kii.so>
Co-authored-by: qem19 <49522198+qem19@users.noreply.github.com>
Co-authored-by: dave <dave@umbrellio.biz>
Co-authored-by: Sergey Drobov <sdrobov@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Max <2618094@users.noreply.github.com>

* Update README.md

Co-authored-by: Petr Besir Horáček <sirbesir@gmail.com>
Co-authored-by: Alexandr <algerman.sam@gmail.com>
Co-authored-by: Serhii Litviachenko <sergey.litvyachenko@gmail.com>
Co-authored-by: Marcus Pettersen Irgens <marcus.pettersen.irgens@gmail.com>
Co-authored-by: Christian Bönning <hexa2k9@users.noreply.github.com>
Co-authored-by: Aapo Kiiso <aapo@kii.so>
Co-authored-by: qem19 <49522198+qem19@users.noreply.github.com>
Co-authored-by: dave <dave@umbrellio.biz>
Co-authored-by: Sergey Drobov <sdrobov@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Max <2618094@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants