import { SettingService } from '../setting/setting.service';
import { OAuthService } from './oauth.service';
export declare class OAuthController {
    private readonly service;
    private readonly settingService;
    private readonly logger;
    constructor(service: OAuthService, settingService: SettingService);
    private logOAuthRequest;
    githubCallback(code: string, state: string, res: any): Promise<any>;
    login(origin: string, referer: string, host: string, provider: string, res: any): Promise<any>;
    register(provider: string, res: any): Promise<any>;
    connect(provider: string, res: any): Promise<any>;
    callbackLogin(locale: string, ipAddress: string, userAgent: string, origin: string, referer: string, host: string, forwardedHost: string, provider: string, code: string, res: any): Promise<{
        accessToken: string;
    }>;
    callbackRegister(locale: string, ipAddress: string, userAgent: string, provider: string, code: string, res: any): Promise<{
        accessToken: string;
    }>;
    callbackConnect(locale: string, ipAddress: string, userAgent: string, { id }: {
        id: any;
    }, provider: string, code: string, res: any): Promise<{
        accessToken: string;
    }>;
    disconnect(locale: string, ipAddress: string, userAgent: string, provider: string, email: string, res: any): Promise<{
        accessToken: string;
    }>;
}
//# sourceMappingURL=oauth.controller.d.ts.map