for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Facile\OAuth2\HttpClient\Authorization;
use Facile\OAuth2\HttpClient\Request\OAuth2RequestInterface;
use Facile\OpenIDClient\Client\ClientInterface;
class NullProvider implements AuthorizationProvider
{
public function getAuthorization(ClientInterface $client, OAuth2RequestInterface $request): ?string
return null;
}
public function saveAuthorization(
ClientInterface $client,
OAuth2RequestInterface $request,
string $authorization,
?int $ttl = null
): void {