You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gristlabs_grist-core/stubs/app/server/lib/logins.ts

13 lines
503 B

import {GristLoginMiddleware} from 'app/server/lib/GristServer';
export async function getLoginMiddleware(): Promise<GristLoginMiddleware> {
return {
async getLoginRedirectUrl(target: URL) { throw new Error('logins not implemented'); },
async getLogoutRedirectUrl(target: URL) { throw new Error('logins not implemented'); },
async getSignUpRedirectUrl(target: URL) { throw new Error('logins not implemented'); },
addEndpoints(...args: any[]) {
return "no-logins";
}
};
}