echofi-client
Version:
A comprehensive TypeScript/JavaScript client library for EchoFi services with automatic gRPC-Web code generation, unified service access, and real-time WebSocket communication.
62 lines (46 loc) • 1.64 kB
TypeScript
import * as jspb from 'google-protobuf'
export class WalletAuthProof extends jspb.Message {
getId(): string;
setId(value: string): WalletAuthProof;
getWalletAddress(): string;
setWalletAddress(value: string): WalletAuthProof;
getUserId(): string;
setUserId(value: string): WalletAuthProof;
getChallenge(): string;
setChallenge(value: string): WalletAuthProof;
getSignature(): string;
setSignature(value: string): WalletAuthProof;
getCreatedAt(): number;
setCreatedAt(value: number): WalletAuthProof;
getExpiresAt(): number;
setExpiresAt(value: number): WalletAuthProof;
getIsValid(): boolean;
setIsValid(value: boolean): WalletAuthProof;
getLastUsedAt(): number;
setLastUsedAt(value: number): WalletAuthProof;
hasLastUsedAt(): boolean;
clearLastUsedAt(): WalletAuthProof;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): WalletAuthProof.AsObject;
static toObject(includeInstance: boolean, msg: WalletAuthProof): WalletAuthProof.AsObject;
static serializeBinaryToWriter(message: WalletAuthProof, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): WalletAuthProof;
static deserializeBinaryFromReader(message: WalletAuthProof, reader: jspb.BinaryReader): WalletAuthProof;
}
export namespace WalletAuthProof {
export type AsObject = {
id: string,
walletAddress: string,
userId: string,
challenge: string,
signature: string,
createdAt: number,
expiresAt: number,
isValid: boolean,
lastUsedAt?: number,
}
export enum LastUsedAtCase {
_LAST_USED_AT_NOT_SET = 0,
LAST_USED_AT = 9,
}
}