Interface CanSupportHaapi
- All Known Subinterfaces:
AuthenticationActionPluginDescriptor<C>,AuthenticatorPluginDescriptor<C>,ConsentorPluginDescriptor<C>,SigningConsentorPluginDescriptor<C>
public interface CanSupportHaapi
Interface that needs to be implemented by plugins that provide support for the Hypermedia Authentication
API (HAAPI).
- Since:
- 5.4.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault @Nullable Map<String,Class<? extends RepresentationFunction>> Returns the plugin's map of template names to representation function classes.
-
Method Details
-
getRepresentationFunctions
@Nullable default @Nullable Map<String,Class<? extends RepresentationFunction>> getRepresentationFunctions()Returns the plugin's map of template names to representation function classes.Must return
nullif the plugin doesn't support HAAPI, which is the default behavior.- Returns:
- a map from a template name to the type that produces representations.
The template name is the one defined in the
Responseresponse model. TheRepresentationFunctioninstances produce HAAPI representations based on the response model map.
-