MCPcopy Index your code
hub / github.com/claude-code-best/claude-code / isAwsAuthRefreshFromProjectSettings

Function isAwsAuthRefreshFromProjectSettings

src/utils/auth.ts:392–404  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

390 * Check if the configured awsAuthRefresh comes from project settings
391 */
392export function isAwsAuthRefreshFromProjectSettings(): boolean {
393 const awsAuthRefresh = getConfiguredAwsAuthRefresh()
394 if (!awsAuthRefresh) {
395 return false
396 }
397
398 const projectSettings = getSettingsForSource('projectSettings')
399 const localSettings = getSettingsForSource('localSettings')
400 return (
401 projectSettings?.awsAuthRefresh === awsAuthRefresh ||
402 localSettings?.awsAuthRefresh === awsAuthRefresh
403 )
404}
405
406/**
407 * Get the configured awsCredentialExport from settings

Callers 2

runAwsAuthRefreshFunction · 0.85

Calls 2

getSettingsForSourceFunction · 0.85

Tested by

no test coverage detected