You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
476 B
JavaScript
25 lines
476 B
JavaScript
import EntryActionTypes from '../constants/EntryActionTypes';
|
|
|
|
const authenticate = (data) => ({
|
|
type: EntryActionTypes.AUTHENTICATE,
|
|
payload: {
|
|
data,
|
|
},
|
|
});
|
|
|
|
const authenticateUsingOidc = () => ({
|
|
type: EntryActionTypes.USING_OIDC_AUTHENTICATE,
|
|
payload: {},
|
|
});
|
|
|
|
const clearAuthenticateError = () => ({
|
|
type: EntryActionTypes.AUTHENTICATE_ERROR_CLEAR,
|
|
payload: {},
|
|
});
|
|
|
|
export default {
|
|
authenticate,
|
|
authenticateUsingOidc,
|
|
clearAuthenticateError,
|
|
};
|