atlassian-connect-auth
Version:
Helper for handling webhooks from Atlassian products
16 lines • 598 B
TypeScript
import { ConnectJwt } from '../types';
/**
* Implementations should download the public key from the Atlassian CDN.
*/
export interface KeyProvider {
get(kid: string, unverifiedConnectJwt: ConnectJwt): Promise<string>;
}
/**
* Default Connect Install Key CDN URLs for production and staging.
*/
export declare enum ConnectInstallKeysCdnUrl {
production = "https://connect-install-keys.atlassian.com",
staging = "https://asap-distribution.us-west-2.staging.atl-asap.net"
}
export type EnvironmentType = keyof typeof ConnectInstallKeysCdnUrl;
//# sourceMappingURL=KeyProvider.d.ts.map