UNPKG

dt-app

Version:

The Dynatrace App Toolkit is a tool you can use from your command line to create, develop, and deploy apps on your Dynatrace environment.

12 lines (11 loc) 644 B
import type { DynatraceDeploymentConfig } from '../interfaces/dynatrace-deployment-config'; import type { OAuthScope } from '../utils/config/cli-options'; import type { AutomationTokenResponse } from '../interfaces/auth-workflow-types'; /** Get the token from the dynatrace authentication provider. */ export declare function getAutomationToken( /** Dynatrace deployment options configuration */ { clientID, clientSecret, accountURN }: DynatraceDeploymentConfig, /** Endpoint for authenticating via SSO */ oauthUrl: string, /** OAuthScopes that should be requested */ oAuthScopes: OAuthScope[] | undefined): Promise<AutomationTokenResponse>;