Created
November 1, 2016 12:54
-
-
Save alanwillms/2276b6cf4d57fd71a224249a0bfec562 to your computer and use it in GitHub Desktop.
ISP-7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
interface IdentificavelPorChaveDeAutenticacao | |
{ | |
public static function encontrarIdentidade($id); | |
public function getId(); | |
public function getChaveAutenticacao(); | |
public function validarChaveAutenticacao($chaveAutenticacao); | |
} | |
interface IdentificavelPorToken | |
{ | |
public static function encontrarIdentidadePeloToken($token, $tipo = null); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment