mirror of
https://github.com/plankanban/planka.git
synced 2025-12-16 17:23:21 +03:00
25 lines
473 B
JavaScript
Executable File
25 lines
473 B
JavaScript
Executable File
import EntryActionTypes from '../constants/EntryActionTypes';
|
|
|
|
const authenticate = (data) => ({
|
|
type: EntryActionTypes.AUTHENTICATE,
|
|
payload: {
|
|
data,
|
|
},
|
|
});
|
|
|
|
const authenticateWithOidc = () => ({
|
|
type: EntryActionTypes.WITH_OIDC_AUTHENTICATE,
|
|
payload: {},
|
|
});
|
|
|
|
const clearAuthenticateError = () => ({
|
|
type: EntryActionTypes.AUTHENTICATE_ERROR_CLEAR,
|
|
payload: {},
|
|
});
|
|
|
|
export default {
|
|
authenticate,
|
|
authenticateWithOidc,
|
|
clearAuthenticateError,
|
|
};
|