| Total Complexity | 3 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | class MicrosoftGraph extends AzureActiveDirectory{ |
||
| 22 | |||
| 23 | public const SCOPE_USER_READ = 'User.Read'; |
||
| 24 | public const SCOPE_USER_READBASIC_ALL = 'User.ReadBasic.All'; |
||
| 25 | |||
| 26 | protected string $apiURL = 'https://graph.microsoft.com'; |
||
| 27 | protected ?string $apiDocs = 'https://docs.microsoft.com/graph/overview'; |
||
| 28 | |||
| 29 | protected array $defaultScopes = [ |
||
| 30 | self::SCOPE_OPENID, |
||
| 31 | self::SCOPE_OPENID_EMAIL, |
||
| 32 | self::SCOPE_OPENID_PROFILE, |
||
| 33 | self::SCOPE_OFFLINE_ACCESS, |
||
| 34 | self::SCOPE_USER_READ, |
||
| 35 | self::SCOPE_USER_READBASIC_ALL, |
||
| 36 | ]; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @inheritDoc |
||
| 40 | */ |
||
| 41 | public function me():ResponseInterface{ |
||
| 59 |