import * as grpcWeb from 'grpc-web'; import * as authentication_pb from './authentication_pb'; // proto import: "authentication.proto" export class AuthenticationServiceClient { constructor (hostname: string, credentials?: null | { [index: string]: string; }, options?: null | { [index: string]: any; }); validateToken( request: authentication_pb.ValidateTokenRqst, metadata: grpcWeb.Metadata | undefined, callback: (err: grpcWeb.RpcError, response: authentication_pb.ValidateTokenRsp) => void ): grpcWeb.ClientReadableStream; refreshToken( request: authentication_pb.RefreshTokenRqst, metadata: grpcWeb.Metadata | undefined, callback: (err: grpcWeb.RpcError, response: authentication_pb.RefreshTokenRsp) => void ): grpcWeb.ClientReadableStream; generatePeerToken( request: authentication_pb.GeneratePeerTokenRequest, metadata: grpcWeb.Metadata | undefined, callback: (err: grpcWeb.RpcError, response: authentication_pb.GeneratePeerTokenResponse) => void ): grpcWeb.ClientReadableStream; setPassword( request: authentication_pb.SetPasswordRequest, metadata: grpcWeb.Metadata | undefined, callback: (err: grpcWeb.RpcError, response: authentication_pb.SetPasswordResponse) => void ): grpcWeb.ClientReadableStream; setRootPassword( request: authentication_pb.SetRootPasswordRequest, metadata: grpcWeb.Metadata | undefined, callback: (err: grpcWeb.RpcError, response: authentication_pb.SetRootPasswordResponse) => void ): grpcWeb.ClientReadableStream; setRootEmail( request: authentication_pb.SetRootEmailRequest, metadata: grpcWeb.Metadata | undefined, callback: (err: grpcWeb.RpcError, response: authentication_pb.SetRootEmailResponse) => void ): grpcWeb.ClientReadableStream; authenticate( request: authentication_pb.AuthenticateRqst, metadata: grpcWeb.Metadata | undefined, callback: (err: grpcWeb.RpcError, response: authentication_pb.AuthenticateRsp) => void ): grpcWeb.ClientReadableStream; } export class AuthenticationServicePromiseClient { constructor (hostname: string, credentials?: null | { [index: string]: string; }, options?: null | { [index: string]: any; }); validateToken( request: authentication_pb.ValidateTokenRqst, metadata?: grpcWeb.Metadata ): Promise; refreshToken( request: authentication_pb.RefreshTokenRqst, metadata?: grpcWeb.Metadata ): Promise; generatePeerToken( request: authentication_pb.GeneratePeerTokenRequest, metadata?: grpcWeb.Metadata ): Promise; setPassword( request: authentication_pb.SetPasswordRequest, metadata?: grpcWeb.Metadata ): Promise; setRootPassword( request: authentication_pb.SetRootPasswordRequest, metadata?: grpcWeb.Metadata ): Promise; setRootEmail( request: authentication_pb.SetRootEmailRequest, metadata?: grpcWeb.Metadata ): Promise; authenticate( request: authentication_pb.AuthenticateRqst, metadata?: grpcWeb.Metadata ): Promise; }