You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: provider/pact-jvm-provider-junit/README.md
+12-5
Original file line number
Diff line number
Diff line change
@@ -227,9 +227,9 @@ The following keys may be managed through the environment
227
227
*`pactbroker.port`
228
228
*`pactbroker.scheme`
229
229
*`pactbroker.tags` (comma separated)
230
-
*`pactbroker.auth.scheme`
231
-
*`pactbroker.auth.username`
232
-
*`pactbroker.auth.password`
230
+
*`pactbroker.auth.username` (for basic auth)
231
+
*`pactbroker.auth.password` (for basic auth)
232
+
*`pactbroker.auth.token` (for bearer auth)
233
233
234
234
235
235
#### Using tags with the pact broker
@@ -246,7 +246,7 @@ For any other value the latest pact tagged with the specified tag is loaded.
246
246
247
247
Specifying multiple tags is an OR operation. For example if you specify `tags = {"dev", "prod"}` then both the latest pact file tagged with `dev` and the latest pact file taggged with `prod` is loaded.
248
248
249
-
#### Using basic auth with the with the pact broker
249
+
#### Using authentication with the with the pact broker
250
250
251
251
You can use basic authentication with the `@PactBroker` annotation by setting the `authentication` value to a `@PactBrokerAuth`
Copy file name to clipboardexpand all lines: provider/pact-jvm-provider-junit/src/test/groovy/au/com/dius/pact/provider/junit/loader/PactBrokerLoaderSpec.groovy
Copy file name to clipboardexpand all lines: provider/pact-jvm-provider-junit/src/test/kotlin/au/com/dius/pact/provider/junit/PactBrokerAnnotationDefaultsTest.kt
+13-2
Original file line number
Diff line number
Diff line change
@@ -100,8 +100,8 @@ class PactBrokerAnnotationDefaultsTest {
0 commit comments