MCPcopy Index your code
hub / github.com/1Panel-dev/MaxKB / larkCallback

Function larkCallback

ui/src/stores/modules/login.ts:59–66  ·  view source on GitHub ↗
(code: string)

Source from the content-addressed store, hash-verified

57 })
58 },
59 async larkCallback(code: string) {
60 return LoginApi.getLarkCallback(code).then((ok) => {
61 this.token = ok?.data?.token
62 localStorage.setItem('token', ok?.data?.token)
63 const user = useUserStore()
64 return user.profile()
65 })
66 },
67
68 async logout() {
69 return LoginApi.logout().then(() => {

Callers

nothing calls this directly

Calls 1

profileMethod · 0.45

Tested by

no test coverage detected