Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simplesamlphp-module-perun
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Perun
Perun ProxyIdP
v1
simplesamlphp-module-perun
Merge requests
!34
Rewrited Adapters and Connectors
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Rewrited Adapters and Connectors
github/fork/vyskocilpavel/Connectors
into
master
Overview
0
Commits
1
Pipelines
0
Changes
7
Merged
Pavel Vyskočil
requested to merge
github/fork/vyskocilpavel/Connectors
into
master
6 years ago
Overview
0
Commits
1
Pipelines
0
Changes
7
Expand
Connectors methods are not static for now.
Added constructors to Adapters, which allows specified config file for each connections.
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
fbfe943c
1 commit,
2 years ago
7 files
+
149
−
81
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
7
Search (e.g. *.vue) (Ctrl+P)
lib/Adapter.php
+
9
−
0
Options
@@ -9,6 +9,15 @@ abstract class sspmod_perun_Adapter
@@ -9,6 +9,15 @@ abstract class sspmod_perun_Adapter
const
RPC
=
'rpc'
;
const
RPC
=
'rpc'
;
const
LDAP
=
'ldap'
;
const
LDAP
=
'ldap'
;
/**
* @var sspmod_perun_RpcConnector | sspmod_perun_LdapConnector
*/
protected
$connector
;
public
function
getConnector
(){
return
$this
->
connector
;
}
/**
/**
* @param string $interface code of interface. Check constants of this class.
* @param string $interface code of interface. Check constants of this class.
* @return sspmod_perun_Adapter instance of this class. note it is NOT singleton.
* @return sspmod_perun_Adapter instance of this class. note it is NOT singleton.
Loading