AApplication

Abstract base class for any Application. Subclass this (or one of its descendants such as ABasicApplication / AOAuth2Application) to expose a third-party service to your topologies.

import AApplication from '@orchesty/nodejs-sdk/dist/lib/Application/Base/AApplication';

Inheritance #

AApplication -> ABasicApplication | AOAuth2Application

Methods you implement #

MethodReturnsPurpose
getName()stringStable internal identifier, lowercase kebab/snake.
getPublicName()stringDisplay name in the Admin UI.
getDescription()stringShort description shown in the Admin UI.
getFormStack()FormStackSettings + authorization form definitions.
getRequestDto(dto, install, method, url?, data?)RequestDtoBuild an outbound HTTP request with auth attached.

Methods provided #

MethodReturnsPurpose
getApplicationType()ApplicationTypeEnumThe flavour reported to the platform.
isAuthorized(install)booleanDefault check: required auth fields present.
getApplicationForm(install)objectResolves the form, pre-filled with the install.

Example #

See the worked example in Development: Basic Application.

See also #

© 2025 Orchesty Solutions. All rights reserved.