- 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
12 lines
331 B
JavaScript
12 lines
331 B
JavaScript
const authSerializer = (auth) => {
|
|
return {
|
|
fields: auth.fields,
|
|
authenticationSteps: auth.authenticationSteps,
|
|
sharedAuthenticationSteps: auth.sharedAuthenticationSteps,
|
|
reconnectionSteps: auth.reconnectionSteps,
|
|
sharedReconnectionSteps: auth.sharedReconnectionSteps,
|
|
};
|
|
};
|
|
|
|
export default authSerializer;
|