mirror of
https://github.com/floci-io/floci.git
synced 2026-12-05 02:58:00 -05:00
ExecuteApiSigV4Authorizer (API Gateway execute-api IAM auth) and IamAuthValidator (AppSync GraphQL IAM auth) each carried an identical CredentialScope record and identical signing-key/HMAC/hash/log-sanitizing helpers. Move CredentialScope into core.common.auth and widen SigV4RequestValidator (introduced in #3581) with the crypto and normalizeHeaderValue helpers both verifiers already relied on, so both delegate to one shared copy instead of two independently-maintained ones. Fixes #3650