UNPKG

@ssplib/react-components

Version:
19 lines (18 loc) 554 B
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: JSX.Element | JSX.Element[]; AUTH_URL: string; oidcConfig: OiDcConfig; redirectURL: string; validateTokenRoute: string; testToken: string; testIP?: string; logoutURL?: string; }): JSX.Element; export {};