samsonos/social_email

Installs: 3 663

Dependents: 3

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 3

Open Issues: 0

pkg:composer/samsonos/social_email

0.0.4 2017-03-21 12:14 UTC

This package is not auto-updated.

Last update: 2025-10-25 19:55:40 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