oauth2-server/tests/Stubs/StubAbstractGrant.php

24 lines
403 B
PHP
Raw Normal View History

2014-01-17 10:36:57 +00:00
<?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 10:55:25 +01:00
}