vec-idp-web-sdk
Version:
VECU Identity Verification Web SDK - A secure, easy-to-integrate identity verification solution
16 lines • 731 B
TypeScript
import type { ISecretKeyRequest, ISecretKeyResponse, IServerActionConfig, IServerActionResult, IServerActionOptions } from '@/types/server-actions';
export declare class ServerActionService {
private apiClient;
private logger;
private endpoints;
constructor(config: IServerActionConfig);
setSessionToken(token: string): void;
getSecretKey(request: ISecretKeyRequest): Promise<IServerActionResult<ISecretKeyResponse>>;
executeAction<T = unknown>(options: IServerActionOptions): Promise<IServerActionResult<T>>;
validateKey(keyId: string): Promise<IServerActionResult<{
valid: boolean;
message?: string;
}>>;
destroy(): void;
}
//# sourceMappingURL=ServerActionService.d.ts.map