UNPKG

@react-keycloak-fork/ssr

Version:

Fork of https://github.com/react-keycloak/react-keycloak.git with updated packages for Keycloak >=17. SSR bindings for Keycloak javascript adapter

12 lines (11 loc) 385 B
import type { AuthClientTokens } from '@react-keycloak-fork/core'; import type { TokenPersistor } from './types'; export declare class Cookies implements TokenPersistor { setTokens({ idToken, token }: AuthClientTokens): void; getTokens(): { idToken: string | undefined; refreshToken: string; token: string | undefined; }; resetTokens(): void; }