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

Function fileSuffixForOauthConfig

src/constants/oauth.ts:18–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16}
17
18export function fileSuffixForOauthConfig(): string {
19 if (process.env.CLAUDE_CODE_CUSTOM_OAUTH_URL) {
20 return '-custom-oauth'
21 }
22 switch (getOauthConfigType()) {
23 case 'local':
24 return '-local-oauth'
25 case 'staging':
26 return '-staging-oauth'
27 case 'prod':
28 // No suffix for production config
29 return ''
30 }
31}
32
33export const CLAUDE_AI_INFERENCE_SCOPE = 'user:inference' as const
34export const CLAUDE_AI_PROFILE_SCOPE = 'user:profile' as const

Callers 1

env.tsFile · 0.85

Calls 1

getOauthConfigTypeFunction · 0.85

Tested by

no test coverage detected