PHP Classes

File: api5/textdb/default.config.php

Recommend this page to a friend!
  Classes of Santo Nuzzolillo   API SQL to JSON   api5/textdb/default.config.php   Download  
File: api5/textdb/default.config.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: API SQL to JSON
Send AJAX requests and responding with JSON data
Author: By
Last change:
Date: 6 years ago
Size: 1,190 bytes
 

Contents

Class file image Download
<?php
/*
 * anonynousallowed : indica si permite o no peticiones sin autentificacion
 * autenticationmethod : SESSION or TOKEN or BOTH
 * autenticationsesionvariable : Indica el nombre de la variable en $_SESSION que debe ser verificada para indicar si tiene o no acceso, debe tener un valor o ser true
 * -- En revision autenticationpassword : Indica el metodo para verificar el password por ahora solo MD5 (pronto AES). API5 no interfiere en la forma como se guarda el password
 * autenticatedroles : Es una variable del tipo sumple o ARRAY donde puede indicar un o o mas roles. Por defecto es ANONYMOUS
 * tokenKey : Clave secreta en caso de que la verificacion del token es por key (ver JWT)
 * tokenRequired : -- revisar con respecto a los metodos
 * -- En revision AESpassPhrase : Frase utilizada por el el modulo de encriptacion AES. no implementado aun
 */
/*
<config type="JSON" name="config">
{
"autenticationmethod" : "TOKEN"
,"anonynousallowed" : true
,"autenticationsesionvariable" : "USERNAME"
,"autenticationpassword" : "MD5"
,"autenticatedroles" : "ANONYMOUS"
,"tokenRequired": false
,"tokenKey":"Enfasy"
,"AESpassPhrase":"PASS PHRASE"
}
</config>
*/