Skip to content

samsonos/social_email

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Email registration and authorization module SamsonPHP framework

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

About

Generic social module for Email authorization and registration

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages