fastcomments-sdk
Version:
FastComments API Client - A SDK for interacting with the FastComments API
23 lines • 645 B
TypeScript
import { SecureSSOUserData, SecureSSOPayload } from './types';
/**
* Handles secure SSO payload creation with HMAC-SHA256 verification
*/
export declare class SecureSSOPayloadBuilder {
private userDataJSONBase64;
private verificationHash;
private timestamp;
constructor(apiKey: string, userData: SecureSSOUserData);
/**
* Creates HMAC-SHA256 verification hash
*/
private createVerificationHash;
/**
* Gets the secure SSO payload
*/
getPayload(): SecureSSOPayload;
/**
* Gets the payload as a JSON string
*/
toJSON(): string;
}
//# sourceMappingURL=SecureSSOPayload.d.ts.map