* @author root * * @license GNU AGPL version 3 or any later version * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . * */ namespace OCA\User_LDAP; interface IUserLDAP { //Functions used by LDAPProvider /** * Return access for LDAP interaction. * @param string $uid * @return Access instance of Access for LDAP interaction */ public function getLDAPAccess($uid); /** * Return a new LDAP connection for the specified user. * @param string $uid * @return resource|\LDAP\Connection of the LDAP connection */ public function getNewLDAPConnection($uid); /** * Return the username for the given LDAP DN, if available. * @param string $dn * @return string|false with the username */ public function dn2UserName($dn); } ble Mirror of redmine code source: https://github.com/redmine/redminewww-data
summaryrefslogtreecommitdiffstats
blob: 20225bb220bd95f9a0991beb6356f95f7645f166 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- 
repositories_001: 
  project_id: 1
  url: file:///<%= Rails.root %>/tmp/test/subversion_repository
  id: 10
  root_url: file:///<%= Rails.root %>/tmp/test/subversion_repository
  password: ""
  login: ""
  type: Repository::Subversion
  is_default: true
  created_on: 2006-07-19 19:04:21 +02:00
repositories_002: 
  project_id: 2
  url: svn://localhost/test
  id: 11
  root_url: svn://localhost
  password: ""
  login: ""
  type: Repository::Subversion
  is_default: true
  created_on: 2006-07-19 19:04:21 +02:00