Giter Site home page Giter Site logo

ricsunny / ciauth Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 1.47 MB

A Complete Authentication using RESTful server implementation for CodeIgniter 3.1.3

License: MIT License

ApacheConf 0.01% PHP 18.14% HTML 81.17% CSS 0.14% JavaScript 0.54%
restful-api-php codeigniter-restserver-api restful-api restful codeigniter-authit authentication webserver-auth

ciauth's Introduction


A Complete Authentication using RESTful server implementation for CodeIgniter 3.1.3.


aurthor: Richard Sunny

Recently I had to work on building up Restful Services for a Mobile App. Without reinventing the wheel I was able to find the basic implementation for restful architecture within codeigniter by Phil Sturgeon, Chris Kacerguis, @softwarespot. This extended work includes most of the commanly used Authentication methods within any mobile application.

Getting started

  1. Clone/Download the application

  2. Setup Base URL in config/config.php e.g. Local Server http://localhost/ciAuth/api/

  3. Import /ciauthdb.sql and setup Database configurations in config/database.php

  4. Setup SMTP settings to get Email Notifications working

Restful Web Services Includes

application\controllers\Api.php contains following services/methods:

  • Login
  • Register
  • Forgot Password
  • Change Password
  • and a couple of more helping Restful methods

Server Requirements

PHP version 5.4 or newer is recommended.

It should work on 5.2.4 as well, but we strongly advise you NOT to run such old versions of PHP, because of potential security and performance issues, as well as missing features.

Installation

Please see the installation section <http://www.codeigniter.com/user_guide/installation/index.html>_ of the CodeIgniter User Guide.

Credits

License

Please see the license agreement <https://github.com/bcit-ci/CodeIgniter/blob/develop/user_guide_src/source/license.rst>_.

ciauth's People

Contributors

ricsunny avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

naszvadig

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.