Package com.authlete.jaxrs
Class CredentialIssuerMetadataRequestHandler
- java.lang.Object
-
- com.authlete.jaxrs.CredentialIssuerMetadataRequestHandler
-
public class CredentialIssuerMetadataRequestHandler extends Object
Handler for requests to the credential issuer metadata endpoint.This class can be used to implement the credential issuer metadata endpoint (
/.well-known/openid-credential-issuer) of the service.- Since:
- 2.57, Authlete 3.0
- See Also:
- OpenID for Verifiable Credential Issuance
-
-
Constructor Summary
Constructors Constructor Description CredentialIssuerMetadataRequestHandler(com.authlete.common.api.AuthleteApi api)Constructor with an implementation ofAuthleteApiinterface.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.authlete.jaxrs.AuthleteApiCallergetApiCaller()javax.ws.rs.core.Responsehandle(com.authlete.common.dto.CredentialIssuerMetadataRequest request)Handle a request to the credential issuer metadata endpoint.javax.ws.rs.core.Responsehandle(com.authlete.common.dto.CredentialIssuerMetadataRequest request, com.authlete.common.api.Options options)Handle a request to the credential issuer metadata endpoint.protected javax.ws.rs.InternalServerErrorExceptionunexpected(String message, Throwable cause)
-
-
-
Method Detail
-
handle
public javax.ws.rs.core.Response handle(com.authlete.common.dto.CredentialIssuerMetadataRequest request) throws javax.ws.rs.WebApplicationExceptionHandle a request to the credential issuer metadata endpoint. This method is an alias of thehandle(request, null).- Parameters:
request- A credential issuer metadata request.- Returns:
- A response that should be returned from the credential issuer metadata endpoint.
- Throws:
javax.ws.rs.WebApplicationException
-
handle
public javax.ws.rs.core.Response handle(com.authlete.common.dto.CredentialIssuerMetadataRequest request, com.authlete.common.api.Options options) throws javax.ws.rs.WebApplicationExceptionHandle a request to the credential issuer metadata endpoint.- Parameters:
request- A credential issuer metadata request.options- The request options for the/api/vci/metadataAPI.- Returns:
- A response that should be returned from the credential issuer metadata endpoint.
- Throws:
javax.ws.rs.WebApplicationException- Since:
- 2.82
-
getApiCaller
protected com.authlete.jaxrs.AuthleteApiCaller getApiCaller()
-
-