@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
7 lines (6 loc) • 314 B
TypeScript
import type { AuthClient } from '@react-keycloak-fork/core';
import type { KeycloakInstance } from 'keycloak-js';
export interface SSRAuthClient extends Omit<KeycloakInstance, 'init' | 'updateToken'>, AuthClient {
/** A boolean indicating if the user is authenticated or not. */
authenticated?: boolean;
}