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 Details

    • PreemptiveAuthSpecStub

      public PreemptiveAuthSpecStub()
  • Method Details

    • basic

      public io.restassured.specification.RequestSpecification basic(String userName, String password)
      Specified by:
      basic in interface io.restassured.specification.PreemptiveAuthSpec
    • oauth2

      public io.restassured.specification.RequestSpecification oauth2(String var1)
      Specified by:
      oauth2 in interface io.restassured.specification.PreemptiveAuthSpec