Package com.authlete.common.dto
Class CredentialNonceRequest
- java.lang.Object
-
- com.authlete.common.dto.CredentialNonceRequest
-
- All Implemented Interfaces:
Serializable
public class CredentialNonceRequest extends Object implements Serializable
Request to Authlete's/vci/nonceAPI.The Authlete API is supposed to be used from within the implementation of the nonce endpoint of the credential issuer.
- Since:
- 4.27, Authlete 3.0.22
- See Also:
- OpenID for Verifiable Credential Issuance 1.0, Section 7. Nonce Endpoint, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CredentialNonceRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisPretty()Get the flag indicating whether the nonce response is written in the pretty format or not.CredentialNonceRequestsetPretty(boolean pretty)Set the flag indicating whether the nonce response is written in the pretty format or not.
-
-
-
Method Detail
-
isPretty
public boolean isPretty()
Get the flag indicating whether the nonce response is written in the pretty format or not.- Returns:
trueif the nonce response is written in the pretty format.
-
setPretty
public CredentialNonceRequest setPretty(boolean pretty)
Set the flag indicating whether the nonce response is written in the pretty format or not.- Parameters:
pretty-trueto write the nonce response in the pretty format.- Returns:
thisobject.
-
-