UNPKG

1.66 kBTypeScriptView Raw
1import { Request, Response } from 'express';
2import { Configuration, Context, InviteUserService } from '..';
3import { AuthConfigurer } from './auth.configurer';
4import { AuthListener } from './auth.listener';
5export declare class AuthController {
6 private readonly authConfigurer;
7 private readonly inviteUserService;
8 private readonly configuration;
9 private readonly authListener;
10 private logger;
11 constructor(authConfigurer: AuthConfigurer, inviteUserService: InviteUserService, configuration: Configuration, authListener: AuthListener);
12 signIn(req: Request, res: Response, next: (err: Error) => void): void;
13 signInFake(req: Request, res: Response, next: (err: Error) => void): void;
14 activate(req: Request, res: Response, next: (err: Error) => void, context: Context): Promise<void>;
15 reInviteUser(req: Request, res: Response, next: (err: Error) => void, context: Context): Promise<void>;
16 signOutLocal(req: Request, res: Response, next: (err: Error) => void): void;
17 signOut(req: Request, res: Response, next: (err: Error) => void): void;
18 signInGoogle(req: Request, res: Response, next: () => void): void;
19 completeSignInGoogle(req: Request, res: Response): void;
20 signInSaml(req: Request, res: Response, next: () => void): void;
21 completeSignInSaml(req: Request, res: Response): void;
22 signInAuth0(req: Request, res: Response, next: () => void): void;
23 signOutAuth0(req: Request, res: Response): void;
24 completeSignInAuth0(req: Request, res: Response): void;
25 signInOidc(req: Request, res: Response, next: () => void): void;
26 completeSignInOidc(req: Request, res: Response): void;
27}