for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Created by PhpStorm.
* User: GCC-MED
* Date: 26/01/2018
* Time: 09:39
*/
namespace OAuth2\OpenID\ResponseTypes;
use OAuth2\Exceptions\OAuthException;
use OAuth2\Repositories\ConfigurationRepository;
use OAuth2\ResponseTypes\ResponseTypeInterface;
use OAuth2\Roles\Clients\RegisteredClient;
use OAuth2\Roles\ResourceOwnerInterface;
use Psr\Http\Message\ServerRequestInterface;
class NoneResponseType implements ResponseTypeInterface
{
public function getResponseType(): string
return 'none';
}
* @param ServerRequestInterface $request
* @param ResourceOwnerInterface $resourceOwner
* @param RegisteredClient $client
* @param array|null $scope
* @return array
public function handle(ServerRequestInterface $request, ResourceOwnerInterface $resourceOwner,
RegisteredClient $client, ?array $scope = null): array
return [];
public function getDefaultResponseMode(): string
return self::RESPONSE_MODE_QUERY;
public function isImplicit(): bool
return false;
* @throws OAuthException
public function verifyRequest(ServerRequestInterface $request): void
public function requireTLS(): bool
public function isMultiValuedResponseTypeSupported() : bool {