# Class CA1HandlerCoreAuthenticated

java.lang.Object
com.io7m.cardant.server.inventory.v1.CA1HandlerCoreAuthenticated

All Implemented Interfaces:
  `CAHTTPHandlerFunctionalCoreType`

public final class CA1HandlerCoreAuthenticated extends Object implements CAHTTPHandlerFunctionalCoreType
A core that executes the given core under authentication.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `CAHTTPResponseType`
  `execute(io.helidon.webserver.http.ServerRequest request, CAHTTPRequestInformation information)`
  Execute the core.
  `static CAHTTPHandlerFunctionalCoreType`
  `withAuthentication(com.io7m.repetoir.core.RPServiceDirectoryType services, CAHTTPHandlerFunctionalCoreAuthenticatedType<CASession,CAUser> inCore)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### withAuthentication

    public static CAHTTPHandlerFunctionalCoreType withAuthentication(com.io7m.repetoir.core.RPServiceDirectoryType services, CAHTTPHandlerFunctionalCoreAuthenticatedType<CASession,CAUser> inCore)
    Parameters:
      `services` - The services
      `inCore` - The executed core
    Returns:
      A core that executes the given core under authentication

  - ### execute

    public CAHTTPResponseType execute(io.helidon.webserver.http.ServerRequest request, CAHTTPRequestInformation information)
    Description copied from interface: `CAHTTPHandlerFunctionalCoreType`
    Execute the core.
    Specified by:
      `execute` in interface `CAHTTPHandlerFunctionalCoreType`
    Parameters:
      `request` - The request
      `information` - The request information
    Returns:
      The response