executeTokenStoreRemoveAll removes all tokens from the token store
(ctx context.Context, client *csclient.Client, beaconID string)
| 220 | |
| 221 | // executeTokenStoreRemoveAll removes all tokens from the token store |
| 222 | func (e *Executor) executeTokenStoreRemoveAll(ctx context.Context, client *csclient.Client, beaconID string) (string, error) { |
| 223 | resp, err := client.TokenStoreRemoveAll(ctx, beaconID) |
| 224 | if err != nil { |
| 225 | return "", err |
| 226 | } |
| 227 | |
| 228 | return e.fireAndForget(resp.TaskID, "token store remove all") |
| 229 | } |
| 230 | |
| 231 | // executeTokenStoreList lists all tokens in the token store |
| 232 | func (e *Executor) executeTokenStoreList(ctx context.Context, client *csclient.Client, beaconID string) (string, error) { |
no test coverage detected