Fix formatting src/Appwrite/Auth/OAuth2/Microsoft.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
This commit is contained in:
parent
e2ee905a8e
commit
7bf5da9759
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ class Microsoft extends OAuth2
|
||||||
* Extracts the Tenant Id from the JSON stored in appSecret. Defaults to 'common' as a fallback
|
* Extracts the Tenant Id from the JSON stored in appSecret. Defaults to 'common' as a fallback
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
protected function getTenantId():string
|
protected function getTenantId(): string
|
||||||
{
|
{
|
||||||
$secret = $this->decodeJson();
|
$secret = $this->decodeJson();
|
||||||
return (isset($secret['tenantId'])) ? $secret['tenantId'] : 'common';
|
return (isset($secret['tenantId'])) ? $secret['tenantId'] : 'common';
|
||||||
|
|
Loading…
Reference in a new issue