1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import { ActionType, createStandardAction } from "typesafe-actions";
8 saveApiToken: createStandardAction('@@auth/saveApiToken')<string>(),
9 getUserTokenDetails: createStandardAction('@@auth/userTokenDetails')(),
10 login: createStandardAction('@@auth/login')(),
11 logout: createStandardAction('@@auth/logout')()
14 export type AuthAction = ActionType<typeof actions>;
15 export default actions;