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.
7 lines (6 loc) • 477 B
TypeScript
import type { FastifyInstance } from 'fastify';
import type { ResolvedCliOptions } from '../../utils/config/cli-options';
/** Enhances the server with the capability to enforce csp rules and report violations to the terminal */
export declare function setupCsp(options: ResolvedCliOptions, server: FastifyInstance): Promise<void>;
/** Takes token as payload and reads email from it if available */
export declare function getEmailFromToken(accessToken: string): string | null;