mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-02 00:43:11 +05:30
Removed response type interfaces for auth code login + authorize because they were a stupid idea
This commit is contained in:
parent
fccb06ed67
commit
ac9955b393
@ -1,22 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
namespace League\OAuth2\Server\ResponseTypes;
|
|
||||||
|
|
||||||
use League\OAuth2\Server\Entities\Interfaces\ClientEntityInterface;
|
|
||||||
use League\OAuth2\Server\Entities\Interfaces\ScopeEntityInterface;
|
|
||||||
|
|
||||||
interface AuthorizeClientResponseTypeInterface
|
|
||||||
{
|
|
||||||
/**
|
|
||||||
* Return a login form
|
|
||||||
*
|
|
||||||
*
|
|
||||||
* @param \League\OAuth2\Server\Entities\Interfaces\ClientEntityInterface $client
|
|
||||||
* @param ScopeEntityInterface[] $scopes
|
|
||||||
* @param string $queryString
|
|
||||||
* @param string $pathToPrivateKey
|
|
||||||
*
|
|
||||||
* @return \Psr\Http\Message\ResponseInterface
|
|
||||||
*/
|
|
||||||
public function handle(ClientEntityInterface $client, array $scopes, $queryString, $pathToPrivateKey);
|
|
||||||
}
|
|
@ -1,22 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
namespace League\OAuth2\Server\ResponseTypes;
|
|
||||||
|
|
||||||
use League\OAuth2\Server\Entities\Interfaces\ClientEntityInterface;
|
|
||||||
use League\OAuth2\Server\Entities\Interfaces\ScopeEntityInterface;
|
|
||||||
|
|
||||||
interface LoginUserResponseTypeInterface
|
|
||||||
{
|
|
||||||
/**
|
|
||||||
* Return a login form
|
|
||||||
*
|
|
||||||
*
|
|
||||||
* @param \League\OAuth2\Server\Entities\Interfaces\ClientEntityInterface $client
|
|
||||||
* @param ScopeEntityInterface[] $scopes
|
|
||||||
* @param string $queryString
|
|
||||||
* @param string $pathToPrivateKey
|
|
||||||
*
|
|
||||||
* @return \Psr\Http\Message\ResponseInterface
|
|
||||||
*/
|
|
||||||
public function handle(ClientEntityInterface $client, array $scopes, $queryString, $pathToPrivateKey);
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user