Interface SessionProvider.CookieSessionProvider

All Superinterfaces:
SessionProvider
Enclosing interface:
SessionProvider
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface SessionProvider.CookieSessionProvider extends SessionProvider
An HTTP cookie based session provider. The cookies are sent to the backend to be able to track the authentication session.
  • Method Details

    • cookies

      List<Cookie> cookies()
      The session cookies.
      Returns:
      the cookies
    • create

      Returns a new CookieSessionProvider.
      Parameters:
      cookies - the list of cookies that must be used as authorization tokens
      Returns:
      a new CookieSessionProvider