import { Request } from 'express'; import { Profile } from 'passport-auth0'; import { IVerifyOptions } from 'passport-local'; import { DatastoreProvider } from '../datastore/datastore.provider'; import { Configuration, IUser } from '../index'; import { AuthService } from './auth.service'; import { UserService } from './user.service'; export declare class AuthConfigurer { private readonly configuration; private readonly userService; private readonly authService; private readonly datastore; private readonly logger; constructor(datastoreProvider: DatastoreProvider, configuration: Configuration, userService: UserService, authService: AuthService); private init; beginAuthenticateGoogle(): any; completeAuthenticateGoogle(): any; beginAuthenticateSaml(): any; completeAuthenticateSaml(): any; beginAuthenticateOidc(): any; completeAuthenticateOidc(): any; beginAuthenticateAuth0(): any; completeAuthenticateAuth0(): any; getSignoutUrlAuth0(): string; authenticateLocal(): any; authenticateFake(): any; validate: (username: string, password: string, done: (error: Error | null, user: false | IUser) => void) => Promise; validateFakeLogin: (req: Request, username: string, password: string, done: (error: Error | null, user: false | IUser) => void) => Promise; validateGmail: (accessToken: string, refreshToken: string, profile: object, done: (error: Error | null, user: false | IUser) => void) => Promise; validateSaml: (profile: any, done: any) => Promise; validateOidc: (_issuer: any, _sub: any, profile: any, _accessToken: any, _refreshToken: any, done: (error: Error | null, user: false | IUser) => void) => Promise; validateAuth0: (accessToken: string, refreshToken: string, extraParams: any, profile: Profile, done: (error: Error | null, user: false | IUser) => void) => Promise; validateAuth: (done: (error: Error | null, user: false | IUser, options?: IVerifyOptions | undefined) => void, auth: () => Promise) => Promise; }