package and depencies

This commit is contained in:
RafficMohammed
2023-01-08 02:57:24 +05:30
parent d5332eb421
commit 1d54b8bc7f
4309 changed files with 193331 additions and 172289 deletions

View File

@@ -17,10 +17,9 @@ interface Claim
* Set the claim value, and call a validate method.
*
* @param mixed $value
* @return $this
*
* @throws \Tymon\JWTAuth\Exceptions\InvalidClaimException
*
* @return $this
*/
public function setValue($value);
@@ -35,7 +34,6 @@ interface Claim
* Set the claim name.
*
* @param string $name
*
* @return $this
*/
public function setName($name);
@@ -51,7 +49,6 @@ interface Claim
* Validate the Claim value.
*
* @param mixed $value
*
* @return bool
*/
public function validateCreate($value);

View File

@@ -19,7 +19,6 @@ interface Parser
* Parse the request.
*
* @param \Illuminate\Http\Request $request
*
* @return null|string
*/
public function parse(Request $request);

View File

@@ -17,7 +17,6 @@ interface Auth
* Check a user's credentials.
*
* @param array $credentials
*
* @return mixed
*/
public function byCredentials(array $credentials);
@@ -26,7 +25,6 @@ interface Auth
* Authenticate a user via the id.
*
* @param mixed $id
*
* @return mixed
*/
public function byId($id);

View File

@@ -15,14 +15,12 @@ interface JWT
{
/**
* @param array $payload
*
* @return string
*/
public function encode(array $payload);
/**
* @param string $token
*
* @return array
*/
public function decode($token);

View File

@@ -17,7 +17,6 @@ interface Storage
* @param string $key
* @param mixed $value
* @param int $minutes
*
* @return void
*/
public function add($key, $value, $minutes);
@@ -25,21 +24,18 @@ interface Storage
/**
* @param string $key
* @param mixed $value
*
* @return void
*/
public function forever($key, $value);
/**
* @param string $key
*
* @return mixed
*/
public function get($key);
/**
* @param string $key
*
* @return bool
*/
public function destroy($key);

View File

@@ -17,7 +17,6 @@ interface Validator
* Perform some checks on the value.
*
* @param mixed $value
*
* @return void
*/
public function check($value);
@@ -26,7 +25,6 @@ interface Validator
* Helper function to return a boolean.
*
* @param array $value
*
* @return bool
*/
public function isValid($value);