Added getDefaultScope method

This commit is contained in:
Alex Bilbie 2013-03-21 16:22:44 +00:00
parent 0c30b9ca66
commit fce24aa74d

View File

@ -210,6 +210,15 @@ class AuthServer
$this->defaultScope = $default; $this->defaultScope = $default;
} }
/**
* Default scope to be used if none is provided and requireScopeParam is false
* @return string|null
*/
public function getDefaultScope()
{
return $this->defaultScope;
}
/** /**
* Require the "state" paremter in checkAuthoriseParams() * Require the "state" paremter in checkAuthoriseParams()
* @param boolean $require * @param boolean $require