Upgrade to Laravel 10
This commit is contained in:
parent
c4d7dc31d5
commit
16b120bc73
142 changed files with 1676 additions and 2019 deletions
|
@ -13,9 +13,6 @@ class TokenService
|
|||
{
|
||||
/**
|
||||
* Generate a JWT token.
|
||||
*
|
||||
* @param array The data to be encoded
|
||||
* @return string The signed token
|
||||
*/
|
||||
public function getNewToken(array $data): string
|
||||
{
|
||||
|
@ -36,9 +33,6 @@ class TokenService
|
|||
|
||||
/**
|
||||
* Check the token signature is valid.
|
||||
*
|
||||
* @param string The token
|
||||
* @return mixed
|
||||
*/
|
||||
public function validateToken(string $bearerToken): Token
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue