1
0
mirror of https://github.com/delight-im/PHP-Auth.git synced 2025-07-30 21:00:13 +02:00
Commit Graph

320 Commits

Author SHA1 Message Date
Marco
854bc2b62b Swap positions of hyphen and underscore characters in URL-safe Base64
This ensures compatibility with RFC 4648 and the example from the
appendix of RFC 7515, aside from the padding character that is used.
2017-07-23 23:18:28 +02:00
Marco
01a52b76bc Switch characters in URL-safe Base64 to use tilde (~) for padding
The tilde character is less familiar to most users and harder to type
on most keyboards (compared to the hyphen and underscore characters).
2017-07-23 22:56:28 +02:00
Marco
ad88c1c6ab Use tilde character (~) instead of dot (.) for URL-safe Base64 coding
The dot character is excluded from auto-linking in most email clients
and is ambiguous in all other contexts when occurring at the end of a
URL. The tilde character, being the only unreserved character for use
in URLs that remains, as per RFC 3986, is thus a good alternative.
2017-07-23 22:16:13 +02:00
Marco
449e1c69ee Remove obsolete 'pre-check' and 'post-check' for 'Cache-Control' 2017-07-21 06:20:30 +02:00
Marco
63734fc5ee Add 'Role' class with constants for individual roles or groups 2017-07-10 20:59:45 +02:00
Marco
6e3728a918 Include help link for Composer in README 2017-07-08 23:32:48 +02:00
Marco
0909291cf1 Support multi-factor authentication via 'onBeforeSuccess' callback v5.2.0 2017-07-02 23:12:36 +02:00
Marco
6aa3f58059 Add 'AttemptCancelledException' 2017-07-02 22:17:43 +02:00
Marco
6156b1c135 Explain how to achieve interoperability with other session-based libs 2017-07-02 21:13:23 +02:00
Marco
829d5614ed Explain how to allow framing or embedding on third-party sites 2017-06-22 22:06:20 +02:00
Marco
47afa1c411 Remove enforcement of hard dependency on 'mysqlnd' in code v5.1.1 2017-06-20 02:19:46 +02:00
Marco
26cb41e992 Document support of SQLite v5.1.0 2017-06-12 20:35:07 +02:00
Marco
ee485f99ab Ensure compatibility with SQLite which does not cast to native types 2017-06-12 20:29:58 +02:00
Marco
8fc0b98493 Remove superfluous blank line 2017-06-12 20:28:47 +02:00
prometeusweb
45553afaea Add database schema for SQLite 2017-06-12 20:26:14 +02:00
Marco
7834455e16 Add 'What about password hashing?' to FAQ in README 2017-04-24 21:06:06 +02:00
Marco
e49adf0150 Move 'Custom password requirements' to FAQ in README 2017-04-24 20:58:18 +02:00
Marco
0fb653d6e0 Add section 'Custom password requirements' to README 2017-03-24 17:07:26 +01:00
Marco
dc233d9d46 Remove 'Features' section in README 2017-03-24 16:49:37 +01:00
Marco
7c842f903e Add 'MySQL Native Driver' as full name of 'mysqlnd' driver in README v5.0.1 2017-03-18 22:35:44 +01:00
Marco
0e2279ecda Document what is required to make library work with other databases 2017-03-18 22:31:30 +01:00
Marco
79db94f500 Add 'mysqlnd' driver for PDO as platform dependency in README 2017-03-18 22:30:19 +01:00
Marco
f38d7bd62c Add PDO as platform dependency in README 2017-03-18 22:25:23 +01:00
Marco
04a2e8ef4e Throw error if 'libmysqlclient' driver is used instead of 'mysqlnd' 2017-03-18 22:21:23 +01:00
Marco
59505479a5 Add class 'WrongMysqlDatabaseDriverError' 2017-03-18 22:13:28 +01:00
Marco
fdcfd6f78c Add class 'DatabaseDriverError' 2017-03-18 22:12:49 +01:00
Marco
20606bc507 Update dependencies 2017-03-18 22:11:05 +01:00
Marco
89a7af17fe Add documentation on how to retrieve status information 2017-02-26 14:15:26 +01:00
Marco
4c084150c4 Update migration guide v5.0.0 2017-02-26 13:49:20 +01:00
Marco
dd51d2c07d Add tests for 'getStatus' and related methods in 'Auth' class 2017-02-26 13:45:26 +01:00
Marco
93477e4e7e Add shorthands for 'getStatus' in 'Auth' class 2017-02-26 13:45:00 +01:00
Marco
d59ac83d13 Refactor array definition in 'authenticateUserInternal' 2017-02-26 13:13:37 +01:00
Marco
9a0036b8a8 Add 'Status' class with constants 2017-02-26 13:05:37 +01:00
Marco
a05d277a2c Read status from 'users' table and provide read access in session 2017-02-26 13:03:52 +01:00
Marco
0839beefcb Improve readability of README 2017-02-26 11:54:41 +01:00
Marco
bf5db38361 Link to 'Migration' from README 2017-02-25 19:13:56 +01:00
Marco
d9be7a4c22 Add table of contents to 'Migration' 2017-02-25 18:59:15 +01:00
Marco
e9bae4a346 Reverse chronological order in 'Migration.md' 2017-02-25 18:49:27 +01:00
Marco
2317423550 Explain that constructor of 'Administration' is for internal use only 2017-02-25 18:40:49 +01:00
Marco
d9dccf8100 Add 'status' column to 'users' table 2017-02-25 18:13:55 +01:00
Marco
26ca48c3b9 Improve language 2017-02-25 18:07:02 +01:00
Marco
9ec74b3b2d Deprecate boolean format for parameter 'rememberDuration' with login 2017-02-25 18:06:07 +01:00
Marco
9c60acec0d Improve code style 2017-02-25 17:58:29 +01:00
Marco
94eeb9dbe0 Fix anchors in README 2017-02-25 17:35:38 +01:00
Marco
4dca8439d1 Add tests for method 'deleteUserById' and related methods 2017-02-25 17:34:36 +01:00
Marco
81bdd79906 Add method 'deleteUserById' and similar methods for email and username 2017-02-25 17:32:35 +01:00
Marco
63144d4dc0 Add private method 'deleteUsersByColumnValue' to 'Administration' 2017-02-25 17:14:24 +01:00
Marco
f06af42f87 Move method 'getUserDataByUsername' from 'Auth' to 'UserManager' 2017-02-25 16:18:51 +01:00
Marco
6c6f34935c Add tests for method 'createUser' in class 'Administration' 2017-02-25 15:45:58 +01:00
Marco
293c231003 Do not offer email verification when creating users as admin 2017-02-25 15:44:37 +01:00