door manager
This commit is contained in:
@@ -48,6 +48,7 @@ class LoginController extends RestController
|
||||
->issuedAt($time)// Configures the time that the token was issue (iat claim)
|
||||
->expiresAt($time + $validFor)// Configures the expiration time of the token (exp claim)
|
||||
->withClaim('uid', $form->getMobileDevice()->getId())// Configures a new claim, called "uid"
|
||||
->withClaim('cardId', $form->getMobileDevice()->card->number)// Configures a new claim, called "uid"
|
||||
->getToken($signer, $key); // Retrieves the generated token
|
||||
|
||||
return $this->asJson([
|
||||
|
||||
Reference in New Issue
Block a user