2025-10-01 19:55:38 +02:00

15 lines
614 B
TypeScript

import { HTTPAuthentication } from './HTTPAuthentication';
import { MethodCallArgs } from '../../../server/v1/MethodCallArgs';
import { IUserManager } from '../IUserManager';
import { IUser } from '../IUser';
export declare class HTTPDigestAuthentication implements HTTPAuthentication {
realm: string;
nonceSize: number;
constructor(realm?: string, nonceSize?: number);
generateNonce(): string;
askForAuthentication(): {
'WWW-Authenticate': string;
};
getUser(arg: MethodCallArgs, userManager: IUserManager, callback: (error: Error, user: IUser) => void): void;
}