Skip to content

Commit

Permalink
Simplify trust chain resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
www-data committed Dec 9, 2024
1 parent de8546f commit 3aac94f
Show file tree
Hide file tree
Showing 3 changed files with 572 additions and 260 deletions.
4 changes: 2 additions & 2 deletions src/Federation/EntityStatementFetcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public function fromCache(string $uri): ?EntityStatement
return null;
}

$this->logger?->error(
$this->logger?->debug(
'Entity statement token found in cache, trying to build instance.',
compact('uri'),
);
Expand Down Expand Up @@ -185,7 +185,7 @@ public function fromNetwork(string $uri): EntityStatement
}

$token = $response->getBody()->getContents();
$this->logger?->info('Successful HTTP response for entity statement fetch.', compact('uri', 'token'));
$this->logger?->debug('Successful HTTP response for entity statement fetch.', compact('uri', 'token'));
$this->logger?->debug('Proceeding to EntityStatement instance building.');

$entityStatement = $this->entityStatementFactory->fromToken($token);
Expand Down
Loading

0 comments on commit 3aac94f

Please sign in to comment.