Home

js-spectre @8ba85cfe39bb2f8094780e3f7201093776644fde - 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;