Package com.io7m.idstore.server.user_view

# Class IdUVHandlerCoreAuthenticated

java.lang.Object
com.io7m.idstore.server.user_view.IdUVHandlerCoreAuthenticated

All Implemented Interfaces:
  `IdHTTPHandlerFunctionalCoreType`

public final class IdUVHandlerCoreAuthenticated extends Object implements IdHTTPHandlerFunctionalCoreType
A core that executes the given core under authentication.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `IdHTTPResponseType`
  `execute(io.helidon.webserver.http.ServerRequest request, IdHTTPRequestInformation information)`
  Execute the core.
  `static IdHTTPHandlerFunctionalCoreType`
  `withAuthentication(com.io7m.repetoir.core.RPServiceDirectoryType services, IdHTTPHandlerFunctionalCoreAuthenticatedType<IdSessionUser,IdUser> inCore)`

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

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

- ## Method Details

  - ### withAuthentication

    public static IdHTTPHandlerFunctionalCoreType withAuthentication(com.io7m.repetoir.core.RPServiceDirectoryType services, IdHTTPHandlerFunctionalCoreAuthenticatedType<IdSessionUser,IdUser> inCore)
    Parameters:
      `services` - The services
      `inCore` - 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: `IdHTTPHandlerFunctionalCoreType`
    Execute the core.
    Specified by:
      `execute` in interface `IdHTTPHandlerFunctionalCoreType`
    Parameters:
      `request` - The request
      `information` - The request information
    Returns:
      The response