@ssplib/react-components
Version:
SSP React Components
19 lines (18 loc) • 554 B
TypeScript
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 {};