Package org.keycloak.cookie
Class DefaultCookieProvider
java.lang.Object
org.keycloak.cookie.DefaultCookieProvider
- All Implemented Interfaces:
CookieProvider
,Provider
-
Constructor Summary
ConstructorDescriptionDefaultCookieProvider
(KeycloakContext context, boolean sameSiteLegacyEnabled) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
expire
(CookieType cookieType) get
(CookieType cookieType) void
set
(CookieType cookieType, String value) void
set
(CookieType cookieType, String value, int maxAge)
-
Constructor Details
-
DefaultCookieProvider
-
-
Method Details
-
set
- Specified by:
set
in interfaceCookieProvider
-
set
- Specified by:
set
in interfaceCookieProvider
-
get
- Specified by:
get
in interfaceCookieProvider
-
expire
- Specified by:
expire
in interfaceCookieProvider
-
close
public void close()
-