com.github.tomakehurst.wiremock.security.TokenAuthenticator 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 TokenAuthenticator extends SingleHeaderAuthenticator {
public TokenAuthenticator(String token) {
super(HttpHeaders.AUTHORIZATION, "Token " + token);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy