Package com.authlete.common.dto
Class AttestationChallengeRequest
- java.lang.Object
-
- com.authlete.common.dto.AttestationChallengeRequest
-
- All Implemented Interfaces:
Serializable
public class AttestationChallengeRequest extends Object implements Serializable
Request to Authlete's/attestation/challengeAPI.The Authlete API is supposed to be used from within the implementation of the challenge endpoint of the authorization server.
- Since:
- 4.39, Authlete 3.0.28
- See Also:
- OAuth 2.0 Attestation-Based Client Authentication, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AttestationChallengeRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisPretty()Get the flag indicating whether the challenge response is written in the pretty format or not.AttestationChallengeRequestsetPretty(boolean pretty)Set the flag indicating whether the challenge response is written in the pretty format or not.
-
-
-
Method Detail
-
isPretty
public boolean isPretty()
Get the flag indicating whether the challenge response is written in the pretty format or not.- Returns:
trueif the challenge response is written in the pretty format.
-
setPretty
public AttestationChallengeRequest setPretty(boolean pretty)
Set the flag indicating whether the challenge response is written in the pretty format or not.- Parameters:
pretty-trueto write the challenge response in the pretty format.- Returns:
thisobject.
-
-