Skip to content

Commit

Permalink
Update code to fix line length issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Sae126V committed Aug 7, 2024
1 parent c78ce58 commit 1fa8181
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions lib/Authentication/AuthTokens/ShibAuthToken.php
Original file line number Diff line number Diff line change
Expand Up @@ -207,18 +207,23 @@ public static function isStateless() {
private function getEntitlementErrorMessage()
{
$refedsResAndSchURL = "https://refeds.org/category/research-and-scholarship";
$refedsSirtfiURL = "https://refeds.org/sirtfi";
$resourceLink = "https://docs.egi.eu/internal/configuration-database/access";
$sectionFragmentInfo = "/#using-institutional-account-via-egi-check-in";
$documentationURL = $resourceLink . $sectionFragmentInfo;

return '<ul>'
. '<li>Login requires the entitlement "urn:mace:egi.eu:res:gocdb#aai.egi.eu", '
. 'which was not provided. This entitlement is automatically granted when using '
. 'an identity provider compliant with '
. "<a href=\"{$refedsResAndSchURL}\" target='_blank'>REFEDS R&amp;S</a> "
. 'and <a href="https://refeds.org/sirtfi" target="_blank">REFEDS Sirtfi</a>. '
. '<li>Login requires the entitlement '
. 'urn:mace:egi.eu:res:gocdb#aai.egi.eu, '
. 'which was not provided. This entitlement is automatically '
. 'granted when using an identity provider compliant with '
. "<a href=\"{$refedsResAndSchURL}\" target='_blank'>"
. "REFEDS R&amp;S</a> and "
. "<a href=\"{$refedsSirtfiURL}\" target='_blank'>"
. "REFEDS Sirtfi</a>. "
. 'Please see here for more information: '
. '<a href="' . $documentationURL . 'target="_blank">' . $documentationURL . '</a>.'
. '<a href="' . $documentationURL . 'target="_blank">'
. $documentationURL . '</a>.'
. '</li>'
. '</ul>';
}
Expand Down

0 comments on commit 1fa8181

Please sign in to comment.