1 | // Type definitions for hawk 9.0
|
2 | // Project: https://github.com/mozilla/hawk/
|
3 | // Definitions by: Florian Imdahl <https://github.com/ffflorian>
|
4 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
5 |
|
6 | /// <reference types="node" />
|
7 |
|
8 | import * as client from "./lib/client";
|
9 | import * as crypto from "./lib/crypto";
|
10 | import * as server from "./lib/server";
|
11 | import * as utils from "./lib/utils";
|
12 |
|
13 | export namespace uri {
|
14 | const authenticate: typeof server.authenticateBewit;
|
15 | const getBewit: typeof client.getBewit;
|
16 | }
|
17 |
|
18 | export { client, crypto, server, utils };
|
19 |
|
20 | export as namespace hawk;
|