UNPKG

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.

47 lines 5.71 kB
/** * @fileoverview gRPC-Web generated client stub for web3auth * @enhanceable * @public */ import * as grpcWeb from 'grpc-web'; import * as web3auth_service_pb from './service_pb'; export declare class Web3AuthServiceClient { client_: grpcWeb.AbstractClientBase; hostname_: string; credentials_: null | { [index: string]: string; }; options_: null | { [index: string]: any; }; constructor(hostname: string, credentials?: null | { [index: string]: string; }, options?: null | { [index: string]: any; }); methodDescriptorGetChallenge: grpcWeb.MethodDescriptor<web3auth_service_pb.GetChallengeRequest, web3auth_service_pb.GetChallengeResponse>; getChallenge(request: web3auth_service_pb.GetChallengeRequest, metadata?: grpcWeb.Metadata | null): Promise<web3auth_service_pb.GetChallengeResponse>; getChallenge(request: web3auth_service_pb.GetChallengeRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.RpcError, response: web3auth_service_pb.GetChallengeResponse) => void): grpcWeb.ClientReadableStream<web3auth_service_pb.GetChallengeResponse>; methodDescriptorAuthWithSignature: grpcWeb.MethodDescriptor<web3auth_service_pb.AuthWithSignatureRequest, web3auth_service_pb.AuthWithSignatureResponse>; authWithSignature(request: web3auth_service_pb.AuthWithSignatureRequest, metadata?: grpcWeb.Metadata | null): Promise<web3auth_service_pb.AuthWithSignatureResponse>; authWithSignature(request: web3auth_service_pb.AuthWithSignatureRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.RpcError, response: web3auth_service_pb.AuthWithSignatureResponse) => void): grpcWeb.ClientReadableStream<web3auth_service_pb.AuthWithSignatureResponse>; methodDescriptorAuthWithProof: grpcWeb.MethodDescriptor<web3auth_service_pb.AuthWithProofRequest, web3auth_service_pb.AuthWithProofResponse>; authWithProof(request: web3auth_service_pb.AuthWithProofRequest, metadata?: grpcWeb.Metadata | null): Promise<web3auth_service_pb.AuthWithProofResponse>; authWithProof(request: web3auth_service_pb.AuthWithProofRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.RpcError, response: web3auth_service_pb.AuthWithProofResponse) => void): grpcWeb.ClientReadableStream<web3auth_service_pb.AuthWithProofResponse>; methodDescriptorLinkWalletToWeb2Account: grpcWeb.MethodDescriptor<web3auth_service_pb.LinkWalletToWeb2AccountRequest, web3auth_service_pb.LinkWalletToWeb2AccountResponse>; linkWalletToWeb2Account(request: web3auth_service_pb.LinkWalletToWeb2AccountRequest, metadata?: grpcWeb.Metadata | null): Promise<web3auth_service_pb.LinkWalletToWeb2AccountResponse>; linkWalletToWeb2Account(request: web3auth_service_pb.LinkWalletToWeb2AccountRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.RpcError, response: web3auth_service_pb.LinkWalletToWeb2AccountResponse) => void): grpcWeb.ClientReadableStream<web3auth_service_pb.LinkWalletToWeb2AccountResponse>; methodDescriptorCheckWalletLinkingStatus: grpcWeb.MethodDescriptor<web3auth_service_pb.CheckWalletLinkingStatusRequest, web3auth_service_pb.CheckWalletLinkingStatusResponse>; checkWalletLinkingStatus(request: web3auth_service_pb.CheckWalletLinkingStatusRequest, metadata?: grpcWeb.Metadata | null): Promise<web3auth_service_pb.CheckWalletLinkingStatusResponse>; checkWalletLinkingStatus(request: web3auth_service_pb.CheckWalletLinkingStatusRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.RpcError, response: web3auth_service_pb.CheckWalletLinkingStatusResponse) => void): grpcWeb.ClientReadableStream<web3auth_service_pb.CheckWalletLinkingStatusResponse>; methodDescriptorCheckEmailLinkingStatus: grpcWeb.MethodDescriptor<web3auth_service_pb.CheckEmailLinkingStatusRequest, web3auth_service_pb.CheckEmailLinkingStatusResponse>; checkEmailLinkingStatus(request: web3auth_service_pb.CheckEmailLinkingStatusRequest, metadata?: grpcWeb.Metadata | null): Promise<web3auth_service_pb.CheckEmailLinkingStatusResponse>; checkEmailLinkingStatus(request: web3auth_service_pb.CheckEmailLinkingStatusRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.RpcError, response: web3auth_service_pb.CheckEmailLinkingStatusResponse) => void): grpcWeb.ClientReadableStream<web3auth_service_pb.CheckEmailLinkingStatusResponse>; methodDescriptorLinkEmailToWeb3Account: grpcWeb.MethodDescriptor<web3auth_service_pb.LinkEmailToWeb3AccountRequest, web3auth_service_pb.LinkEmailToWeb3AccountResponse>; linkEmailToWeb3Account(request: web3auth_service_pb.LinkEmailToWeb3AccountRequest, metadata?: grpcWeb.Metadata | null): Promise<web3auth_service_pb.LinkEmailToWeb3AccountResponse>; linkEmailToWeb3Account(request: web3auth_service_pb.LinkEmailToWeb3AccountRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.RpcError, response: web3auth_service_pb.LinkEmailToWeb3AccountResponse) => void): grpcWeb.ClientReadableStream<web3auth_service_pb.LinkEmailToWeb3AccountResponse>; methodDescriptorGetAccountStatus: grpcWeb.MethodDescriptor<web3auth_service_pb.GetAccountStatusRequest, web3auth_service_pb.GetAccountStatusResponse>; getAccountStatus(request: web3auth_service_pb.GetAccountStatusRequest, metadata?: grpcWeb.Metadata | null): Promise<web3auth_service_pb.GetAccountStatusResponse>; getAccountStatus(request: web3auth_service_pb.GetAccountStatusRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.RpcError, response: web3auth_service_pb.GetAccountStatusResponse) => void): grpcWeb.ClientReadableStream<web3auth_service_pb.GetAccountStatusResponse>; } //# sourceMappingURL=ServiceServiceClientPb.d.ts.map