samsonos / social_email
Installs: 3 646
Dependents: 3
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 3
Open Issues: 0
Requires
This package is not auto-updated.
Last update: 2024-11-09 15:10:47 UTC
README
Generic Email registration and authorization module for Social SamsonPHP framework
Social_email module allows you to pass registration and enter the site via email. You need to configure the module in a proper way to work correctly. There are many options (parameters) for this.
-
dbAccessToken – database field, that stores the token for security.
-
cookieTime – cookie existence time(e.g. 606024 = 24 hours).
-
function authorizeWithEmail - check the entered email. If the data is correct, there is an authorization.
-
function authorize - authorizes the user. If you pass a parameter
rememeber
, function creates a token and write it to the database and cookie variable. -
function cookieVerification - authorizes the user if existing cookies match token in the database.
Developed by SamsonOS