@types/sasl-anonymous
TypeScript icon, indicating that this package has built-in type declarations

0.1.4 • Public • Published

Installation

npm install --save @types/sasl-anonymous

Summary

This package contains type definitions for sasl-anonymous (https://github.com/jaredhanson/js-sasl-anonymous).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sasl-anonymous.

index.d.ts

import { Mechanism } from "saslmechanisms";

export = AnonymousMechanism;

declare class AnonymousMechanism implements Mechanism {
    static Mechanism: typeof AnonymousMechanism;
    static prototype: {
        name: "ANONYMOUS";
        clientFirst: true;
    };

    name: "ANONYMOUS";
    clientFirst: true;

    response(cred: AnonymousMechanism.Credentials): string;

    challenge(chal: string): void;
}

declare namespace AnonymousMechanism {
    interface Credentials {
        trace?: string | undefined;
    }
}

Additional Details

Credits

These definitions were written by BendingBender.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/sasl-anonymous

Weekly Downloads

20

Version

0.1.4

License

MIT

Unpacked Size

3.76 kB

Total Files

5

Last publish

Collaborators

  • types