public class JsonTokenPostLoginDto extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
endpoint
The endpoint where to execute the login
|
String |
extractTokenField
How to extract the token from a JSON response, as such
JSON could have few fields, possibly nested.
|
String |
headerPrefix
When sending out the obtained token in the Authorization header,
specify if there should be any prefix (e.g., "Bearer " or "JWT ")
|
String |
jsonPayload
The payload to send, as stringified JSON object
|
String |
userId
The id representing this user that is going to login
|
| Constructor and Description |
|---|
JsonTokenPostLoginDto() |
public String userId
public String endpoint
public String jsonPayload
public String extractTokenField
public String headerPrefix
Copyright © 2016–2022. All rights reserved.