public interface PreemptiveAuthSpec
| Modifier and Type | Method and Description |
|---|---|
RequestSpecification |
basic(String username,
String password)
Use preemptive http basic authentication.
|
RequestSpecification |
oauth2(String accessToken)
OAuth2 sign the request.
|
RequestSpecification basic(String username, String password)
username - The username.password - The password.RequestSpecification oauth2(String accessToken)
accessToken - The access tokenCopyright © 2010–2015. All rights reserved.