import IBase from '../Base'; import IOAuthClientCredential, { CodeChallengeMethod } from '../OAuthClientCredential'; import IUser from '../User'; export default interface IOAuthGrantCode extends IBase { code?: string; client?: IOAuthClientCredential | string; user?: IUser | string; expiresAt?: Date; codeChallenge?: string; codeChallengeMethod?: CodeChallengeMethod | keyof typeof CodeChallengeMethod; }