MCPcopy Index your code
hub / github.com/codeaashu/claude-code / isSignedIn

Function isSignedIn

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

Source from the content-addressed store, hash-verified

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

Callers 1

checkLoginStateFunction · 0.85

Calls 1

prepareApiRequestFunction · 0.85

Tested by

no test coverage detected