0.1.4 • Published 7 months ago
@types/sasl-digest-md5 v0.1.4
Installation
npm install --save @types/sasl-digest-md5
Summary
This package contains type definitions for sasl-digest-md5 (https://github.com/jaredhanson/js-sasl-digest-md5).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sasl-digest-md5.
index.d.ts
// Type definitions for sasl-digest-md5 0.1
// Project: https://github.com/jaredhanson/js-sasl-digest-md5
// Definitions by: BendingBender <https://github.com/BendingBender>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import { Mechanism } from 'saslmechanisms';
export = DigestMd5Mechanism;
declare class DigestMd5Mechanism implements Mechanism {
static Mechanism: typeof DigestMd5Mechanism;
static prototype: {
name: 'DIGEST-MD5';
clientFirst: false;
};
name: 'DIGEST-MD5';
clientFirst: false;
constructor(options?: DigestMd5Mechanism.Options);
response(cred: DigestMd5Mechanism.Credentials): string;
challenge(chal: string): this;
}
declare namespace DigestMd5Mechanism {
interface Options {
genNonce?: (() => number) | undefined;
}
interface Credentials {
serviceType: string;
host: string;
username: string;
password: string;
serviceName?: string | undefined;
realm?: string | undefined;
authzid?: string | undefined;
}
}
Additional Details
- Last updated: Tue, 06 Jul 2021 16:34:14 GMT
- Dependencies: @types/saslmechanisms
- Global values: none
Credits
These definitions were written by BendingBender.