UNPKG

@ssplib/react-components

Version:
20 lines (19 loc) 569 B
import React from 'react'; interface OiDcConfig { client_id: string; scope: string; redirect_uri: string; authority: string; } export declare const cookieName = "nextauth.token"; export declare function OAuthProvider({ children, AUTH_URL, oidcConfig, redirectURL, validateTokenRoute, testToken, testIP, logoutURL, }: { children: React.ReactNode; AUTH_URL: string; oidcConfig: OiDcConfig; redirectURL: string; validateTokenRoute: string; testToken: string; testIP?: string; logoutURL?: string; }): JSX.Element; export {};