Interface ProblemDetails
- All Superinterfaces:
SerializableAsMap
A problem details object as defined in RFC-7807.
The problem+json response must contain a "type" URI and an associated "data model" containing details about a particular error.
The problem details object is instantiated via the object returned by the
SerializableAsMap.asMap() method of the implementing class.
Curity Plugins may implement this interface. Use the ProblemRepresentationFactory.of(ProblemDetails, Consumer)
method to return a problem response using an implementation of this interface.
- Since:
- 5.4.0
-
Method Summary
Methods inherited from interface se.curity.identityserver.sdk.attribute.SerializableAsMap
asMap
-
Method Details
-
type
String type()The type of this error.- Returns:
- type of error
-
title
The optional problem title.- Returns:
- the title, if any.
-