Interface AuthorizationProvider.CookieAuthorizationProvider

All Superinterfaces:
AuthorizationProvider
Enclosing interface:
AuthorizationProvider
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 AuthorizationProvider.CookieAuthorizationProvider extends AuthorizationProvider
An HTTP cookie based authorization provider. The cookies are sent to the backend to be able to do operations requiring authorization such as FIDO UAF registration or de-registration.
  • Method Details

    • cookies

      @NonNull List<Cookie> cookies()
      The cookies that can be used to do authorization.
      Returns:
      the cookies
    • create

      @NonNull static AuthorizationProvider.CookieAuthorizationProvider create(@NonNull List<Cookie> cookies)
      Returns a new CookieAuthorizationProvider.
      Parameters:
      cookies - the list of cookies that must be used as authorization tokens
      Returns:
      a new CookieAuthorizationProvider