public function getTenantDetails($tenant)
    {
        $factory = $this->getRequestFactory();
        $request = $factory->getRequestWithOptions(
            'get',
            'https://login.windows.net/' . $tenant . '/.well-known/openid-configuration',
            []
        );

        $response = $this->getParsedResponse($request);

        return $response;
    }