<?php

/**
 * This file was generated by phpSPO model generator 2019-11-17T18:22:48+00:00 16.0.19506.12022
 */
namespace Office365\SharePoint;

use Office365\Runtime\ClientObject;
use Office365\Runtime\ResourcePath;

/**
 * Represents 
 * an identity provider for app principals.
 */
class AppPrincipalIdentityProvider extends ClientObject
{
    /**
     * @return AppPrincipalIdentityProvider
     */
    public function getExternal()
    {
        if (!$this->isPropertyAvailable("External")) {
            $this->setProperty("External", new AppPrincipalIdentityProvider($this->getContext(),
                new ResourcePath("External", $this->getResourcePath())));
        }
        return $this->getProperty("External");
    }
}