Package net.serenitybdd.rest.stubs
Class PreemptiveAuthSpecStub
java.lang.Object
net.serenitybdd.rest.stubs.PreemptiveAuthSpecStub
- All Implemented Interfaces:
io.restassured.specification.PreemptiveAuthSpec
public class PreemptiveAuthSpecStub
extends java.lang.Object
implements io.restassured.specification.PreemptiveAuthSpec
Created by john on 23/07/2015.
-
Constructor Summary
Constructors Constructor Description PreemptiveAuthSpecStub() -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
PreemptiveAuthSpecStub
public PreemptiveAuthSpecStub()
-
-
Method Details
-
basic
public io.restassured.specification.RequestSpecification basic(java.lang.String userName, java.lang.String password)- Specified by:
basicin interfaceio.restassured.specification.PreemptiveAuthSpec
-
oauth2
public io.restassured.specification.RequestSpecification oauth2(java.lang.String var1)- Specified by:
oauth2in interfaceio.restassured.specification.PreemptiveAuthSpec
-