mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
N°5560 - Display an error when trying to regenerate an expired OAuth token
This commit is contained in:
@@ -74,6 +74,7 @@ class OAuthClientProviderFactory
|
||||
* @return AccessTokenInterface
|
||||
* @throws \ArchivedObjectException
|
||||
* @throws \CoreException
|
||||
* @throws \League\OAuth2\Client\Provider\Exception\IdentityProviderException
|
||||
*/
|
||||
public static function GetAccessTokenFromCode(OAuthClient $oOAuthClient, $sCode)
|
||||
{
|
||||
@@ -109,7 +110,7 @@ class OAuthClientProviderFactory
|
||||
/**
|
||||
* @param \DBObject $oOAuthClient
|
||||
*
|
||||
* @return mixed
|
||||
* @return OAuthClientProviderAbstract
|
||||
* @throws \ArchivedObjectException
|
||||
* @throws \CoreException
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user