com.github.tomakehurst.wiremock.security.ClientTokenAuthenticator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wiremock-jre8-standalone Show documentation
Show all versions of wiremock-jre8-standalone Show documentation
A web service test double for all occasions - standalone edition
package com.github.tomakehurst.wiremock.security;
import com.google.common.net.HttpHeaders;
public class ClientTokenAuthenticator extends SingleHeaderClientAuthenticator {
public ClientTokenAuthenticator(String token) {
super(HttpHeaders.AUTHORIZATION, "Token " + token);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy