import type { JWKType } from '@authup/specs'; import type { TokenECAlgorithm, TokenOCTAlgorithm, TokenRSAAlgorithm } from '../types'; export type TokenVerifyRSAOptions = { type: `${JWKType.RSA}` | JWKType.RSA; algorithms?: TokenRSAAlgorithm[]; /** * base64 encoded public key. */ key: string | CryptoKey; }; export type TokenVerifyECOptions = { type: `${JWKType.EC}` | JWKType.EC; algorithms?: TokenECAlgorithm[]; /** * base64 encoded public key. */ key: string | CryptoKey; }; export type TokenVerifyOCTOptions = { type: `${JWKType.OCT}` | JWKType.OCT; algorithms?: TokenOCTAlgorithm[]; key: string | CryptoKey; }; export type TokenVerifyOptions = TokenVerifyRSAOptions | TokenVerifyECOptions | TokenVerifyOCTOptions; //# sourceMappingURL=types.d.ts.map