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.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.nevis.mobile.sdk.api.authorization.SessionProvider
SessionProvider.CookieSessionProvider, SessionProvider.EmptySessionProvider, SessionProvider.JwtSessionProvider
-
Method Summary
-
Method Details
-
cookies
The session cookies.- Returns:
- the cookies
-
create
Returns a newCookieSessionProvider
.- Parameters:
cookies
- the list of cookies that must be used as authorization tokens- Returns:
- a new
CookieSessionProvider
-