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 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 null if 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 Response response model. The RepresentationFunction instances produce HAAPI representations based on the response model map.