GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - saikat/SCAuthExample: Example of SCAuth - SCAuth is at http://github.com/saikat/scauth

BranchesTags
Open more actions menu

Latest commit

 

History

3 Commits
3 Commits

Folders and files

NameName
Last commit message
Last commit date
frontend
frontend
 
 
session
session
 
 
user
user
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.markdown
README.markdown
 
 
__init__.py
__init__.py
 
 
manage.py
manage.py
 
 
settings.py
settings.py
 
 
urls.py
urls.py
 
 

Repository files navigation

Introduction

SCAuthExample is an example of the SCAuth library for Cappuccino. Go to http://github.com/saikat/SCAuth to learn about SCAuth.

Running the example

You will need to first install Django on your machine. Then, copy over your built Cappuccino frameworks and SCAuth into SCAuthExample/Frameworks. Once you do this, cd to SCAuthExample in a terminal and run python manage.py runserver. The example will be accessible at http://localhost:8000/index.html.

The example is fairly contrived (there isn't an actual database with actual users running on the backend). Clicking the Login button displays the login panel. Trying to register will always return a 409, and entering any username/password combination other than demo/demo will return a 403. Additionally, it isn't actually using browser sessions. Once you log in, you will remain "logged in" until you log out using the button in the app or restart the backend (Ctrl-C in the terminal, then run python manage.py runserver again). Clicking the button that says "Do something that requires authentication" makes a request to the backend that returns a 401 if you are not logged in, prompting a login dialog to occur.

About

Example of SCAuth - SCAuth is at http://github.com/saikat/scauth

Resources

Readme
MIT license
Activity

Stars

6 stars

Watchers

1 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.