Server SDKs
Build AI agents, control calls, send messages, and more
Check whether HTTP Basic authentication is configured on this handler.
None.
boolean — true if basic auth credentials have been set.
boolean
true
1import { AuthHandler } from '@signalwire/sdk';23const auth = new AuthHandler({4 basicAuth: ['admin', 'secret'],5});67console.log(auth.hasBasicAuth()); // true