跳到主要内容
版本号:Next

Interface: ITokenActions

Methods

deleteToken

deleteToken(user, tokenKey): Promise<any>

Parameters

NameType
userstring
tokenKeystring

Returns

Promise<any>

Defined in

packages/core/types/src/plugins/storage.ts:19


readTokens

readTokens(filter): Promise<Token[]>

Parameters

NameType
filterTokenFilter

Returns

Promise<Token[]>

Defined in

packages/core/types/src/plugins/storage.ts:20


saveToken

saveToken(token): Promise<any>

Parameters

NameType
tokenToken

Returns

Promise<any>

Defined in

packages/core/types/src/plugins/storage.ts:18