Returns the last plugin error code captured during initialization
Optionalcallback: (status: { connected: number[]; disconnected: number[] }) => voidThe function is called when a token is connected or disconnected. An object with properties {connected, disconnected} is passed as arguments, which contains arrays with identifiers of disconnected and connected tokens
OptionalerrorCallback: (error: PCError | undefined) => voidThe function is called when an error occurs during connection status polling
Optionaloptions: { rutokenOnly?: boolean } = {}Whether PCSDK is properly initialized
Checking the activity of the Rutoken
The scenario of using only the Rutoken plugin is enabled
PCSDK SDK main class