Package | Description |
---|---|
io.restassured | |
io.restassured.authentication | |
io.restassured.builder | |
io.restassured.internal | |
io.restassured.specification |
Modifier and Type | Field and Description |
---|---|
static AuthenticationScheme |
RestAssured.authentication
Set an authentication scheme that should be used for each request.
|
static AuthenticationScheme |
RestAssured.DEFAULT_AUTH |
Modifier and Type | Method and Description |
---|---|
static AuthenticationScheme |
RestAssured.basic(String userName,
String password)
Create a http basic authentication scheme.
|
static AuthenticationScheme |
RestAssured.certificate(String certURL,
String password)
Sets a certificate to be used for SSL authentication.
|
static AuthenticationScheme |
RestAssured.certificate(String certURL,
String password,
CertificateAuthSettings certificateAuthSettings)
Sets a certificate to be used for SSL authentication.
|
static AuthenticationScheme |
RestAssured.certificate(String trustStorePath,
String trustStorePassword,
String keyStorePath,
String keyStorePassword,
CertificateAuthSettings certificateAuthSettings)
Sets a certificate to be used for SSL authentication.
|
static AuthenticationScheme |
RestAssured.digest(String userName,
String password)
Use http digest authentication.
|
static AuthenticationScheme |
RestAssured.form(String userName,
String password)
Use form authentication.
|
static AuthenticationScheme |
RestAssured.form(String userName,
String password,
FormAuthConfig config)
Use form authentication with the supplied configuration.
|
static AuthenticationScheme |
RestAssured.ntlm(String userName,
String password,
String workstation,
String domain)
Create a NTLM authentication scheme.
|
static AuthenticationScheme |
RestAssured.oauth(String consumerKey,
String consumerSecret,
String accessToken,
String secretToken)
Excerpt from the HttpBuilder docs:
OAuth sign the request. |
static AuthenticationScheme |
RestAssured.oauth(String consumerKey,
String consumerSecret,
String accessToken,
String secretToken,
OAuthSignature signature)
Excerpt from the HttpBuilder docs:
OAuth sign the request. |
static AuthenticationScheme |
RestAssured.oauth2(String accessToken)
OAuth sign the request.
|
static AuthenticationScheme |
RestAssured.oauth2(String accessToken,
OAuthSignature signature)
OAuth sign the request.
|
Modifier and Type | Class and Description |
---|---|
class |
BasicAuthScheme |
class |
CertAuthScheme |
class |
ExplicitNoAuthScheme |
class |
FormAuthScheme |
class |
NoAuthScheme |
class |
NTLMAuthScheme |
class |
OAuth2Scheme |
class |
OAuthScheme |
class |
PreemptiveBasicAuthScheme |
class |
PreemptiveOAuth2HeaderScheme |
Modifier and Type | Method and Description |
---|---|
AuthenticationScheme |
PreemptiveAuthProvider.basic(String userName,
String password)
Use preemptive http basic authentication.
|
Modifier and Type | Method and Description |
---|---|
RequestSpecBuilder |
RequestSpecBuilder.setAuth(AuthenticationScheme auth)
If you need to specify some credentials when performing a request.
|
Modifier and Type | Method and Description |
---|---|
AuthenticationScheme |
RequestSpecificationImpl.getAuthenticationScheme() |
Modifier and Type | Method and Description |
---|---|
void |
RequestSpecificationImpl.setAuthenticationScheme(AuthenticationScheme value) |
Constructor and Description |
---|
RequestSpecificationImpl(String baseURI,
int requestPort,
String basePath,
AuthenticationScheme defaultAuthScheme,
List filters,
RequestSpecification defaultSpec,
boolean urlEncode,
RestAssuredConfig restAssuredConfig,
LogRepository logRepository,
ProxySpecification proxySpecification) |
Modifier and Type | Method and Description |
---|---|
AuthenticationScheme |
QueryableRequestSpecification.getAuthenticationScheme() |
Copyright © 2010–2019. All rights reserved.