n8n
Version:
n8n Workflow Automation Tool
17 lines (16 loc) • 856 B
TypeScript
import { Logger } from '@n8n/backend-common';
import { Response } from 'express';
import { ExternalHooks } from '../../external-hooks';
import { OAuthJweServiceProxy } from '../../oauth/oauth-jwe-service.proxy';
import { OauthService } from '../../oauth/oauth.service';
import { OAuthRequest } from '../../requests';
export declare class OAuth2CredentialController {
private readonly oauthService;
private readonly logger;
private readonly externalHooks;
private readonly oauthJweServiceProxy;
constructor(oauthService: OauthService, logger: Logger, externalHooks: ExternalHooks, oauthJweServiceProxy: OAuthJweServiceProxy);
getAuthUri(req: OAuthRequest.OAuth2Credential.Auth): Promise<string>;
handleCallback(req: OAuthRequest.OAuth2Credential.Callback, res: Response): Promise<void>;
private convertCredentialToOptions;
}