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 server from './lib/server';
|
9 | import * as client from './lib/client';
|
10 | import * as crypto from './lib/crypto';
|
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 { server, client, crypto, utils };
|
19 |
|
20 | export as namespace hawk;
|