Skip to Content
🎉 New release with new features and improvements! V0.0.4 Release →

JWT Authentication

For user-based authentication, use JWT tokens:

const bshEngine = new BshEngine({ host: 'https://your-instance.com', jwtToken: 'access-token', refreshToken: 'refresh-token' // Optional, enables auto-refresh });

The JWT token will be automatically included in all requests as the Authorization: Bearer <token> header.