Git Product home page Git Product logo

login_plugin_wp's Introduction

Login plugin Create a plugin that will have the following functionality:

  1. To be developed as wordpress plugin with option to activate/deactivate
  2. Once activated the plugin should appear in the left admin menu:
  3. Clicking on this link, should open empty page with only instructions how to use the plugin
  4. Within this plugin logic you have to develop a shortcode [login_form] that can be added on any page content like in this example:
  5. Page that has this type of shortcode, on public needs to render a simple login form, something like this example:
  6. On login you should send data to 3rd party login service, that will happen on server side. *Login should be done on server side by using WP API functionality. *This is external API service that needs to be called with CURL, here is example URL: Request URL: http://demo1.btobet.net/wp-json/btobet/v1/login/? Request Method: POST Content-Type: application/json; charset=UTF-8 Post body object: { "username": "usernameinput", "password": "passwordinput" }
  7. Bonus task, block the login form that you have created in previous tasks, if the user tries to login more than 3 times from same IP address within 30 minutes timeframe.

login_plugin_wp's People

Contributors

vimpil04 avatar

Watchers

 avatar  avatar

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.