Squiz Matrix
4.12.2
|
Data Fields | |
$saml_auth_manager | |
$idp_entityid | |
Data Fields inherited from Page_Asset_Builder | |
$_current_state = '' | |
$_errors = Array() | |
$_replacements = Array() | |
$_default_state = 'create' | |
Protected Member Functions | |
_getAuthManager () | |
_getEntityid () | |
_getAuthenticatedSamlUserid () | |
_searchLinkedMatrixUser ($samlUserid) | |
_linkMatrixUserWithSAML ($matrixUserid, $samlUserid) | |
_unlinkMatrixUserWithSAML ($matrixUserid, $samlUserid) | |
_loginUser ($userid) | |
_logoutUser ($clear_saml_session=TRUE) | |
_createUser ($create_type) | |
Definition at line 31 of file saml_account_manager.inc.
__construct | ( | $assetid = 0 | ) |
Constructor
string | $assetid | the asset id to be loaded |
Array | $data | the shadow asset data that will construct this variety |
Definition at line 45 of file saml_account_manager.inc.
__wakeup | ( | ) |
Wakeup.
It's important to load components when restored from a serialised state by Deja Vu.
public
Definition at line 64 of file saml_account_manager.inc.
_createAdditional | ( | & | $link | ) |
Perform any additional processing required during the creation of this asset
Asset builders create bodycopy assets when they are created
array | &$link | information used to create the initial link |
Definition at line 164 of file saml_account_manager.inc.
|
protected |
Automatically create the local Matrix user
string | $create_type | matrix user type |
Definition at line 973 of file saml_account_manager.inc.
_getAllowedLinks | ( | ) |
Returns an array of all the permitted link types, the asset type and the cardinality
Definition at line 201 of file saml_account_manager.inc.
|
protected |
Get unique saml id from authenticated saml user data
Definition at line 108 of file saml_account_manager.inc.
|
protected |
Get SAML Auth Manager class
Definition at line 78 of file saml_account_manager.inc.
_getBodycopies | ( | ) |
Return an array of bodycopies that need to be created
Definition at line 878 of file saml_account_manager.inc.
|
protected |
Get entityid of the IDP
Definition at line 92 of file saml_account_manager.inc.
_getRedirectURL | ( | ) |
get the URL that we will be redirecting to
Definition at line 785 of file saml_account_manager.inc.
|
protected |
Link Matrix user with specified SAML account
varchar | $matrixUserid | Matrix userid string |
varchar | $samlUserid | SAML userid string |
Definition at line 635 of file saml_account_manager.inc.
|
protected |
Log in the Matrix user (and do redirects if required)
string | $userid | matrix user id |
Definition at line 909 of file saml_account_manager.inc.
|
protected |
Log out of the Matrix user
bool | $clear_saml_session | clears saml session |
Definition at line 936 of file saml_account_manager.inc.
_processGlobalActions | ( | ) |
Process any global Account Manager actions
This function builds on the Asset Builder one by auto filling the username field of the login form that may be printed once the user account has been created.
Definition at line 570 of file saml_account_manager.inc.
|
protected |
Search linked Matrix user by SAML user id
varchar | $samlUserid | SAML userid string |
Definition at line 609 of file saml_account_manager.inc.
|
protected |
Unlink Matrix user with specified SAML account
varchar | $matrixUserid | Matrix userid string |
varchar | $samlUserid | SAML userid string |
Definition at line 677 of file saml_account_manager.inc.
create | ( | Array & | $link | ) |
Create this asset - Force the value of the "type" attribute to thesaurus term
Definition at line 148 of file saml_account_manager.inc.
& getRedirectAsset | ( | ) |
Returns the asset (if any) that we are redirecting to
Definition at line 701 of file saml_account_manager.inc.
isSimplesamlphpInstalled | ( | ) |
Is simplesamlphp librart installed?
Definition at line 136 of file saml_account_manager.inc.
onRequestKeywords | ( | & | $broadcaster, |
$vars = Array() |
|||
) |
Add valid keywords for this asset to an array of keywords when asked
object | &$broadcaster | the asset that triggered the event |
array | $vars | the vars that get submitted by the broadcaster we add keywords to the $vars['keywords'] array |
Definition at line 837 of file saml_account_manager.inc.
printBody | ( | ) |
Called by the design to print the body of this asset
Definition at line 344 of file saml_account_manager.inc.
printFrontend | ( | ) |
Prints out the Frontend for this asset
Definition at line 217 of file saml_account_manager.inc.
setRedirectAsset | ( | & | $asset | ) |
Set's the asset (if any) that we are going to be redirecting to
object | &$asset | the asset that we want to redirect to (NULL clears the redirect asset) |
Definition at line 734 of file saml_account_manager.inc.