UNPKG

@nephele/authenticator-pam

Version:

PAM based authenticator (local system users) for the Nephele WebDAV server.

15 lines (14 loc) 429 B
import type { User as UserInterface } from 'nephele'; export default class User implements UserInterface { username: string; groupname?: string; uid?: number; gid?: number; gids?: number[]; private authenticated; constructor({ username }: { username: string; }); authenticate(password: string, remoteHost?: string): Promise<void>; checkUID(allowedUIDs: string[]): Promise<void>; }