Documentation

ArcheAuthenticationController extends ArcheBaseController
in package

Description of ArcheAuthenticationController

Tags
author

nczirjak

Table of Contents

Properties

$config  : Config
$helper  : mixed
$model  : mixed
$ontology  : Ontology
$pdo  : PDO
$repoDb  : RepoDb
$schema  : Schema
$siteLang  : mixed
$actualPage  : mixed
$roles  : mixed

Methods

__construct()  : mixed
checkUserPermission()  : Response
check the logged or not logged user rights and the actual resource rights
changeAPILanguage()  : void
If the API needs a different response language then we have to change the session lang params to get the desired lang string translation
checkHttpLogin()  : array<string|int, mixed>
Check if the user logged in with httpd
checkShibbolethLogin()  : array<string|int, mixed>
Check if the user logged in with Shibboleth
checkTmpDirs()  : mixed
getCurrentLanguage()  : type
Get the site actual language

Properties

Methods

checkUserPermission()

check the logged or not logged user rights and the actual resource rights

public checkUserPermission(string $resId[, string $aclRead = "" ]) : Response
Parameters
$resId : string
$aclRead : string = ""
Return values
Response

changeAPILanguage()

If the API needs a different response language then we have to change the session lang params to get the desired lang string translation

protected changeAPILanguage(string $lang) : void
Parameters
$lang : string

checkHttpLogin()

Check if the user logged in with httpd

private checkHttpLogin(string $aclRead) : array<string|int, mixed>
Parameters
$aclRead : string
Return values
array<string|int, mixed>

checkShibbolethLogin()

Check if the user logged in with Shibboleth

private checkShibbolethLogin(string $aclRead) : array<string|int, mixed>
Parameters
$aclRead : string
Return values
array<string|int, mixed>

getCurrentLanguage()

Get the site actual language

private getCurrentLanguage() : type
Return values
type

        
On this page

Search results