0.1.4 • Published 7 months ago

@types/sasl-anonymous v0.1.4

Weekly downloads
75
License
MIT
Repository
github
Last release
7 months ago

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

// Type definitions for sasl-anonymous 0.1
// Project: https://github.com/jaredhanson/js-sasl-anonymous
// Definitions by: BendingBender <https://github.com/BendingBender>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

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.

0.1.2

8 months ago

0.1.4

7 months ago

0.1.3

7 months ago

0.1.1

3 years ago

0.1.0

5 years ago