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 Object implements io.restassured.specification.PreemptiveAuthSpec
Created by john on 23/07/2015.
-
-
Constructor Summary
Constructors Constructor Description PreemptiveAuthSpecStub()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.restassured.specification.RequestSpecification
basic(String userName, String password)
io.restassured.specification.RequestSpecification
oauth2(String var1)
-
-
-
Method Detail
-
basic
public io.restassured.specification.RequestSpecification basic(String userName, String password)
- Specified by:
basic
in interfaceio.restassured.specification.PreemptiveAuthSpec
-
oauth2
public io.restassured.specification.RequestSpecification oauth2(String var1)
- Specified by:
oauth2
in interfaceio.restassured.specification.PreemptiveAuthSpec
-
-