src/Grant/SSOGrant.php 1 location
|
@@ 84-92 (lines=9) @@
|
81 |
|
* |
82 |
|
* @throws |
83 |
|
*/ |
84 |
|
protected function getVerifyCredentialsCallback() |
85 |
|
{ |
86 |
|
if (is_null($this->callback) || !is_callable($this->callback)) |
87 |
|
{ |
88 |
|
throw new Exception\ServerErrorException('Null or non-callable callback set on SSO grant'); |
89 |
|
} |
90 |
|
|
91 |
|
return $this->callback; |
92 |
|
} |
93 |
|
|
94 |
|
/** |
95 |
|
* Complete the password grant |
src/Grant/TokenGrant.php 1 location
|
@@ 90-97 (lines=8) @@
|
87 |
|
* |
88 |
|
* @throws |
89 |
|
*/ |
90 |
|
protected function getVerifyCredentialsCallback() |
91 |
|
{ |
92 |
|
if (is_null($this->callback) || !is_callable($this->callback)) { |
93 |
|
throw new Exception\ServerErrorException('Null or non-callable callback set on Password grant'); |
94 |
|
} |
95 |
|
|
96 |
|
return $this->callback; |
97 |
|
} |
98 |
|
|
99 |
|
/** |
100 |
|
* Complete the password grant |