UNPKG

@aws-amplify/core

Version:
12 lines (11 loc) 420 B
/** * Checks if the provided date is within the skew window of 5 minutes. * * @param clockTimeInMilliseconds Time to check for skew in milliseconds. * @param clockOffsetInMilliseconds Offset to check clock against in milliseconds. * * @returns True if skewed. False otherwise. * * @internal */ export declare const isClockSkewed: (clockTimeInMilliseconds: number, clockOffsetInMilliseconds: number) => boolean;