PHP Classes

File: src/ValidationRuleInterface.php

Recommend this page to a friend!
  Classes of Scott Arciszewski  >  PHP PASeTo  >  src/ValidationRuleInterface.php  >  Download  
File: src/ValidationRuleInterface.php
Role: Class source
Content type: text/plain
Description: Class source
Class: PHP PASeTo
Encrypt and decrypt data with PaSeTO protocol
Author: By
Last change:
Date: 1 year ago
Size: 499 bytes


Class file image Download

 * Interface ValidationRuleInterface
 * @package ParagonIE\Paseto
interface ValidationRuleInterface
     * Get the message of the last failure. Optional.
     * @return string
public function getFailureMessage(): string;

     * Validate this token according to this rule.
     * @param JsonToken $token
     * @return bool
public function isValid(JsonToken $token): bool;

For more information send a message to info at phpclasses dot org.