net.serenitybdd.rest.stubs.PreemptiveAuthSpecStub Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of serenity-rest-assured Show documentation
Show all versions of serenity-rest-assured Show documentation
Serenity RestAssured integration
package net.serenitybdd.rest.stubs;
import io.restassured.specification.PreemptiveAuthSpec;
import io.restassured.specification.RequestSpecification;
/**
* Created by john on 23/07/2015.
*/
public class PreemptiveAuthSpecStub implements PreemptiveAuthSpec {
@Override
public RequestSpecification basic(final String userName, final String password) {
return new RequestSpecificationStub();
}
@Override
public RequestSpecification oauth2(String var1){
return new RequestSpecificationStub();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy