Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 490 Bytes

700-Auth.md

File metadata and controls

15 lines (8 loc) · 490 Bytes

The Pebble\Auth class is used to authenticate users using the database table auth. The Auth instance is created using a Pebble\DB object and an array of cookie settings.

The cookie settings could look something like this:

The following example shows a test of all methods:

You may run this example:

php -S localhost:8000 -t examples/auth

And go to http://localhost:8000