Init
Initializes the SIWE service.
init(
key: string,
domain: string,
baseUrl: string,
did: string,
qr: QrScanResult,
credentialId?: string
): Promise<void>;
Parameters:
key: The private key for signing.
domain: The scanned QR domain name.
baseUrl: The scanned QR base URL.
did: The decentralized identifier.
qr: The scanned QR.
credentialId (optional): The ID of the corresponding Credential.
Associated Types
QRScanResultTypesLast updated