Package com.authlete.jaxrs
Class CredentialJwtIssuerMetadataRequestHandler
- java.lang.Object
-
- com.authlete.jaxrs.CredentialJwtIssuerMetadataRequestHandler
-
public class CredentialJwtIssuerMetadataRequestHandler extends Object
Handler for requests to the JWT issuer metadata endpoint.This class can be used to implement the JWT issuer metadata endpoint (
/.well-known/jwt-issuer
) of the service.- Since:
- 2.65, Authlete 3.0
- See Also:
- SD-JWT-based Verifiable Credentials (SD-JWT VC)
-
-
Constructor Summary
Constructors Constructor Description CredentialJwtIssuerMetadataRequestHandler(com.authlete.common.api.AuthleteApi api)
Constructor with an implementation ofAuthleteApi
interface.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.authlete.jaxrs.AuthleteApiCaller
getApiCaller()
javax.ws.rs.core.Response
handle(com.authlete.common.dto.CredentialJwtIssuerMetadataRequest request)
Handle a request to the JWT issuer metadata endpoint.protected javax.ws.rs.InternalServerErrorException
unexpected(String message, Throwable cause)
-
-
-
Method Detail
-
handle
public javax.ws.rs.core.Response handle(com.authlete.common.dto.CredentialJwtIssuerMetadataRequest request) throws javax.ws.rs.WebApplicationException
Handle a request to the JWT issuer metadata endpoint.- Parameters:
request
- A JWT issuer metadata request.- Returns:
- A response that should be returned from the JWT issuer metadata endpoint.
- Throws:
javax.ws.rs.WebApplicationException
-
getApiCaller
protected com.authlete.jaxrs.AuthleteApiCaller getApiCaller()
-
-