Package com.authlete.common.dto
Class CredentialJwtIssuerMetadataRequest
- java.lang.Object
-
- com.authlete.common.dto.CredentialJwtIssuerMetadataRequest
-
- All Implemented Interfaces:
Serializable
public class CredentialJwtIssuerMetadataRequest extends Object implements Serializable
Request to Authlete's/vci/jwtissuer
API.The Authlete API is supposed to be called from within the implementation of the JWT VC issuer metadata endpoint (
/.well-known/jwt-vc-issuer
) of the credential issuer.The API will generate JSON like below.
{ "issuer": "
Service
.getCredentialIssuerMetadata()
.getCredentialIssuer()
", "jwks_uri": "Service
.getCredentialJwksUri()
" }Note that the JWT VC issuer metadata endpoint (
/.well-known/jwt-vc-issuer
) is different from the credential issuer metadata endpoint (/.well-known/openid-credential-issuer
).NOTE: The well-known path has been changed from
/.well-known/jwt-issuer
to/.well-known/jwt-vc-issuer
by a breaking change of the SD-JWT VC specification.- Since:
- 3.79, Authlete 3.0
- See Also:
CredentialJwtIssuerMetadataResponse
, SD-JWT-based Verifiable Credentials (SD-JWT VC), Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CredentialJwtIssuerMetadataRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isPretty()
Get the flag indicating whether the metadata is written in the pretty format or not.CredentialJwtIssuerMetadataRequest
setPretty(boolean pretty)
Set the flag indicating whether the metadata is written in the pretty format or not.
-
-
-
Method Detail
-
isPretty
public boolean isPretty()
Get the flag indicating whether the metadata is written in the pretty format or not.- Returns:
true
if the metadata is written in the pretty format.
-
setPretty
public CredentialJwtIssuerMetadataRequest setPretty(boolean pretty)
Set the flag indicating whether the metadata is written in the pretty format or not.- Parameters:
pretty
-true
to write the metadata in the pretty format.- Returns:
this
object.
-
-