MCPcopy Create free account
hub / github.com/oboard/claude-code-rev / isAwsAuthRefreshFromProjectSettings

Function isAwsAuthRefreshFromProjectSettings

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

Source from the content-addressed store, hash-verified

439 * Check if the configured awsAuthRefresh comes from project settings
440 */
441export function isAwsAuthRefreshFromProjectSettings(): boolean {
442 const awsAuthRefresh = getConfiguredAwsAuthRefresh()
443 if (!awsAuthRefresh) {
444 return false
445 }
446
447 const projectSettings = getSettingsForSource('projectSettings')
448 const localSettings = getSettingsForSource('localSettings')
449 return (
450 projectSettings?.awsAuthRefresh === awsAuthRefresh ||
451 localSettings?.awsAuthRefresh === awsAuthRefresh
452 )
453}
454
455/**
456 * Get the configured awsCredentialExport from settings

Callers 2

runAwsAuthRefreshFunction · 0.85

Calls 2

getSettingsForSourceFunction · 0.85

Tested by

no test coverage detected