23,7 → 23,10 |
\defined('INSIDE_OIDPLUS') or die; |
// phpcs:enable PSR1.Files.SideEffects |
|
class OIDplusPagePublicLoginLdap extends OIDplusPagePluginPublic { |
class OIDplusPagePublicLoginLdap extends OIDplusPagePluginPublic |
implements INTF_OID_1_3_6_1_4_1_37476_2_5_2_3_5, /* alternativeLoginMethods */ |
INTF_OID_1_3_6_1_4_1_37476_2_5_2_3_8 /* getNotifications */ |
{ |
|
/** |
* @param OIDplusRA $ra |
358,17 → 361,7 |
} |
|
/** |
* @param string $id |
* @return bool |
*/ |
public function implementsFeature(string $id): bool { |
if (strtolower($id) == '1.3.6.1.4.1.37476.2.5.2.3.5') return true; // alternativeLoginMethods() |
if (strtolower($id) == '1.3.6.1.4.1.37476.2.5.2.3.8') return true; // getNotifications() |
return false; |
} |
|
/** |
* Implements interface 1.3.6.1.4.1.37476.2.5.2.3.5 |
* Implements interface INTF_OID_1_3_6_1_4_1_37476_2_5_2_3_5 |
* @return array |
* @throws OIDplusException |
*/ |
385,7 → 378,7 |
} |
|
/** |
* Implements interface 1.3.6.1.4.1.37476.2.5.2.3.8 |
* Implements interface INTF_OID_1_3_6_1_4_1_37476_2_5_2_3_8 |
* @param string|null $user |
* @return array |
* @throws OIDplusException |