Skip to content
Snippets Groups Projects
Select Git revision
  • f255702b2ef7a837c37ebe832bf6404bdd5bc6b2
  • master default protected
  • 1.2.3
  • 1.2.2
  • 1.2.1
  • 1.2.0
  • 1.1.0
  • 1.0.2
  • 1.0.1
  • 1.0
10 results

Token.php

Blame
  • Token.php 515 B
    <?php
    
    namespace WPDesk\ApiClient\Authentication;
    
    interface Token
    {
        /**
         * Get string to perform authentication
         *
         * @return string
         */
        public function getAuthString();
    
        /**
         * Is token expired or very soon to be expired?
         *
         * @return bool
         */
        public function isExpired();
    
        /**
         * Validates token signature
         *
         * @return bool
         */
        public function isSignatureValid();
    
        /**
         * @return string
         */
        public function __toString();
    }