verifyAuthToken()
SIP Protocol API Reference v0.7.4
SIP Protocol API Reference / verifyAuthToken
Function: verifyAuthToken()
Section titled “Function: verifyAuthToken()”verifyAuthToken(
authHeader,expectedToken):boolean
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:16157
Verify authorization token
H-7 FIX: Implement authorization verification
Parameters
Section titled “Parameters”authHeader
Section titled “authHeader”Authorization header value
string | undefined
expectedToken
Section titled “expectedToken”string
Expected token
Returns
Section titled “Returns”boolean
True if token matches