ApplicationAbstract
Abstract base class for any Application. Subclass this (or one of its descendants such as BasicApplicationAbstract / OAuth2ApplicationAbstract / OAuth1ApplicationAbstract) to expose a third-party service to your topologies.
use Hanaboso\PipesPhpSdk\Application\Base\ApplicationAbstract;
Inheritance #
ApplicationAbstract (implements ApplicationInterface) -> BasicApplicationAbstract | OAuth2ApplicationAbstract | OAuth1ApplicationAbstract
Methods you implement #
| Method | Returns | Purpose |
|---|---|---|
getName() | string | Stable internal identifier. |
getPublicName() | string | Display name in the Admin UI. |
getDescription() | string | Short description shown in the Admin UI. |
getFormStack() | FormStack | Settings + authorization form definitions. |
getRequestDto(ProcessDto $dto, ApplicationInstall $install, string $method, ?string $url = null, ?string $data = null) | RequestDto | Build an outbound HTTP request with auth attached. |
Methods provided #
| Method | Returns | Purpose |
|---|---|---|
getApplicationType() | string | The flavour reported to the platform. |
isAuthorized(ApplicationInstall $install) | bool | Default check: required auth fields present. |