Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php namespace Pagekit\Auth; interface UserProviderInterface { /** * Retrieves..
Decoded Output download
<?php
namespace Pagekit\Auth;
interface UserProviderInterface
{
/**
* Retrieves a user by its unique identifier.
*
* @param string $id
* @return UserInterface|null
*/
public function find($id);
/**
* Retrieves a user by their unique username.
*
* @param string $username
* @return UserInterface|null
*/
public function findByUsername($username);
/**
* Retrieves a user by the given credentials.
*
* @param array $credentials
* @return UserInterface|null
*/
public function findByCredentials(array $credentials);
/**
* Validates a user against the given credentials.
*
* @param UserInterface $user
* @param array $credentials
* @return bool
*/
public function validateCredentials(UserInterface $user, array $credentials);
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Pagekit\Auth;
interface UserProviderInterface
{
/**
* Retrieves a user by its unique identifier.
*
* @param string $id
* @return UserInterface|null
*/
public function find($id);
/**
* Retrieves a user by their unique username.
*
* @param string $username
* @return UserInterface|null
*/
public function findByUsername($username);
/**
* Retrieves a user by the given credentials.
*
* @param array $credentials
* @return UserInterface|null
*/
public function findByCredentials(array $credentials);
/**
* Validates a user against the given credentials.
*
* @param UserInterface $user
* @param array $credentials
* @return bool
*/
public function validateCredentials(UserInterface $user, array $credentials);
}
Function Calls
None |
Stats
MD5 | 2e908a215c0868f7727998accbac1a97 |
Eval Count | 0 |
Decode Time | 84 ms |