Class IdA1HandlerCoreAuthenticated
java.lang.Object
com.io7m.idstore.server.admin_v1.IdA1HandlerCoreAuthenticated
- All Implemented Interfaces:
IdHTTPHandlerFunctionalCoreType
public final class IdA1HandlerCoreAuthenticated
extends Object
implements IdHTTPHandlerFunctionalCoreType
A core that executes the given core under authentication.
-
Method Summary
Modifier and TypeMethodDescriptionexecute(io.helidon.webserver.http.ServerRequest request, IdHTTPRequestInformation information) Execute the core.withAuthentication(com.io7m.repetoir.core.RPServiceDirectoryType services, IdHTTPHandlerFunctionalCoreAuthenticatedType<IdSessionAdmin, IdAdmin> inCore)
-
Method Details
-
withAuthentication
public static IdHTTPHandlerFunctionalCoreType withAuthentication(com.io7m.repetoir.core.RPServiceDirectoryType services, IdHTTPHandlerFunctionalCoreAuthenticatedType<IdSessionAdmin, IdAdmin> inCore) - Parameters:
services- The servicesinCore- The executed core- Returns:
- A core that executes the given core under authentication
-
execute
public IdHTTPResponseType execute(io.helidon.webserver.http.ServerRequest request, IdHTTPRequestInformation information) Description copied from interface:IdHTTPHandlerFunctionalCoreTypeExecute the core.- Specified by:
executein interfaceIdHTTPHandlerFunctionalCoreType- Parameters:
request- The requestinformation- The request information- Returns:
- The response
-