File tree Expand file tree Collapse file tree 2 files changed +1
-15
lines changed Expand file tree Collapse file tree 2 files changed +1
-15
lines changed Original file line number Diff line number Diff line change 1
- import { HashAlgorithm } from './config' ;
2
-
3
1
export interface TokenRecord {
4
2
token : string ;
5
3
address : string ;
Original file line number Diff line number Diff line change 1
1
import * as pick from 'lodash/pick' ;
2
2
import * as omit from 'lodash/omit' ;
3
3
import * as isString from 'lodash/isString' ;
4
- import * as isPlainObject from 'lodash/isPlainObject' ;
5
- import * as isFunction from 'lodash/isFunction' ;
6
- import * as isArray from 'lodash/isArray' ;
7
- import * as find from 'lodash/find' ;
8
- import * as includes from 'lodash/includes' ;
9
- import * as get from 'lodash/get' ;
10
4
import { EventEmitter } from 'events' ;
11
5
import * as jwt from 'jsonwebtoken' ;
12
6
import {
13
7
AccountsError ,
14
- toUsernameAndEmail ,
15
- validators ,
16
8
UserObjectType ,
17
- CreateUserType ,
18
9
LoginReturnType ,
19
10
TokensType ,
20
11
SessionType ,
21
12
ImpersonateReturnType ,
22
- EmailRecord ,
23
13
HookListener ,
24
14
} from '@accounts/common' ;
25
- import config , { AccountsServerConfiguration } from './config' ;
26
- import { verifyPassword , hashPassword , bcryptPassword } from './encryption' ;
15
+ import config from './config' ;
27
16
import {
28
17
generateAccessToken ,
29
18
generateRefreshToken ,
30
- generateRandomToken ,
31
19
} from './tokens' ;
32
20
import Email , {
33
21
emailTemplates ,
You can’t perform that action at this time.
0 commit comments