Renamed Tokens class to APIClients class

This commit is contained in:
Pierre
2018-05-07 18:27:54 +02:00
parent 63f6333bad
commit 97ef188167
2 changed files with 4 additions and 4 deletions

View File

@ -1,18 +1,18 @@
<?php
/**
* Tokens checker class
* API Clients checker class
*
* @author Pierre HUBERT
*/
class Tokens{
class APIClients {
/**
* Check request client tokens
*
* @return bool Depends of the validity of the tokens
*/
public function checkClientRequestTokens() : bool{
public function checkClientRequestTokens() : bool {
if(!isset($_POST['serviceName']) OR !isset($_POST['serviceToken']))
return false; //No token specified