Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SUP-20681: fix Zoom 'expire_in' incorrect calculation + small refactor #9139

Merged
merged 9 commits into from
Jan 30, 2020

Conversation

amiras89
Copy link
Contributor

No description provided.

$expiresIn = $tokensData[self::EXPIRES_IN];
$tokensData[self::EXPIRES_IN] = self::getValidUntil($expiresIn);
return self::extractTokensFromData($tokensData);
return $tokensData;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need to return

*/
public static function getValidUntil($expiresIn)
public static function setTokenExpiryAbsoluteTime($tokenData)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

call by ref

* @param array $tokenData
* @return array $tokenData
*/
public static function setTokenExpiryRelativeTime($tokenData)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

call by ref

@amiras89
Copy link
Contributor Author

@MosheMaorKaltura tested Zoom after adding "retrieveTokenData()" - works like a charm

@amiras89 amiras89 merged commit 47b7764 into Orion-15.16.0 Jan 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants