oauth2-server/tests/unit/Stubs/StubAbstractGrant.php

24 lines
403 B
PHP
Raw Normal View History

2014-01-17 16:06:57 +05:30
<?php
namespace LeagueTests\Stubs;
class StubAbstractGrant extends \League\OAuth2\Server\Grant\AbstractGrant
{
protected $responseType = 'foobar';
public function completeFlow()
{
return true;
}
public function getAccessTokenTTL()
{
return $this->accessTokenTTL;
}
public function getAuthorizationServer()
{
return $this->server;
}
2014-05-03 15:25:25 +05:30
}