UNPKG

strophe.js

Version:

Strophe.js is an XMPP library for JavaScript

10 lines 483 B
import type Connection from './connection'; import SASLMechanism from './sasl'; declare class SASLSHA256 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 SASLSHA256; //# sourceMappingURL=sasl-sha256.d.ts.map