Class BearerTokenHeaderValue
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.contract_testing.contractcase.definitions.matchers.base.AnyMatcher
-
- io.contract_testing.contractcase.definitions.matchers.strings.StringPrefix
-
- io.contract_testing.contractcase.definitions.matchers.http.BearerTokenHeaderValue
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)", date="2025-08-20T01:46:20.843Z") @Stability(Stable) public class BearerTokenHeaderValue extends StringPrefix
Matches the value part of a OIDC or OAuth header with the supplied token - useful in conjunction with the StateVariable matcher.
-
-
Constructor Summary
Constructors Modifier Constructor Description BearerTokenHeaderValue(Object token)Matches the value part of a OIDC or OAuth header with the supplied token - useful in conjunction with the StateVariable matcher.protectedBearerTokenHeaderValue(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedBearerTokenHeaderValue(software.amazon.jsii.JsiiObjectRef objRef)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjecttoJSON()For non-TypeScript implementations (seeAnyMatcher.toJSON).-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
Constructor Detail
-
BearerTokenHeaderValue
protected BearerTokenHeaderValue(software.amazon.jsii.JsiiObjectRef objRef)
-
BearerTokenHeaderValue
protected BearerTokenHeaderValue(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
BearerTokenHeaderValue
@Stability(Stable) public BearerTokenHeaderValue(@NotNull Object token)Matches the value part of a OIDC or OAuth header with the supplied token - useful in conjunction with the StateVariable matcher.- Parameters:
token-- A string or string matcher for a Bearer auth token.
-
-
Method Detail
-
toJSON
@Stability(Stable) @NotNull public Object toJSON()
For non-TypeScript implementations (seeAnyMatcher.toJSON).- Overrides:
toJSONin classStringPrefix- Returns:
- An object in the matcher format described {@link https://case.contract-testing.io/docs/reference/plugin-framework in the Extending ContractCase documentation}
-
-