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.
15 lines (14 loc) • 566 B
TypeScript
import type { OAuth2TokenResponse } from '../interfaces';
import type { OAuthScope } from '../utils/config/cli-options';
/** Get an access token by logging in with the Dynatrace SSO */
export declare function getAccessToken(
/** Endpoint for authenticating via SSO */
oauthUrl: string,
/** The SSO client ID */
clientId: string,
/** OAuthScopes that should be requested */
oAuthScopes: OAuthScope[] | undefined,
/** Open the auth url in the default browser */
openAuthUrl: boolean,
/** Environment url */
environmentUrl: string): Promise<OAuth2TokenResponse>;