myonlinestore / guzzle-authorization-middleware
Guzzle Authorization Middleware
Installs: 120 626
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 5
Forks: 0
Open Issues: 1
Requires
- php: ^8.0
- ext-json: *
- guzzlehttp/guzzle: ^7.3
- lcobucci/jwt: ^4.0
- psr/cache: ^1.0 || ^2.0 || ^3.0
- psr/http-factory: ^1.0
- psr/http-message: ^1.0
- psr/log: ^1.1 || ^2.0 || ^3.0
Requires (Dev)
- myonlinestore/coding-standard: ^3.1
- myonlinestore/php-devtools: ^0.3
- phpunit/phpunit: ^9.5
- psalm/plugin-phpunit: ^0.16
- vimeo/psalm: ^4.22
This package is auto-updated.
Last update: 2024-11-05 04:28:37 UTC
README
Middleware that adds an Authorization bearer header to the request. The bearer token will be provided
via a TokenManagerInterface
implementation.
Requirements
An implementation for MyOnlineStore\GuzzleAuthorizationMiddleware\TokenManager\UriProviderInterface
must be provided. This implementation must return an UriInterface
with the uri to fetch the bearer
token.