-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tweak(TB Login) enable fido2 style pwd less login
- Loading branch information
Showing
7 changed files
with
171 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php declare(strict_types=1); | ||
|
||
/** | ||
* Tine 2.0 | ||
* | ||
* @package Tinebase | ||
* @subpackage Auth | ||
* @license http://www.gnu.org/licenses/agpl.html AGPL Version 3 | ||
* @copyright Copyright (c) 2024 Metaways Infosystems GmbH (http://www.metaways.de) | ||
* @author Paul Mehrer <p.mehrer@metaways.de> | ||
* | ||
*/ | ||
|
||
class Tinebase_Auth_WebAuthnAdapterMock extends Tinebase_Auth_MFA_WebAuthnAdapter | ||
{ | ||
public function validate($_data, Tinebase_Model_MFA_UserConfig $_userCfg): bool | ||
{ | ||
return true; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?php declare(strict_types=1); | ||
/** | ||
* Tine 2.0 | ||
* | ||
* @package Tinebase | ||
* @subpackage Auth | ||
* @license http://www.gnu.org/licenses/agpl.html AGPL Version 3 | ||
* @copyright Copyright (c) 2024 Metaways Infosystems GmbH (http://www.metaways.de) | ||
* @author Paul Mehrer <p.mehrer@metaways.de> | ||
*/ | ||
|
||
/** | ||
* WebAuthn MFA UserConfig Model | ||
* | ||
* @package Tinebase | ||
* @subpackage Auth | ||
*/ | ||
class Tinebase_Auth_WebAuthnUserConfigMock extends Tinebase_Model_MFA_WebAuthnUserConfig | ||
{ | ||
public function updateUserNewRecordCallback(Tinebase_Model_FullUser $newUser, ?Tinebase_Model_FullUser $oldUser, Tinebase_Model_MFA_UserConfig $userCfg) | ||
{ | ||
} | ||
|
||
public function updateUserOldRecordCallback(Tinebase_Model_FullUser $newUser, Tinebase_Model_FullUser $oldUser, Tinebase_Model_MFA_UserConfig $userCfg) | ||
{ | ||
} | ||
|
||
/** | ||
* holds the configuration object (must be declared in the concrete class) | ||
* | ||
* @var Tinebase_ModelConfiguration | ||
*/ | ||
protected static $_configurationObject = NULL; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters