@criipto/verify-react
Version:
Verify SDK for React Single Page Applications
20 lines (19 loc) • 547 B
TypeScript
import { PKCE } from "@criipto/auth-js";
export interface Links {
cancelUrl: string;
completeUrl: string;
pollUrl: string;
launchLinks: {
customFileHandlerUrl: string;
universalLink: string;
};
}
export interface State {
pkce: PKCE | undefined;
redirectUri: string;
links: Links;
}
export declare function hydrateState(): State | undefined;
export declare const autoHydratedState: State | undefined;
export declare function clearState(): void;
export declare function saveState(input: State): void;