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