n8n
Version:
n8n Workflow Automation Tool
19 lines (18 loc) • 718 B
TypeScript
import { WithTimestamps } from '@n8n/db';
import type { AccessToken } from './oauth-access-token.entity';
import type { AuthorizationCode } from './oauth-authorization-code.entity';
import type { RefreshToken } from './oauth-refresh-token.entity';
import type { UserConsent } from './oauth-user-consent.entity';
export declare class OAuthClient extends WithTimestamps {
id: string;
name: string;
redirectUris: string[];
grantTypes: string[];
tokenEndpointAuthMethod: string;
authorizationCodes: AuthorizationCode[];
accessTokens: AccessToken[];
refreshTokens: RefreshToken[];
userConsents: UserConsent[];
clientSecret: string | null;
clientSecretExpiresAt: number | null;
}