import { JwtService } from '@nestjs/jwt'; import { Response } from 'express'; import { SignOptions } from 'jsonwebtoken'; import { ModuleOptionsConfig } from '../common/interfaces'; import { AuthStore } from './auth.store'; import { AccessToken, SignJwtToken } from './interfaces'; import { JwtResponsePayload } from './interfaces/jwt-response-payload.interface'; import { LdapService } from './ldap/ldap.service'; export declare class AuthService { private readonly jwtService; private readonly ldapService; private readonly config; usersStore: AuthStore; constructor(jwtService: JwtService, ldapService: LdapService, config: ModuleOptionsConfig); signJwtToken(user: SignJwtToken, options?: SignOptions): Promise; signRefreshToken(user: SignJwtToken, tokenVersion: number, options?: SignOptions): Promise; sendRefreshToken(res: Response, { accessToken }: AccessToken): void; getJwtPayLoad(token: string): JwtResponsePayload; bcryptValidate(password: string, hashPassword: string): boolean; hashPassword(password: string): string; getRolesAndPermissionsFromMemberOf(memberOf: string[], licenseActivated: true): Promise<[string[], string[]]>; validate(username: string): Promise; }