File tree Expand file tree Collapse file tree 1 file changed +35
-7
lines changed
Expand file tree Collapse file tree 1 file changed +35
-7
lines changed Original file line number Diff line number Diff line change 88 * @package OCA\Solid
99 */
1010 class ClientAuth extends ABackend implements ICheckPasswordBackend {
11- private $ config ;
11+ public function __construct () {
12+ error_log ("SO Constructed solid client auth backend " );
13+ }
1214
13- public function __construct (IConfig $ config ) {
14- $ this ->config = $ config ;
15+ public function checkPassword (string $ username , string $ password ) {
16+ error_log ("SO checking password for $ username " );
17+ return true ;
1518 }
1619
17- public function checkPassword (string $ username , string $ password ) {
18- return true ;
19- }
20- }
20+ public function getBackendName () {
21+ error_log ("SO getBackendName " );
22+ return "Solid " ;
23+ }
24+ public function deleteUser ($ uid ) {
25+ error_log ("SO deleteUser " );
26+ return false ;
27+ }
28+ public function getUsers ($ search = "" , $ limit = null , $ offset = null , $ callback = null ) {
29+ error_log ("SO getUsers " );
30+ return [];
31+ }
32+ public function userExists ($ uid ) {
33+ error_log ("SO User exists " );
34+ return true ;
35+ }
36+ public function getDisplayName ($ uid ) {
37+ error_log ("SO getDisplayName " );
38+ return "Solid client " ;
39+ }
40+ public function getDisplayNames ($ search = "" , $ limit = null , $ offset = null ) {
41+ error_log ("SO getDisplayNames " );
42+ return [];
43+ }
44+ public function hasUserListings () {
45+ error_log ("SO hasUserListings " );
46+ return false ;
47+ }
48+ }
You can’t perform that action at this time.
0 commit comments