@finsel-dgi/pasby-react
Version:
This is a javascript library for implementing authentication and authorization in react apps with pasby,
10 lines (9 loc) • 357 B
TypeScript
import { pingResponse } from "../types";
import React from "react";
export declare function PollEIDComponent({ lock, identifier, onSuccessful, onCancelled, pathToPollSever }: {
identifier: string;
lock: boolean;
pathToPollSever: string;
onSuccessful: (res: pingResponse) => Promise<void>;
onCancelled: () => void;
}): React.JSX.Element;