mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-27 15:30:24 +05:30
19 lines
312 B
PHP
19 lines
312 B
PHP
<?php
|
|
|
|
namespace LeagueTests\Stubs;
|
|
|
|
class StubAbstractGrant extends \League\OAuth2\Server\Grant\AbstractGrant
|
|
{
|
|
protected $responseType = 'foobar';
|
|
|
|
public function completeFlow()
|
|
{
|
|
return true;
|
|
}
|
|
|
|
public function getAuthorizationServer()
|
|
{
|
|
return $this->server;
|
|
}
|
|
}
|