public static interface RequestInspection.Builder extends SdkPojo, CopyableBuilder<RequestInspection.Builder,RequestInspection>
| Modifier and Type | Method and Description |
|---|---|
default RequestInspection.Builder |
passwordField(Consumer<PasswordField.Builder> passwordField)
The name of the field in the request payload that contains your customer's password.
|
RequestInspection.Builder |
passwordField(PasswordField passwordField)
The name of the field in the request payload that contains your customer's password.
|
RequestInspection.Builder |
payloadType(PayloadType payloadType)
The payload type for your login endpoint, either JSON or form encoded.
|
RequestInspection.Builder |
payloadType(String payloadType)
The payload type for your login endpoint, either JSON or form encoded.
|
default RequestInspection.Builder |
usernameField(Consumer<UsernameField.Builder> usernameField)
The name of the field in the request payload that contains your customer's username.
|
RequestInspection.Builder |
usernameField(UsernameField usernameField)
The name of the field in the request payload that contains your customer's username.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRequestInspection.Builder payloadType(String payloadType)
The payload type for your login endpoint, either JSON or form encoded.
payloadType - The payload type for your login endpoint, either JSON or form encoded.PayloadType,
PayloadTypeRequestInspection.Builder payloadType(PayloadType payloadType)
The payload type for your login endpoint, either JSON or form encoded.
payloadType - The payload type for your login endpoint, either JSON or form encoded.PayloadType,
PayloadTypeRequestInspection.Builder usernameField(UsernameField usernameField)
The name of the field in the request payload that contains your customer's username.
How you specify this depends on the request inspection payload type.
For JSON payloads, specify the field name in JSON pointer syntax. For information about the JSON Pointer syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer.
For example, for the JSON payload { "form": { "username": "THE_USERNAME" } }, the username field
specification is /form/username.
For form encoded payload types, use the HTML form names.
For example, for an HTML form with the input element named username1, the username field
specification is username1
usernameField - The name of the field in the request payload that contains your customer's username.
How you specify this depends on the request inspection payload type.
For JSON payloads, specify the field name in JSON pointer syntax. For information about the JSON Pointer syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer.
For example, for the JSON payload { "form": { "username": "THE_USERNAME" } }, the
username field specification is /form/username.
For form encoded payload types, use the HTML form names.
For example, for an HTML form with the input element named username1, the username field
specification is username1
default RequestInspection.Builder usernameField(Consumer<UsernameField.Builder> usernameField)
The name of the field in the request payload that contains your customer's username.
How you specify this depends on the request inspection payload type.
For JSON payloads, specify the field name in JSON pointer syntax. For information about the JSON Pointer syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer.
For example, for the JSON payload { "form": { "username": "THE_USERNAME" } }, the username field
specification is /form/username.
For form encoded payload types, use the HTML form names.
For example, for an HTML form with the input element named username1, the username field
specification is username1
UsernameField.Builder avoiding the need
to create one manually via UsernameField.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to usernameField(UsernameField).
usernameField - a consumer that will call methods on UsernameField.BuilderusernameField(UsernameField)RequestInspection.Builder passwordField(PasswordField passwordField)
The name of the field in the request payload that contains your customer's password.
How you specify this depends on the request inspection payload type.
For JSON payloads, specify the field name in JSON pointer syntax. For information about the JSON Pointer syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer.
For example, for the JSON payload { "form": { "password": "THE_PASSWORD" } }, the password field
specification is /form/password.
For form encoded payload types, use the HTML form names.
For example, for an HTML form with the input element named password1, the password field
specification is password1.
passwordField - The name of the field in the request payload that contains your customer's password.
How you specify this depends on the request inspection payload type.
For JSON payloads, specify the field name in JSON pointer syntax. For information about the JSON Pointer syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer.
For example, for the JSON payload { "form": { "password": "THE_PASSWORD" } }, the
password field specification is /form/password.
For form encoded payload types, use the HTML form names.
For example, for an HTML form with the input element named password1, the password field
specification is password1.
default RequestInspection.Builder passwordField(Consumer<PasswordField.Builder> passwordField)
The name of the field in the request payload that contains your customer's password.
How you specify this depends on the request inspection payload type.
For JSON payloads, specify the field name in JSON pointer syntax. For information about the JSON Pointer syntax, see the Internet Engineering Task Force (IETF) documentation JavaScript Object Notation (JSON) Pointer.
For example, for the JSON payload { "form": { "password": "THE_PASSWORD" } }, the password field
specification is /form/password.
For form encoded payload types, use the HTML form names.
For example, for an HTML form with the input element named password1, the password field
specification is password1.
PasswordField.Builder avoiding the need
to create one manually via PasswordField.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to passwordField(PasswordField).
passwordField - a consumer that will call methods on PasswordField.BuilderpasswordField(PasswordField)Copyright © 2023. All rights reserved.