UNPKG

strophe.js

Version:

Strophe.js is an XMPP library for JavaScript

10 lines 477 B
import type Connection from './connection'; import SASLMechanism from './sasl'; declare class SASLSHA1 extends SASLMechanism { constructor(mechname?: string, isClientFirst?: boolean, priority?: number); test(connection: Connection): boolean; onChallenge(connection: Connection, challenge?: string): Promise<string | false>; clientChallenge(connection: Connection, test_cnonce?: string): string; } export default SASLSHA1; //# sourceMappingURL=sasl-sha1.d.ts.map