Package | Description |
---|---|
org.cornutum.tcases.openapi.resolver | |
org.cornutum.tcases.openapi.restassured | |
org.cornutum.tcases.openapi.testwriter.java |
Modifier and Type | Class and Description |
---|---|
class |
ApiKeyDef
Describes an API key authentication input.
|
class |
HttpAuthDef
Describes an HTTP authentication input.
|
class |
HttpBasicDef
Describes an HTTP Basic authentication input.
|
class |
HttpBearerDef
Describes an HTTP Bearer authentication input.
|
Modifier and Type | Method and Description |
---|---|
Iterable<AuthDef> |
RequestCaseDef.getAuthDefs()
Returns the authentication definitions for this request.
|
Iterable<AuthDef> |
RequestCase.getAuthDefs()
Returns the authentication definitions for this request.
|
Modifier and Type | Method and Description |
---|---|
void |
RequestCaseDef.addAuthDef(AuthDef authDef)
Adds an authentication definition for this request.
|
void |
RequestCase.addAuthDef(AuthDef authDef)
Adds an authentication definition for this request.
|
Modifier and Type | Method and Description |
---|---|
void |
RequestCaseDef.setAuthDefs(Iterable<AuthDef> authDefs)
Changes the authentication definitions for this request.
|
void |
RequestCase.setAuthDefs(Iterable<AuthDef> authDefs)
Changes the authentication definitions for this request.
|
Modifier and Type | Method and Description |
---|---|
protected void |
RestAssuredTestCaseWriter.writeAuthDef(String testName,
AuthDef authDef,
IndentedWriter targetWriter)
Writes a request authentication definition for a target test case to the given stream.
|
Modifier and Type | Method and Description |
---|---|
static String |
TestCaseWriterUtils.headerValueOf(AuthDef authDef)
Returns the Java expression that provides the header value for the given authentication definition.
|
Copyright © 2024 The Cornutum Project. All rights reserved.