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

Function isAwsAuthRefreshFromProjectSettings

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

Source from the content-addressed store, hash-verified

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

Callers 2

runAwsAuthRefreshFunction · 0.85

Calls 2

getSettingsForSourceFunction · 0.85

Tested by

no test coverage detected