Express middleware that validates the Bot Service JWT token.
Optional
The bot's client ID. Falls back to CLIENT_ID env var.
server.post('/api/messages', botAuthExpress(), (req, res) => bot.processAsync(req, res)) Copy
server.post('/api/messages', botAuthExpress(), (req, res) => bot.processAsync(req, res))
Express middleware that validates the Bot Service JWT token.