Interface: ITokenActions
Methods
deleteToken
▸ deleteToken(user
, tokenKey
): Promise
<any
>
Parameters
Name | Type |
---|---|
user | string |
tokenKey | string |
Returns
Promise
<any
>
Defined in
packages/core/types/src/plugins/storage.ts:19
readTokens
▸ readTokens(filter
): Promise
<Token
[]>
Parameters
Name | Type |
---|---|
filter | TokenFilter |
Returns
Promise
<Token
[]>
Defined in
packages/core/types/src/plugins/storage.ts:20
saveToken
▸ saveToken(token
): Promise
<any
>
Parameters
Name | Type |
---|---|
token | Token |
Returns
Promise
<any
>