neo4j-client-sso
Version:
Single sign-on client (frontend) library for Neo4j products
20 lines (19 loc) • 1.07 kB
TypeScript
type LogLevel = 'log' | 'error' | 'warn';
type LogMessageHandler = (level: string, message: string) => void;
export declare const ssoLogger: (logging: {
logger: LogMessageHandler;
}) => {
logger: LogMessageHandler;
};
export declare const authLog: (msg: string, type?: LogLevel) => void;
export declare const downloadAuthLogs: () => void;
export declare const authDebug: (msg: string, content: unknown) => void;
export declare const createNonce: () => string;
export declare const createStateForRequest: () => string;
export declare const createCodeVerifier: (method: string) => string;
export declare const createCodeChallenge: (method: string, codeVerifier: string) => Promise<string>;
export declare const addSearchParamsInBrowserHistory: (paramsToAddObj: null | Record<string, string>) => void;
export declare const removeSearchParamsInBrowserHistory: (paramsToRemove: null | string[]) => void;
export declare const assembleRequestBody: (details: Record<string, string>) => string;
export declare const assembleRedirectUri: (idpId: string) => string;
export {};