foundation-auth.authconfig.postlogoutredirect
Home > @genesislcap/foundation-auth > AuthConfig > postLogoutRedirect
AuthConfig.postLogoutRedirect property
Signature:
postLogoutRedirect: () => void;
Remarks
Called after a successful logout and can be overridden by host. Routes to the login form by default.
Example
const { configure, defaultAuthConfig } = await import('@genesislcap/foundation-auth/config');
return configure({
postLogoutRedirect: () => {
if (this.connect.isConnected) {
this.connect.disconnect();
}
defaultAuthConfig.postLogoutRedirect();
}
...
});