MCPcopy Create free account
hub / github.com/PaperDebugger/paperdebugger / loginByGoogle

Function loginByGoogle

webapp/_webapp/src/query/api.ts:68–71  ·  view source on GitHub ↗
(data: PlainMessage<LoginByGoogleRequest>)

Source from the content-addressed store, hash-verified

66};
67
68export const loginByGoogle = async (data: PlainMessage<LoginByGoogleRequest>) => {
69 const response = await apiclient.post("/auth/login/google", data);
70 return fromJson(LoginByGoogleResponseSchema, response);
71};
72
73export const logout = async (data: PlainMessage<LogoutRequest>) => {
74 const response = await apiclient.post("/auth/logout", data, {

Callers 1

LoginWithGoogleFunction · 0.90

Calls 2

fromJsonFunction · 0.90
postMethod · 0.80

Tested by

no test coverage detected