All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.serenitybdd.rest.stubs.PreemptiveAuthSpecStub Maven / Gradle / Ivy

There is a newer version: 4.2.9
Show newest version
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