Skip to content

Commit 70b3bc9

Browse files
committed
Move to trust_mark_id claim
1 parent ba25558 commit 70b3bc9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Controllers/Federation/EntityStatementController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,12 @@ public function configuration(): Response
136136
if ($trustMarkEntity->getSubject() !== $this->moduleConfig->getIssuer()) {
137137
throw OidcServerException::serverError(sprintf(
138138
'Trust Mark %s is not intended for this entity.',
139-
$trustMarkEntity->getIdentifier(),
139+
$trustMarkEntity->getTrustMarkId(),
140140
));
141141
}
142142

143143
return [
144-
ClaimsEnum::Id->value => $trustMarkEntity->getIdentifier(),
144+
ClaimsEnum::Id->value => $trustMarkEntity->getTrustMarkId(),
145145
ClaimsEnum::TrustMark->value => $token,
146146
];
147147
}, $trustMarkTokens);

0 commit comments

Comments
 (0)