1
0
mirror of https://github.com/delight-im/PHP-Auth.git synced 2025-08-08 09:06:29 +02:00

2 Commits

Author SHA1 Message Date
Marco
ab55f7e562 Explain how to manage session data conveniently 2016-07-20 00:37:48 +02:00
Marco
e768243798 Update dependencies 2016-07-20 00:36:18 +02:00
3 changed files with 12 additions and 8 deletions

View File

@@ -222,6 +222,10 @@ If the user is not currently signed in, this returns `null`.
$ip = $auth->getIpAddress(); $ip = $auth->getIpAddress();
``` ```
### Read and write session data
For detailed information on how to read and write session data conveniently, please refer to [the documentation of the session library](https://github.com/delight-im/PHP-Cookie), which is included by default.
### Utilities ### Utilities
#### Create a random string #### Create a random string

View File

@@ -4,7 +4,7 @@
"require": { "require": {
"php": ">=5.5.0", "php": ">=5.5.0",
"ext-openssl": "*", "ext-openssl": "*",
"delight-im/cookie": "^1.2" "delight-im/cookie": "^1.3"
}, },
"type": "library", "type": "library",
"keywords": [ "auth", "authentication", "login", "security" ], "keywords": [ "auth", "authentication", "login", "security" ],

14
composer.lock generated
View File

@@ -4,21 +4,21 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"hash": "dcde6f2cbd249e6604634f661a6bbcef", "hash": "32e4912115e164a1a86227d49db9ac29",
"content-hash": "b15a581c89266dd3f30d1a1b92fbe1f1", "content-hash": "1a5c0056d726ae6195da0faa38f37fdd",
"packages": [ "packages": [
{ {
"name": "delight-im/cookie", "name": "delight-im/cookie",
"version": "v1.2.1", "version": "v1.3.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/delight-im/PHP-Cookie.git", "url": "https://github.com/delight-im/PHP-Cookie.git",
"reference": "bac433e605a5879aefc4cd7f35329c3ded2213b5" "reference": "481c569d6f4bcb0391f56203f078d425b3339001"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/delight-im/PHP-Cookie/zipball/bac433e605a5879aefc4cd7f35329c3ded2213b5", "url": "https://api.github.com/repos/delight-im/PHP-Cookie/zipball/481c569d6f4bcb0391f56203f078d425b3339001",
"reference": "bac433e605a5879aefc4cd7f35329c3ded2213b5", "reference": "481c569d6f4bcb0391f56203f078d425b3339001",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -46,7 +46,7 @@
"samesite", "samesite",
"xss" "xss"
], ],
"time": "2016-07-08 22:01:56" "time": "2016-07-19 22:20:24"
}, },
{ {
"name": "delight-im/http", "name": "delight-im/http",