UNPKG

@guardian/pan-domain-node

Version:

NodeJs implementation of Guardian pan-domain auth verification

7 lines (6 loc) 225 B
import { S3 } from "@aws-sdk/client-s3"; export interface PublicKeyHolder { key: string; lastUpdated: Date; } export declare function fetchPublicKey(s3: S3, bucket: string, keyFile: string): Promise<PublicKeyHolder>;