File tree Expand file tree Collapse file tree 6 files changed +12
-0
lines changed Expand file tree Collapse file tree 6 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -211,6 +211,8 @@ final protected function validateScopes(array $scopes)
211
211
* @return AccessTokenModel
212
212
* @throws \InvalidArgumentException
213
213
* @throws ApiException
214
+ * @throws \Exception
215
+ * @throws \GuzzleHttp\Exception\GuzzleException
214
216
*/
215
217
final protected function createAccessToken ($ grantType , $ additionalParams = [])
216
218
{
Original file line number Diff line number Diff line change @@ -123,6 +123,7 @@ public function startAuthorizationGrant(array $scopes)
123
123
* @return AccessTokenModel - useful for debugging
124
124
* @throws \InvalidArgumentException
125
125
* @throws \Exception when state param is invalid
126
+ * @throws \GuzzleHttp\Exception\GuzzleException
126
127
*/
127
128
public function completeAuthorizationGrant ($ authorizationCode , $ state )
128
129
{
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ class DeviceCodeController extends AbstractOAuth2Controller
27
27
* @return DeviceCodeModel
28
28
* @throws \InvalidArgumentException
29
29
* @throws \Exception
30
+ * @throws \GuzzleHttp\Exception\GuzzleException
30
31
*/
31
32
public function startDeviceCodeGrant (array $ scopes )
32
33
{
@@ -48,6 +49,7 @@ public function startDeviceCodeGrant(array $scopes)
48
49
* @api
49
50
* @return AccessTokenModel
50
51
* @throws \Exception
52
+ * @throws \GuzzleHttp\Exception\GuzzleException
51
53
*/
52
54
public function pollDeviceCodeGrant ()
53
55
{
@@ -76,6 +78,8 @@ public function pollDeviceCodeGrant()
76
78
* @param string[] $scopes
77
79
* @return DeviceCodeModel
78
80
* @throws ApiException
81
+ * @throws \Exception
82
+ * @throws \GuzzleHttp\Exception\GuzzleException
79
83
*/
80
84
private function createDeviceCode (array $ scopes )
81
85
{
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ class LogoutController extends AbstractOAuth2Controller
26
26
* @api
27
27
* @param string|null $accessToken
28
28
* @throws \Exception if no access token is passed in and no refresh token is found in the secure storage layer
29
+ * @throws \GuzzleHttp\Exception\GuzzleException
29
30
*/
30
31
public function deleteAccessAndRefreshTokens ($ accessToken = null )
31
32
{
@@ -55,6 +56,7 @@ public function deleteAccessAndRefreshTokens($accessToken = null)
55
56
* @param string $token
56
57
* @param bool $isRefreshToken
57
58
* @throws ApiException
59
+ * @throws \GuzzleHttp\Exception\GuzzleException
58
60
*/
59
61
private function revokeToken ($ token , $ isRefreshToken = false )
60
62
{
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ class RefreshTokenController extends AbstractOAuth2Controller
22
22
* @api
23
23
* @return AccessTokenModel
24
24
* @throws \Exception
25
+ * @throws \GuzzleHttp\Exception\GuzzleException
25
26
*/
26
27
public function generateNewAccessTokenFromRefreshToken ()
27
28
{
Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ public function isValid()
39
39
40
40
/**
41
41
* {@inheritdoc}
42
+ * @throws \Exception
42
43
*/
43
44
public function encrypt ($ value )
44
45
{
@@ -68,6 +69,7 @@ public function encrypt($value)
68
69
69
70
/**
70
71
* {@inheritdoc}
72
+ * @throws \Exception
71
73
*/
72
74
public function decrypt ($ value )
73
75
{
You can’t perform that action at this time.
0 commit comments