Beispiel #1
0
 /**
  * Generate a new Token instance
  *
  * @param  Boolean $remember
  * 
  * @return Vercoutere\LaravelJwt\Token
  */
 protected function generateNewToken($remember = false)
 {
     return Token::generate('*****@*****.**', $remember);
 }
Beispiel #2
0
 /**
  * Generate a new token
  * 
  * @param   String $handle
  * @param   Boolean $remember
  * 
  * @return \Velazi\LaravelJwt\Token
  */
 protected function generateToken($handle, $remember)
 {
     return Token::generate($handle, $remember);
 }