Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (15 sloc) 355 Bytes
<?php
namespace Equip\Auth\Jwt;
/**
* Interface for a parser of JWT authentication token strings.
*/
interface ParserInterface
{
/**
* @param string $token
* @return \Equip\Auth\Token
* @throws \Equip\Auth\Exception\InvalidException if the token is invalid
* or expired
*/
public function parseToken($token);
}