Skip to content

ConnorC18/Python-Authentication-Library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Authentication Library

Welcome to the Python authentication library! This library allows you to install the file and have access to functions like, login, signup, reset password ect. This repo is being updated when required.

Contents

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See the examples / usage section on how to use the project on a live system.

Prerequisites

What things you need to install for this library to work

Python 3.4 Or Above

Installing

A step by step tutorial that will tell you how to get the library running
First of all download the latest release! You can do this by clicking the button below:
Current Version

  1. Open the .ZIP and drag the loginSystem.py to your project directory
  2. Inside your project at the top add
    from loginSystem import *
    

Examples

Wiki!

Load Library
from loginSystem import * # Loads the login library
Sign Up
signup() # Will return True or the error message thrown by the function
Login
login() # Will return True or "incorrectinfo" or "noaccount" depending on the error.
Check If User Is Logged In
checkLoggedIn() # Will return True of False
Reset Password
passwordReset() # Will return True or "noemail" or "wrongsecurityquestionanswer"
Session Info
print(sessionInfo["username"]) # Will return the current logged in users, username
Logout
logout()  # Will return True or "notloggedin"

Support

Contact me on discord: Paint#0001
Email Me: connor.coleman2002@gmail.com

Version

Current Version: 1.1.0

Coming Soon

  • Email With Password reset will have a subject line

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages