0.1.4 • Published 7 months ago

@types/sasl-external v0.1.4

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

Installation

npm install --save @types/sasl-external

Summary

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

Details

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

index.d.ts

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

import { Mechanism } from 'saslmechanisms';

export = ExternalMechanism;

declare class ExternalMechanism implements Mechanism {
    static Mechanism: typeof ExternalMechanism;
    static prototype: {
        name: 'EXTERNAL';
        clientFirst: true;
    };

    name: 'EXTERNAL';
    clientFirst: true;

    response(cred: ExternalMechanism.Credentials): string;

    challenge(chal: string): void;
}

declare namespace ExternalMechanism {
    interface Credentials {
        authzid?: 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