This repository has been archived by the owner on Feb 15, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
44 changed files
with
4,316 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"title": { | ||
"en": "Logged out" | ||
}, | ||
"logged_out_text": { | ||
"en": "You have been logged out." | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"yes": { | ||
"en": "Resend Verfication Email" | ||
}, | ||
"no": { | ||
"en": "Abort Login" | ||
}, | ||
"title": { | ||
"en": "Please verify your email address by clicking the link in the email we sent you" | ||
}, | ||
"msg_title": { | ||
"en": "<b>This is your current status:</b>" | ||
}, | ||
"default_status": { | ||
"en": "Action Required" | ||
}, | ||
"account_pending_confirmation": { | ||
"en": "Account in Pending Email Confirmation Status" | ||
}, | ||
"invitation_restored": { | ||
"en": "Invitation has been restored." | ||
}, | ||
"petition_info": { | ||
"en": "The identifier <cite><b>%ORGIDENT%</b></cite> is in Email Pending Confirmation Status. Please check your Mail <cite><b>%MAIL%</b></cite> Inbox or Spam for further information. " | ||
}, | ||
"petition_user_notify": { | ||
"en": "<p class=\"petition-user-notify\">We have sent an email with a confirmation link to your email address <cite><b>%MAIL%</b></cite>. In order to complete the sign-up process, please click the confirmation link. If you do not find the email in your Inbox, please check your Spam or Junk folder for an email from \"RCIAM Notifications\". If you do find the email in these folders, mark the email as \"safe\" or \"not spam\" to ensure that you receive any future notifications about your RCIAM ID.</p><p>You can also click the <strong>\"Resend Verfication Email\"</strong> button below to have another email sent to you." | ||
}, | ||
"petition_token_expired": { | ||
"en": "<div class=\"invite-expire\">Email confirmation token EXPIRED <b> %DATE%</b> ago</div>" | ||
}, | ||
"petition_token_expires": { | ||
"en": "<div class=\"invite-expire\">Email confirmation token EXPIRES in <b> %DATE%</b></div>" | ||
}, | ||
"petition_invalidate_msg": { | ||
"en": "<p><i class=\"fa fa-exclamation-triangle\" aria-hidden=\"true\"></i>This action will invalidate any previous confirmation links.</p>" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
AUP Model is stored in the state, `$state['rciamAttributes']['aup']`. In addition, the model encapsulates two additional structures, the `vo` and the `agreed` ones, under the respective fields. Both of these directly correlate to the AUP model. | ||
* `vo` structure encompasses VO associated information with this AUP | ||
* `agreed` structure encompasses information on the last agreement for this AUP | ||
|
||
:warning: `vo` field is set to `null` when the AUP is not associated with any VO | ||
|
||
:warning: `agreed` field is set to `null` if the user hasn't agreed with any version of this AUP | ||
|
||
```bash | ||
{ | ||
"Version":"1.0", | ||
"aup": | ||
[ | ||
{ | ||
"id": "<cm_co_terms_and_conditions::id>", | ||
"description": "<cm_co_terms_and_conditions::description>", | ||
"url": "cm_co_terms_and_conditions::url", | ||
"modified": "<cm_co_terms_and_conditions::modified>", | ||
"vo": | ||
{ | ||
"id": "<cm_cous::id>", | ||
"name": "<cm_cous::name>" | ||
}, | ||
"version": "<cm_co_terms_and_conditions::revision>", | ||
"agreed": | ||
{ | ||
"id": "<cm_co_t_and_c_agreements::id>", | ||
"aupId": "<cm_co_t_and_c_agreements::co_terms_and_conditions_id>", | ||
"date": "<cm_co_t_and_c_agreements::agreement_time>", | ||
"version": "<cm_co_terms_and_conditions::cm_co_terms_and_conditions_id::revision>" | ||
} | ||
} | ||
] | ||
} | ||
``` | ||
<pre> | ||
* id Id of the AUP in the COmanage Registry | ||
* description Short description of the AUP | ||
* url URL pointing to the AUP webpage | ||
* modified Date when the AUP was last modified in the COmanage Registry | ||
* vo VO associated information with this AUP | ||
* id Id of the VO associated with this AUP | ||
* name Name of the VO associated with this AUP | ||
* version Current version of the AUP | ||
* agreed Information on the last agreement for this AUP | ||
* id Id of the AUP agreement | ||
* aupId Id of the last agreed AUP | ||
* date Date when the AUP agreement was signed | ||
* version Version of the agreed AUP | ||
</pre> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
|
||
namespace SimpleSAML\Module\attrauthcomanage\Auth; | ||
|
||
use SimpleSAML\Utils\HTTP; | ||
use SimpleSAML\Module; | ||
use SimpleSAML\Idp; | ||
|
||
/** | ||
* | ||
* @package SimpleSAMLphp | ||
*/ | ||
class Logout { | ||
public static function postLogout(IdP $idp, array $state) { | ||
$url = Module::getModuleURL('attrauthcomanage/logout.ctrl.php'); | ||
HTTP::redirectTrustedURL($url); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.