Skip to main content

BearerTokenHeaderValue

Matches the value part of a OIDC or OAuth header with the supplied token - useful in conjunction with the StateVariable matcher.

import { matchers } from '@contract-case/case-definition-dsl'

new matchers.http.BearerTokenHeaderValue(token: any)

Parameters

NameTypeDescription
tokenanyA string or string matcher for a Bearer auth token.