2017 © Pedro Peláez
 

library oopnonce

Object Oriented library for Wordpress wp_nonce_*() methods

image

contialessandro/oopnonce

Object Oriented library for Wordpress wp_nonce_*() methods

  • Wednesday, June 27, 2018
  • by contialessandro
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Wordpress Object Oriented library for wp_nonce;

Orignal library can be found at: https://codex.wordpress.org/WordPress_Nonces, (*1)

set configuration with the below methods, (*2)

            $config = new \Nonces\NonceGenerator();
            $config->getLife(),
            $config->getAlgorithm(),
            $config->setSalt(),
            $config->getSession(),
            $config->getUserId(),

Create Nonce

Will need salt and algortithm set before calling the below method

``` php $nonce = new Nonce(); $nonce->generateNonce();, (*3)


### Verify Nonce ``` php $verifier = new Nonce($input,$nonce); $verifier->compare($nonce, $action);

The Versions

27/06 2018

dev-master

9999999-dev

Object Oriented library for Wordpress wp_nonce_*() methods

  Sources   Download

MIT

The Requires

  • php >=7.0.

 

The Development Requires

by Alessandro Conti

27/06 2018

dev-NonceGenerator

dev-NonceGenerator

Object Oriented library for Wordpress wp_nonce_*() methods

  Sources   Download

MIT

The Requires

  • php >=7.0.

 

The Development Requires

by Alessandro Conti

22/06 2018

dev-testing

dev-testing

Object Oriented library for Wordpress wp_nonce_*() methods

  Sources   Download

MIT

The Requires

  • php >=7.0.

 

The Development Requires

by Alessandro Conti

17/06 2018

dev-develop

dev-develop

Object Oriented library for Wordpress wp_nonce_*() methods

  Sources   Download

MIT

The Requires

  • php >=7.1.

 

The Development Requires

by Alessandro Conti