Server SDKs
Build AI agents, control calls, send messages, and more
Check whether Bearer token authentication is configured on this handler.
None.
boolean — true if a bearer token has been set.
boolean
true
1import { AuthHandler } from '@signalwire/sdk';23const auth = new AuthHandler({4 bearerToken: 'my-secret-token',5});67console.log(auth.hasBearerAuth()); // true