org.keycloak.adapters

## Class CookieTokenStore

- java.lang.Object
- - org.keycloak.adapters.CookieTokenStore

-     public class CookieTokenStore
      extends Object

  Author:
    Marek Posolda

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CookieTokenStore()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static KeycloakPrincipal<RefreshableKeycloakSecurityContext>` | `getPrincipalFromCookie(KeycloakDeployment deployment, HttpFacade facade, AdapterTokenStore tokenStore)`
    `static void` | `removeCookie(HttpFacade facade)`
    `static void` | `setTokenCookie(KeycloakDeployment deployment, HttpFacade facade, RefreshableKeycloakSecurityContext session)`

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

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

- - ### Constructor Detail

    - #### CookieTokenStore

          public CookieTokenStore()

  - ### Method Detail

    - #### setTokenCookie

          public static void setTokenCookie(KeycloakDeployment deployment,
                            HttpFacade facade,
                            RefreshableKeycloakSecurityContext session)

    - #### getPrincipalFromCookie

          public static KeycloakPrincipal<RefreshableKeycloakSecurityContext> getPrincipalFromCookie(KeycloakDeployment deployment,
                                                                                     HttpFacade facade,
                                                                                     AdapterTokenStore tokenStore)

    - #### removeCookie

          public static void removeCookie(HttpFacade facade)

Copyright © 2015. All rights reserved.