MCPcopy Create free account
hub / github.com/Noumena-Network/code / isSignedIn

Function isSignedIn

src/commands/remote-setup/api.ts:174–181  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

172
173/** Returns true when the user has valid Noumena OAuth credentials. */
174export async function isSignedIn(): Promise<boolean> {
175 try {
176 await prepareApiRequest()
177 return true
178 } catch {
179 return false
180 }
181}
182
183export function getCodeWebUrl(): string {
184 return `${getOauthConfig().CLAUDE_AI_ORIGIN}/code`

Callers 1

checkLoginStateFunction · 0.85

Calls 1

prepareApiRequestFunction · 0.85

Tested by

no test coverage detected