Recommend this page to a friend! |
Download .zip |
Info | Documentation | Screenshots | View files (467) | Download .zip | Reputation | Support forum | Blog (1) | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2020-09-05 (14 hours ago) | 80% | Total: 1,627 This week: 8 | All time: 2,396 This week: 32 |
Version | License | PHP version | Categories | |||
user-credentials 4.0.1 | BSD License | 7.3 | PHP 5, User Management, Security |
Description | Author | |||
This package can implement password authentication policies. Innovation Award
|
This package can implement password authentication and policy management. It can perform several types of check to evaluate if user passwords and authentication procedures comply with security recommendations
The PHP UserCredential Package is a pluggable service that enables one to validate passwords and policy. It validates against a set of password policies as recommended by OWASP best practice guidelines for Web applications.
The package also provides an Interface that allows plugging in 3rd party libraries, particularly for Multi Factor Authentication methods. To Illustrate how, we have plugged in MultiOTP library (https://github.com/multiOTP/multiotp) for the SMS OTP and Google Authenticator TOTP services that we have provided with this package.
require "cymapgt/usercredential": "*"
This package is intended for PHP applications which use Password for authentication and are required to maintain a User Credential policy of sorts. We also offer Multi Factor authentication services which utilize the MultiOTP Library.
The objectives of the Package are
Provide an easy way to integrate password policy to your application. When you use the service out of the box without custom configuration, it provides the following
(Introduced Version 1.2)
- Temporary lock out account after 4 successive illegal login attempts for 10 minute
- Indefinately lock out account on 5th successive illegal login attempt
- User cannot repeat 5 last passwords
- User passwords expire after 45 days
- Enforce password change when a password is not of the required entropy
- Minimum password length required of 8 characters
- Minimum password entropy is 2 capital case alphabet characters, 2 lower case alphabet characters, 1 numeric character and 1 special character
- User cannot use their Username, or their real name (or part of) in the Password string
(Introduced Version 1.3)
- Password cannot contain more than 2 consecutive characters (e.g. aaa)
- Password strength checker Class is included (Kudos to Ryan Chouinard for development of the lovely Phpass package (rchouinard/phpass) https://github.com/rchouinard/phpass), which we Forked for the strength functionality checker using NIST and Wolfram algorithms
All authentication controls should fail securely:* The Service is not intrusive. A UserProfile is provided to the service and it does not intervene unless it encounters an issue with the authentication or policy at which point it throws a UserCredentialException, which should then be handled
Enforce password complexity requirements established by policy or regulation. Authentication credentials should be sufficient to withstand attacks that are typical of the threats in the deployed environment. (e.g., requiring the use of alphabetic as well as numeric and/or special characters):The service has a method for implementing user defined policy based on length and complexity. However, it does not let one set a Weak policy as it compares the User defined policy to the built in base policy, and if the User defined policy is weak e.g. If Password length is 5 characters in user defined policy, it will fall back to the base (8 characters as per OWASP).NB: Falling back to be introduced and is not yet implemented.*
Enforce password length requirements established by policy or regulation. Eight characters is commonly used, but 16 is better or consider the use of multi-word pass phrases:* See previous point
Enforce account disabling after an established number of invalid login attempts (e.g., five attempts is common). The account must be disabled for a period of time sufficient to discourage brute force guessing of credentials, but not so long as to allow for a denial-of-service attack to be performed:* The service locks the account temporarily (10 minutes in base policy) for repeated attempts. After 10 minutes, the user may successfully log in with the correct password. However, if at any time after this the User provides another wrong password, the service locks the account indefinitely which will require admin intervention to unlock
Enforce the changing of temporary passwords on the next use:* The service will recommend/enforce password change on next attempted login when using a weak password
Prevent password re-use:* The service can support this. By default the last 5 passwords are not allowed to be repeated. User defined policy can increase this. We have seen up to 12 previous passwords being used in some environments.
Enforce password changes based on requirements established in policy or regulation. Critical systems may require more frequent changes. The time between resets must be administratively controlled:* The service has a default expiry period for passwords of 45 days. A stronger User Defined Policy (e.g. 30 days) can be set using the User defined policy methods.
Use MultiFactor Authentication for highly sensitive or high value transactional accounts* The service implements an Interface that can allow for Multi-Factor authentication.
//UserCredential constants for user authentication
const USERCREDENTIAL_ACCOUNTSTATE_LOGGEDOUT = 1;
const USERCREDENTIAL_ACCOUNTSTATE_LOGGEDIN = 2;
const USERCREDENTIAL_ACCOUNTSTATE_LOCKED1 = 3;
const USERCREDENTIAL_ACCOUNTSTATE_LOCKED2 = 4;
const USERCREDENTIAL_ACCOUNTSTATE_RESET = 5;
const USERCREDENTIAL_ACCOUNTSTATE_SUSPENDED = 6;
const USERCREDENTIAL_ACCOUNTSTATE_AUTHFAILED = 7;
const USERCREDENTIAL_ACCOUNTSTATE_WEAKPASSWD = 8;
/
* UserCredential constants for account policy actions. These also serve as
* exception codes during the authentication and policy check process.
* Internal Exception codes are documented in the EXCEPTIONS.md file
*/
const USERCREDENTIAL_ACCOUNTPOLICY_VALID = 1;
const USERCREDENTIAL_ACCOUNTPOLICY_EXPIRED = 2;
const USERCREDENTIAL_ACCOUNTPOLICY_ATTEMPTLIMIT1 = 3;
const USERCREDENTIAL_ACCOUNTPOLICY_ATTEMPTLIMIT2 = 4;
const USERCREDENTIAL_ACCOUNTPOLICY_REPEATERROR = 5;
const USERCREDENTIAL_ACCOUNTPOLICY_WEAKPASSWD = 6;
const USERCREDENTIAL_ACCOUNTPOLICY_NAMEINPASSWD = 7;
//Password strength constants
const PHPASS_PASSWORDSTRENGTHADAPTER_NIST = 0;
const PHPASS_PASSWORDSTRENGTHADAPTER_WOLFRAM = 1;
* This service is decoupled from backend store of user and auth info. It will need an array of the userProfile, which you should build and provide to the Service.
array (
"username" => "james",
"password" => "m&$1eLe6Ke()", //Password provided by user when loggin in, else null if youre running this in session and not log in
"fullname" => "James Rodriguez",
"passhash" => "bcrypt",
"passhist" => array( //These should be already stored as encrypted in your backend store and would be of required entropy :)
\password_hash('abc', \PASSWORD_DEFAULT),
\password_hash('def', \PASSWORD_DEFAULT),
\password_hash('ghi', \PASSWORD_DEFAULT),
\password_hash('jkl', \PASSWORD_DEFAULT),
\password_hash('mno', \PASSWORD_DEFAULT),
\password_hash('pqr', \PASSWORD_DEFAULT),
\password_hash('stu', \PASSWORD_DEFAULT),
\password_hash('vwx', \PASSWORD_DEFAULT),
\password_hash('xyz', \PASSWORD_DEFAULT)
),
"policyinfo"=>array(
'failed_attempt_count' => 0,
'password_last_changed_datetime' => new \DateTime('2014-05-04'),
'last_login_attempt_datetime' => new \DateTime('2014-05-16 23:45:10')
),
"account_state" => \USERCREDENTIAL_ACCOUNTSTATE_LOGGEDIN
);
The service comes with 3 Password Authenticating Services which you can Choose From. A Wiki for using each of the services as well as on implementing password policy is in the pipeline. This article here http://bit.ly/29m2aWL that explains using a DB as a backend store might assist with getting started on using the package.
Check the test file for these services for some documentation on their workings.
This service does password authentication only. To use this service, you will need to plug it in to the authentication Framework / Plugin that you are using.
This service generates Tokens which are sent to the mobile number or email that is mapped to the user. This class extends UserCredentialPasswordLoginService which performs the first step of the authentication.
This service generates TOTP tokens which change in intervals of 30 seconds. Thus, these can support Google Authenticator. This class extends UserCredentialPasswordLoginService which performs the first step of the authentication.
use cymapgt\core\application\authentication\UserCredential;
//Build user Profile First (see sample above)
$userCredentialService = new UserCredentialManager($userProfile);
try {
$usercredentialService->validateEntropy();
$usercredentialService->validateLength();
$usercredentialService->validateConsecutiveCharacterRepeat();
$checkPolicy = true;
} catch (UserCredentialException $enException) {
$enExceptionId = $enException->getCode();
$checkPolicy = false;
//Handle the Exception...
}
if ($checkPolicy) {
try {
$usercredentialService->validatePolicy();
} catch (UserCredentialException $plcyException) {
//Handle the Exception...
}
}
//Yay, we made it. Do something Amazing ... :)
* Usage during sessions is as above, except you cannot use validateEntropy() etc .... only validatePolicy() e.g on accessing a resource it may calculate that the 45 days have elapsed and throw exception requiring password change
The strength checker method is static, to allow for usage without needing instantiation of the UserCredentialManager class. Thus, it can also be used in assisting users when they are changing passwords or setting up new passwords.
use cymapgt\core\application\authentication\UserCredential;
$passwordStrength = UserCredentialManager::passwordStrength($passwordString);
//do something like show strength bar, or enforce stronger password
PHPUnit Tests are provided with the package
BSD 3 CLAUSE
Screenshots | ||
Files |
File | Role | Description | ||
---|---|---|---|---|
build (1 directory) | ||||
docs (1 directory) | ||||
images (4 files) | ||||
javascripts (1 file) | ||||
lib (1 directory) | ||||
plugins (1 directory) | ||||
src (1 file, 7 directories) | ||||
stylesheets (2 files) | ||||
tests (1 file, 3 directories) | ||||
CODE_OF_CONDUCT.md | Data | Auxiliary data | ||
composer.json | Conf. | Composer bootstrap file | ||
composer.lock | Data | Activate Github sync | ||
CONTRIBUTING.md | Data | Auxiliary data | ||
EXCEPTIONS.md | Doc. | Code refactoring - Quality Check Exception code documentation | ||
index.html | Doc. | Documentation | ||
LICENSE | Data | Activate Github sync | ||
license.txt | Lic. | License file | ||
params.json | Data | Auxiliary data | ||
phpdox.xml | Data | Auxiliary data | ||
README.md | Doc. | Activate Github sync | ||
readme.txt | Doc. | Documentation for UserCredential |
Files | / | build | / | phpdox | / | xml |
File | Role | Description | ||
---|---|---|---|---|
classes (5 files) | ||||
interfaces (1 file) | ||||
tokens (1 file, 4 directories) | ||||
index.xml | Data | Auxiliary data | ||
source.xml | Data | Auxiliary data |
Files | / | build | / | phpdox | / | xml | / | classes |
File | Role | Description |
---|---|---|
cymapgt_core_appli...dentialAbstract.xml | Data | Auxiliary data |
cymapgt_core_appli...ordLoginService.xml | Data | Auxiliary data |
cymapgt_core_appli...edentialManager.xml | Data | Auxiliary data |
cymapgt_Exception_...entialException.xml | Data | Auxiliary data |
Exception.xml | Data | Auxiliary data |
Files | / | build | / | phpdox | / | xml | / | interfaces |
File | Role | Description |
---|---|---|
cymapgt_core_appli...cationInterface.xml | Data | Auxiliary data |
Files | / | build | / | phpdox | / | xml | / | tokens |
File | Role | Description | ||
---|---|---|---|---|
abstractclass (2 files) | ||||
config (1 file) | ||||
Exception (1 file) | ||||
services (1 file) | ||||
UserCredentialManager.php.xml | Data | Auxiliary data |
Files | / | build | / | phpdox | / | xml | / | tokens | / | abstractclass |
File | Role | Description |
---|---|---|
UserCredentialAbstract.php.xml | Data | Auxiliary data |
UserCredentialAuth...onInterface.php.xml | Data | Auxiliary data |
Files | / | build | / | phpdox | / | xml | / | tokens | / | config |
File | Role | Description |
---|---|---|
NamedConstant.php.xml | Data | Auxiliary data |
Files | / | build | / | phpdox | / | xml | / | tokens | / | Exception |
File | Role | Description |
---|---|---|
UserCredentialException.php.xml | Data | Auxiliary data |
Files | / | build | / | phpdox | / | xml | / | tokens | / | services |
File | Role | Description |
---|---|---|
UserCredentialPass...oginService.php.xml | Data | Auxiliary data |
Files | / | docs | / | html |
File | Role | Description | ||
---|---|---|---|---|
classes (5 files, 4 directories) | ||||
css (2 files) | ||||
interfaces (1 file, 1 directory) | ||||
source (2 files, 4 directories) | ||||
classes.xhtml | Data | Auxiliary data | ||
index.xhtml | Data | Auxiliary data | ||
interfaces.xhtml | Data | Auxiliary data | ||
namespaces.xhtml | Data | Auxiliary data | ||
traits.xhtml | Data | Auxiliary data |
Files | / | docs | / | html | / | classes |
File | Role | Description | ||
---|---|---|---|---|
cymapgt_core_application_authentication_UserCredential_abstractclass_UserCredentialAbstract (42 files) | ||||
cymapgt_core_application_authentication_UserCredential_services_UserCredentialPasswordLoginService (16 files) | ||||
cymapgt_core_application_authentication_UserCredential_UserCredentialManager (18 files) | ||||
Exception (10 files) | ||||
cymapgt_core_appli...ntialAbstract.xhtml | Data | Auxiliary data | ||
cymapgt_core_appli...dLoginService.xhtml | Data | Auxiliary data | ||
cymapgt_core_appli...entialManager.xhtml | Data | Auxiliary data | ||
cymapgt_Exception_...tialException.xhtml | Data | Auxiliary data | ||
Exception.xhtml | Data | Auxiliary data |
Files | / | docs | / | html | / | classes | / | cymapgt_core_application_authentication_UserCredential_abstractclass_UserCredentialAbstract |
Files | / | docs | / | html | / | classes | / | cymapgt_core_application_authentication_UserCredential_services_UserCredentialPasswordLoginService |
File | Role | Description |
---|---|---|
authenticate.xhtml | Data | Auxiliary data |
getCurrentPassword.xhtml | Data | Auxiliary data |
getCurrentUsername.xhtml | Data | Auxiliary data |
getMultiFactorHandler.xhtml | Data | Auxiliary data |
getMultiFactorStages.xhtml | Data | Auxiliary data |
getPassword.xhtml | Data | Auxiliary data |
getUsePassword.xhtml | Data | Auxiliary data |
initialize.xhtml | Data | Auxiliary data |
setCurrentPassword.xhtml | Data | Auxiliary data |
setCurrentUsername.xhtml | Data | Auxiliary data |
setMultiFactor.xhtml | Data | Auxiliary data |
setMultiFactorHandler.xhtml | Data | Auxiliary data |
setMultiFactorStages.xhtml | Data | Auxiliary data |
setPassword.xhtml | Data | Auxiliary data |
setUsePassword.xhtml | Data | Auxiliary data |
__construct.xhtml | Data | Auxiliary data |
Files | / | docs | / | html | / | classes | / | cymapgt_core_application_authentication_UserCredential_UserCredentialManager |
File | Role | Description |
---|---|---|
canChangePassword.xhtml | Data | Auxiliary data |
getBaseEntropy.xhtml | Data | Auxiliary data |
getBaseEntropyOverride.xhtml | Data | Auxiliary data |
getBasePasswordPolicy.xhtml | Data | Auxiliary data |
getPasswordEntropyDescription.xhtml | Data | Auxiliary data |
getPasswordLengthDescription.xhtml | Data | Auxiliary data |
getPasswordPolicyDescription.xhtml | Data | Auxiliary data |
getUdfEntropy.xhtml | Data | Auxiliary data |
getUdfPasswordPolicy.xhtml | Data | Auxiliary data |
setBaseEntropyOverride.xhtml | Data | Auxiliary data |
setUdfEntropy.xhtml | Data | Auxiliary data |
setUdfPasswordPolicy.xhtml | Data | Auxiliary data |
validateConsecutiveCharacterRepeat.xhtml | Data | Auxiliary data |
validateEntropy.xhtml | Data | Auxiliary data |
validateLength.xhtml | Data | Auxiliary data |
validatePolicy.xhtml | Data | Auxiliary data |
validatePolicyAtChange.xhtml | Data | Auxiliary data |
__construct.xhtml | Data | Auxiliary data |
Files | / | docs | / | html | / | classes | / | Exception |
File | Role | Description |
---|---|---|
getCode.xhtml | Data | Auxiliary data |
getFile.xhtml | Data | Auxiliary data |
getLine.xhtml | Data | Auxiliary data |
getMessage.xhtml | Data | Auxiliary data |
getPrevious.xhtml | Data | Auxiliary data |
getTrace.xhtml | Data | Auxiliary data |
getTraceAsString.xhtml | Data | Auxiliary data |
__clone.xhtml | Data | Auxiliary data |
__construct.xhtml | Data | Auxiliary data |
__toString.xhtml | Data | Auxiliary data |
Files | / | docs | / | html | / | css |
File | Role | Description |
---|---|---|
source.css | Data | Auxiliary data |
style.css | Data | Auxiliary data |
Files | / | docs | / | html | / | interfaces |
File | Role | Description | ||
---|---|---|---|---|
cymapgt_core_application_authentication_UserCredential_abstractclass_UserCredentialAuthenticationInterface (15 files) | ||||
cymapgt_core_appli...tionInterface.xhtml | Data | Auxiliary data |
Files | / | docs | / | html | / | interfaces | / | cymapgt_core_application_authentication_UserCredential_abstractclass_UserCredentialAuthenticationInterface |
File | Role | Description |
---|---|---|
authenticate.xhtml | Data | Auxiliary data |
getCurrentPassword.xhtml | Data | Auxiliary data |
getCurrentUsername.xhtml | Data | Auxiliary data |
getMultiFactorHandler.xhtml | Data | Auxiliary data |
getMultiFactorStages.xhtml | Data | Auxiliary data |
getPassword.xhtml | Data | Auxiliary data |
getUsePassword.xhtml | Data | Auxiliary data |
initialize.xhtml | Data | Auxiliary data |
setCurrentPassword.xhtml | Data | Auxiliary data |
setCurrentUsername.xhtml | Data | Auxiliary data |
setMultiFactor.xhtml | Data | Auxiliary data |
setMultiFactorHandler.xhtml | Data | Auxiliary data |
setMultiFactorStages.xhtml | Data | Auxiliary data |
setPassword.xhtml | Data | Auxiliary data |
setUsePassword.xhtml | Data | Auxiliary data |
Files | / | docs | / | html | / | source |
File | Role | Description | ||
---|---|---|---|---|
abstractclass (3 files) | ||||
config (2 files) | ||||
Exception (2 files) | ||||
services (2 files) | ||||
index.xhtml | Data | Auxiliary data | ||
UserCredentialManager.php.xhtml | Data | Auxiliary data |
Files | / | docs | / | html | / | source | / | abstractclass |
File | Role | Description |
---|---|---|
index.xhtml | Data | Auxiliary data |
UserCredentialAbstract.php.xhtml | Data | Auxiliary data |
UserCredentialAuth...Interface.php.xhtml | Data | Auxiliary data |
Files | / | docs | / | html | / | source | / | config |
File | Role | Description |
---|---|---|
index.xhtml | Data | Auxiliary data |
NamedConstant.php.xhtml | Data | Auxiliary data |
Files | / | docs | / | html | / | source | / | Exception |
File | Role | Description |
---|---|---|
index.xhtml | Data | Auxiliary data |
UserCredentialException.php.xhtml | Data | Auxiliary data |
Files | / | docs | / | html | / | source | / | services |
File | Role | Description |
---|---|---|
index.xhtml | Data | Auxiliary data |
UserCredentialPass...inService.php.xhtml | Data | Auxiliary data |
Files | / | images |
File | Role | Description |
---|---|---|
bg_hr.png | Icon | Icon image |
blacktocat.png | Icon | Icon image |
icon_download.png | Icon | Icon image |
sprite_download.png | Icon | Icon image |
Files | / | lib | / | Multiotp |
File | Role | Description | ||
---|---|---|---|---|
config (2 files) | ||||
contrib (40 files) | ||||
launcher (4 files) | ||||
log (1 file) | ||||
multiotp-master-5.6 (1 directory) | ||||
oath (10 files) | ||||
qrcode (3 files, 2 directories) | ||||
scripts (2 files) | ||||
templates (4 files) | ||||
tokens (25 files) | ||||
users (3 files) | ||||
4.3.2.6 | Data | Auxiliary data | ||
5.4.1.6 | Data | Auxiliary data | ||
check.multiotp.class.php | Example | Example script | ||
checkmultiotp.cmd | Class | Class source | ||
CODE_OF_CONDUCT.md | Data | Auxiliary data | ||
COPYING | Data | Auxiliary data | ||
COPYING.LESSER | Data | Auxiliary data | ||
Dockerfile | Data | Auxiliary data | ||
md5.js | Data | Auxiliary data | ||
multiotp.class.php | Class | Class source | ||
multiotp.cli.header.php | Example | Example script | ||
multiotp.cli.proxy.php | Aux. | Auxiliary script | ||
multiotp.php | Class | Class source | ||
multiotp.server.php | Example | Example script | ||
multiotp.wsdl | Data | Auxiliary data | ||
radius_debug.cmd | Data | Auxiliary data | ||
radius_install.cmd | Data | Auxiliary data | ||
radius_uninstall.cmd | Data | Auxiliary data | ||
README.md | Doc. | Documentation | ||
readme_4.3.2.6.txt | Doc. | Documentation | ||
readme_5.1.1.2.txt | Doc. | Documentation | ||
readme_5.4.1.6.txt | Doc. | Documentation | ||
test-tokens.csv | Data | Auxiliary data | ||
webservice_install.cmd | Data | Auxiliary data | ||
webservice_uninstall.cmd | Data | Auxiliary data | ||
_config.yml | Data | Auxiliary data |
Files | / | lib | / | Multiotp | / | config |
File | Role | Description |
---|---|---|
multiotp.ini | Data | Auxiliary data |
stat.ini | Data | Auxiliary data |
Files | / | lib | / | Multiotp | / | contrib |
File | Role | Description |
---|---|---|
AES.php | Class | Class source |
ASN1.php | Class | Class source |
barcode.php | Class | Class source |
Base.php | Class | Class source |
BigInteger.php | Class | Class source |
Blowfish.php | Class | Class source |
DES.php | Class | Class source |
FUNC4.php | Class | Class source |
FUNC5.php | Class | Class source |
Hash.php | Class | Class source |
MAIL4.php | Class | Class source |
MAIL5.php | Class | Class source |
MIME4.php | Class | Class source |
MIME5.php | Class | Class source |
MultiotpAdLdap.php | Class | Class source |
MultiotpAspSms.php | Class | Class source |
MultiotpClickatell.php | Class | Class source |
MultiotpIntelliSms.php | Class | Class source |
MultiotpQrcode.php | Aux. | Auxiliary script |
MultiotpShowStatus.php | Aux. | Auxiliary script |
MultiotpSms.php | Class | Class source |
MultiotpSyslog.php | Class | Class source |
MultiotpTools.php | Class | Class source |
MultiotpXmlParser.php | Class | Class source |
MultiotpYubikey.php | Class | Class source |
nusoap.php | Class | Class source |
Random.php | Example | Example script |
RC2.php | Class | Class source |
RC4.php | Class | Class source |
Rijndael.php | Class | Class source |
RSA.php | Class | Class source |
SFTP.php | Class | Class source |
SMTP4.php | Class | Class source |
SMTP5.php | Class | Class source |
SSH2.php | Class | Class source |
Stream.php | Class | Class source |
TripleDES.php | Class | Class source |
Twofish.php | Class | Class source |
X509.php | Class | Class source |
ZypioSNMP.php | Class | Class source |
Files | / | lib | / | Multiotp | / | launcher |
File | Role | Description |
---|---|---|
launcher.cpp | Data | Auxiliary data |
ReadMe.txt | Doc. | Documentation |
stdafx.cpp | Data | Auxiliary data |
stdafx.h | Data | Auxiliary data |
Files | / | lib | / | Multiotp | / | multiotp-master-5.6 |
File | Role | Description | ||
---|---|---|---|---|
multiotp-master (21 files, 5 directories) |
Files | / | lib | / | Multiotp | / | multiotp-master-5.6 | / | multiotp-master |
File | Role | Description | ||
---|---|---|---|---|
contrib (37 files) | ||||
launcher (4 files) | ||||
oath (10 files) | ||||
scripts (2 files) | ||||
templates (2 files) | ||||
check.multiotp.class.php | Example | Example script | ||
checkmultiotp.cmd | Class | Class source | ||
CODE_OF_CONDUCT.md | Data | Auxiliary data | ||
COPYING | Data | Auxiliary data | ||
COPYING.LESSER | Data | Auxiliary data | ||
Dockerfile | Data | Auxiliary data | ||
md5.js | Data | Auxiliary data | ||
multiotp.class.php | Class | Class source | ||
multiotp.cli.header.php | Example | Example script | ||
multiotp.cli.proxy.php | Aux. | Auxiliary script | ||
multiotp.php | Class | Class source | ||
multiotp.server.php | Example | Example script | ||
multiotp.wsdl | Data | Auxiliary data | ||
radius_debug.cmd | Data | Auxiliary data | ||
radius_install.cmd | Data | Auxiliary data | ||
radius_uninstall.cmd | Data | Auxiliary data | ||
README.md | Doc. | Documentation | ||
test-tokens.csv | Data | Auxiliary data | ||
webservice_install.cmd | Data | Auxiliary data | ||
webservice_uninstall.cmd | Data | Auxiliary data | ||
_config.yml | Data | Auxiliary data |
Files | / | lib | / | Multiotp | / | multiotp-master-5.6 | / | multiotp-master | / | contrib |
File | Role | Description |
---|---|---|
AES.php | Class | Class source |
ASN1.php | Class | Class source |
barcode.php | Class | Class source |
Base.php | Class | Class source |
BigInteger.php | Class | Class source |
Blowfish.php | Class | Class source |
DES.php | Class | Class source |
FUNC4.php | Class | Class source |
FUNC5.php | Class | Class source |
Hash.php | Class | Class source |
MAIL4.php | Class | Class source |
MAIL5.php | Class | Class source |
MIME4.php | Class | Class source |
MIME5.php | Class | Class source |
MultiotpAdLdap.php | Class | Class source |
MultiotpQrcode.php | Aux. | Auxiliary script |
MultiotpShowStatus.php | Aux. | Auxiliary script |
MultiotpSms.php | Class | Class source |
MultiotpSyslog.php | Class | Class source |
MultiotpTools.php | Class | Class source |
MultiotpXmlParser.php | Class | Class source |
MultiotpYubikey.php | Class | Class source |
nusoap.php | Class | Class source |
Random.php | Example | Example script |
RC2.php | Class | Class source |
RC4.php | Class | Class source |
Rijndael.php | Class | Class source |
RSA.php | Class | Class source |
SFTP.php | Class | Class source |
SMTP4.php | Class | Class source |
SMTP5.php | Class | Class source |
SSH2.php | Class | Class source |
Stream.php | Class | Class source |
TripleDES.php | Class | Class source |
Twofish.php | Class | Class source |
X509.php | Class | Class source |
ZypioSNMP.php | Class | Class source |
Files | / | lib | / | Multiotp | / | multiotp-master-5.6 | / | multiotp-master | / | launcher |
File | Role | Description |
---|---|---|
launcher.cpp | Data | Auxiliary data |
ReadMe.txt | Doc. | Documentation |
stdafx.cpp | Data | Auxiliary data |
stdafx.h | Data | Auxiliary data |
Files | / | lib | / | Multiotp | / | multiotp-master-5.6 | / | multiotp-master | / | oath |
File | Role | Description |
---|---|---|
pskc-hotp-aes.txt | Doc. | Documentation |
pskc-hotp-pbe.txt | Doc. | Documentation |
pskc-totp-aes.txt | Doc. | Documentation |
pskc-totp-pbe.txt | Doc. | Documentation |
tokens_hotp_aes.pskc | Data | Auxiliary data |
tokens_hotp_pbe.pskc | Data | Auxiliary data |
tokens_ocra_aes.pskc | Data | Auxiliary data |
tokens_ocra_pbe.pskc | Data | Auxiliary data |
tokens_totp_aes.pskc | Data | Auxiliary data |
tokens_totp_pbe.pskc | Data | Auxiliary data |
Files | / | lib | / | Multiotp | / | multiotp-master-5.6 | / | multiotp-master | / | scripts |
File | Role | Description |
---|---|---|
multiotp-service.sh | Data | Auxiliary data |
multiotp.pl | Data | Auxiliary data |
Files | / | lib | / | Multiotp | / | multiotp-master-5.6 | / | multiotp-master | / | templates |
File | Role | Description |
---|---|---|
scratchtemplate.html | Doc. | Documentation |
template.html | Doc. | Documentation |
Files | / | lib | / | Multiotp | / | oath |
File | Role | Description |
---|---|---|
pskc-hotp-aes.txt | Doc. | Documentation |
pskc-hotp-pbe.txt | Doc. | Documentation |
pskc-totp-aes.txt | Doc. | Documentation |
pskc-totp-pbe.txt | Doc. | Documentation |
tokens_hotp_aes.pskc | Data | Auxiliary data |
tokens_hotp_pbe.pskc | Data | Auxiliary data |
tokens_ocra_aes.pskc | Data | Auxiliary data |
tokens_ocra_pbe.pskc | Data | Auxiliary data |
tokens_totp_aes.pskc | Data | Auxiliary data |
tokens_totp_pbe.pskc | Data | Auxiliary data |
Files | / | lib | / | Multiotp | / | qrcode |
File | Role | Description | ||
---|---|---|---|---|
data (40 files) | ||||
image (42 files) | ||||
.htaccess | Data | Auxiliary data | ||
qrHOTP.png | Icon | Icon image | ||
qrTOTP.png | Icon | Icon image |
Files | / | lib | / | Multiotp | / | qrcode | / | data |
File | Role | Description |
---|---|---|
qrvfr1.dat | Data | Auxiliary data |
qrvfr10.dat | Data | Auxiliary data |
qrvfr11.dat | Data | Auxiliary data |
qrvfr12.dat | Data | Auxiliary data |
qrvfr13.dat | Data | Auxiliary data |
qrvfr14.dat | Data | Auxiliary data |
qrvfr15.dat | Data | Auxiliary data |
qrvfr16.dat | Data | Auxiliary data |
qrvfr17.dat | Data | Auxiliary data |
qrvfr18.dat | Data | Auxiliary data |
qrvfr19.dat | Data | Auxiliary data |
qrvfr2.dat | Data | Auxiliary data |
qrvfr20.dat | Data | Auxiliary data |
qrvfr21.dat | Data | Auxiliary data |
qrvfr22.dat | Data | Auxiliary data |
qrvfr23.dat | Data | Auxiliary data |
qrvfr24.dat | Data | Auxiliary data |
qrvfr25.dat | Data | Auxiliary data |
qrvfr26.dat | Data | Auxiliary data |
qrvfr27.dat | Data | Auxiliary data |
qrvfr28.dat | Data | Auxiliary data |
qrvfr29.dat | Data | Auxiliary data |
qrvfr3.dat | Data | Auxiliary data |
qrvfr30.dat | Data | Auxiliary data |
qrvfr31.dat | Data | Auxiliary data |
qrvfr32.dat | Data | Auxiliary data |
qrvfr33.dat | Data | Auxiliary data |
qrvfr34.dat | Data | Auxiliary data |
qrvfr35.dat | Data | Auxiliary data |
qrvfr36.dat | Data | Auxiliary data |
qrvfr37.dat | Data | Auxiliary data |
qrvfr38.dat | Data | Auxiliary data |
qrvfr39.dat | Data | Auxiliary data |
qrvfr4.dat | Data | Auxiliary data |
qrvfr40.dat | Data | Auxiliary data |
qrvfr5.dat | Data | Auxiliary data |
qrvfr6.dat | Data | Auxiliary data |
qrvfr7.dat | Data | Auxiliary data |
qrvfr8.dat | Data | Auxiliary data |
qrvfr9.dat | Data | Auxiliary data |
Files | / | lib | / | Multiotp | / | qrcode | / | image |
File | Role | Description |
---|---|---|
b.png | Icon | Icon image |
d.png | Icon | Icon image |
qrv1.png | Icon | Icon image |
qrv10.png | Icon | Icon image |
qrv11.png | Icon | Icon image |
qrv12.png | Icon | Icon image |
qrv13.png | Icon | Icon image |
qrv14.png | Icon | Icon image |
qrv15.png | Icon | Icon image |
qrv16.png | Icon | Icon image |
qrv17.png | Icon | Icon image |
qrv18.png | Icon | Icon image |
qrv19.png | Icon | Icon image |
qrv2.png | Icon | Icon image |
qrv20.png | Icon | Icon image |
qrv21.png | Icon | Icon image |
qrv22.png | Icon | Icon image |
qrv23.png | Icon | Icon image |
qrv24.png | Icon | Icon image |
qrv25.png | Icon | Icon image |
qrv26.png | Icon | Icon image |
qrv27.png | Icon | Icon image |
qrv28.png | Icon | Icon image |
qrv29.png | Icon | Icon image |
qrv3.png | Icon | Icon image |
qrv30.png | Icon | Icon image |
qrv31.png | Icon | Icon image |
qrv32.png | Icon | Icon image |
qrv33.png | Icon | Icon image |
qrv34.png | Icon | Icon image |
qrv35.png | Icon | Icon image |
qrv36.png | Icon | Icon image |
qrv37.png | Icon | Icon image |
qrv38.png | Icon | Icon image |
qrv39.png | Icon | Icon image |
qrv4.png | Icon | Icon image |
qrv40.png | Icon | Icon image |
qrv5.png | Icon | Icon image |
qrv6.png | Icon | Icon image |
qrv7.png | Icon | Icon image |
qrv8.png | Icon | Icon image |
qrv9.png | Icon | Icon image |
Files | / | lib | / | Multiotp | / | scripts |
File | Role | Description |
---|---|---|
multiotp-service.sh | Data | Auxiliary data |
multiotp.pl | Data | Auxiliary data |
Files | / | lib | / | Multiotp | / | templates |
File | Role | Description |
---|---|---|
scratchtemplate.html | Doc. | Documentation |
scratchtemplate_fr.html | Doc. | Documentation |
template.html | Doc. | Documentation |
template_fr.html | Doc. | Documentation |
Files | / | lib | / | Multiotp | / | tokens |
File | Role | Description |
---|---|---|
abcdef012300.db | Data | Auxiliary data |
abcdef012301.db | Data | Auxiliary data |
abcdef012302.db | Data | Auxiliary data |
mu2f5a34b53360.db | Data | Auxiliary data |
mu2f5a34d8d5da.db | Data | Auxiliary data |
mu2f5a355a8315.db | Data | Auxiliary data |
mu2f5a357996c1.db | Data | Auxiliary data |
mu2f5a35808a27.db | Data | Auxiliary data |
rhossis.db | Data | Auxiliary data |
test_token.db | Data | Auxiliary data |
test_token8.db | Data | Auxiliary data |
yebo.db | Data | Auxiliary data |
yebo32.db | Data | Auxiliary data |
zz0000000002.db | Data | Auxiliary data |
zz1000000000.db | Data | Auxiliary data |
zz1000000001.db | Data | Auxiliary data |
zz1000000002.db | Data | Auxiliary data |
zz1100000000.db | Data | Auxiliary data |
zz1100000001.db | Data | Auxiliary data |
zz7000000000.db | Data | Auxiliary data |
zz7000000001.db | Data | Auxiliary data |
zz7000000002.db | Data | Auxiliary data |
zz8000000000.db | Data | Auxiliary data |
zz8000000001.db | Data | Auxiliary data |
zz8000000002.db | Data | Auxiliary data |
Files | / | lib | / | Multiotp | / | users |
File | Role | Description |
---|---|---|
test_user.db | Data | Auxiliary data |
test_user2.db | Data | Auxiliary data |
test_user8.db | Data | Auxiliary data |
Files | / | plugins | / | openbiz-cubi |
File | Role | Description |
---|---|---|
usercredentialService.php | Class | Package plugin for Openbiz-Cubi PHP framework |
Files | / | src |
File | Role | Description | ||
---|---|---|---|---|
abstractclass (3 files) | ||||
authentication (1 directory) | ||||
config (1 file) | ||||
Config (1 file) | ||||
Exception (1 file) | ||||
services (3 files) | ||||
traits (3 files) | ||||
UserCredentialManager.php | Class | Activate Github sync |
Files | / | src | / | abstractclass |
File | Role | Description |
---|---|---|
MultiotpWrapper.php | Class | Add MultiOTP wrapper and SMS Token 2 factor authentication service |
UserCredentialAbstract.php | Example | Activate Github sync |
UserCredentialAuth...cationInterface.php | Class | Activate Github sync |
Files | / | src | / | authentication | / | UserCredential |
File | Role | Description | ||
---|---|---|---|---|
abstractclass (2 files) | ||||
services (1 file) | ||||
UserCredentialManager.php | Class | Concrete implementation of the UserCredentialManager (The Password Policy Manager) |
Files | / | src | / | authentication | / | UserCredential | / | abstractclass |
File | Role | Description |
---|---|---|
UserCredentialAbstract.php | Class | Implements base logic of the class |
UserCredentialAuth...cationInterface.php | Class | Interface for concrete service classes |
Files | / | src | / | authentication | / | UserCredential | / | services |
File | Role | Description |
---|---|---|
UserCredentialPasswordLoginService.php | Class | Password only implementation of the Login Interface (Others go here e.g. MulitOTP, LDAP) |
Files | / | src | / | Exception |
File | Role | Description |
---|---|---|
UserCredentialException.php | Class | Exception class for the service |
Files | / | src | / | services |
File | Role | Description |
---|---|---|
UserCredentialGoogleAuthLoginService.php | Class | Class source |
UserCredentialPasswordLoginService.php | Class | Activate Github sync |
UserCredentialSmsTokenLoginService.php | Class | Add MultiOTP wrapper and SMS Token 2 factor authentication service |
Files | / | src | / | traits |
File | Role | Description |
---|---|---|
UserCredentialAuth...cationLdapTrait.php | Class | Class source |
UserCredentialAuth...tionNativeTrait.php | Class | Class source |
UserCredentialAuthenticationTrait.php | Class | Class source |
Files | / | stylesheets |
File | Role | Description |
---|---|---|
github-light.css | Data | Auxiliary data |
stylesheet.css | Data | Auxiliary data |
Files | / | tests |
File | Role | Description | ||
---|---|---|---|---|
authentication (1 directory) | ||||
files (6 files) | ||||
src (2 directories) | ||||
UserCredentialManagerTest.php | Class | Activate Github sync |
Files | / | tests | / | authentication | / | UserCredential |
File | Role | Description | ||
---|---|---|---|---|
services (1 file) | ||||
UserCredentialManagerTest.php | Test | Unit test for UserCredentialManager class |
Files | / | tests | / | authentication | / | UserCredential | / | services |
File | Role | Description |
---|---|---|
UserCredentialPass...oginServiceTest.php | Test | Unit test for Password only implementation of the service |
Files | / | tests | / | files |
File | Role | Description |
---|---|---|
.phpunit.result.cache | Data | Auxiliary data |
bootstrap.php | Test | Activate Github sync |
FreeDsxLdapServer.php | Class | Class source |
Google2FA.php | Class | Class source |
LdapRequestHandler.php | Class | Class source |
phpunit.xml | Lic. | Activate Github sync |
Files | / | tests | / | src | / | abstractclass |
File | Role | Description |
---|---|---|
UserCredentialAuth...cationTraitTest.php | Class | Class source |
Files | / | tests | / | src | / | services |
File | Role | Description |
---|---|---|
UserCredentialGoog...oginServiceTest.php | Class | Class source |
UserCredentialPass...oginServiceTest.php | Test | Add MultiOTP wrapper and SMS Token 2 factor authentication service |
UserCredentialSmsT...oginServiceTest.php | Test | Add MultiOTP wrapper and SMS Token 2 factor authentication service |
user-credentials-2020-09-05.zip 3045KB | |
user-credentials-2020-09-05.tar.gz 2758KB | |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
97% |
|
|
User Ratings | ||||||||||||||||||||||||||||||
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.