Home

js-spectre @64337f178d031116037b497b1c69ac477df5cfe0 - refs - log -
-
https://git.jolheiser.com/js-spectre.git
JS implementation for spectre/masterpassword
js-spectre / lib / scope.d.ts
- raw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
import { Template } from "./template.js";
export declare enum Scope {
    AUTHENTICATION = "Authentication",
    IDENTIFICATION = "Identification",
    RECOVERY = "Recovery"
}
export declare function defaultTemplate(s: Scope): Template;
export interface Scoper {
    scope(s: Scope): string;
}
export declare class SimpleScoper implements Scoper {
    private key;
    constructor(key: string);
    scope(s: Scope): string;
}
export declare const defaultScoper: Scoper;