
- auth clients are always shared, cannot be disabled - custom connections are enabled by default, can be disabled - any existing connections can be reconnected regardless of its AppConfig or AppAuthClient states
21 lines
482 B
JavaScript
21 lines
482 B
JavaScript
const getAuthMock = (auth) => {
|
|
return {
|
|
data: {
|
|
fields: auth.fields,
|
|
authenticationSteps: auth.authenticationSteps,
|
|
reconnectionSteps: auth.reconnectionSteps,
|
|
sharedReconnectionSteps: auth.sharedReconnectionSteps,
|
|
sharedAuthenticationSteps: auth.sharedAuthenticationSteps,
|
|
},
|
|
meta: {
|
|
count: 1,
|
|
currentPage: null,
|
|
isArray: false,
|
|
totalPages: null,
|
|
type: 'Object',
|
|
},
|
|
};
|
|
};
|
|
|
|
export default getAuthMock;
|