Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@adempiere/grpc-api

Package Overview
Dependencies
Maintainers
5
Versions
405
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adempiere/grpc-api - npm Package Compare versions

Comparing version 4.9.8 to 4.9.9

2

package.json
{
"name": "@adempiere/grpc-api",
"version": "4.9.8",
"version": "4.9.9",
"description": "ADempiere Web write in Javascript for a node service",

@@ -5,0 +5,0 @@ "author": "Yamel Senih",

@@ -55,2 +55,35 @@ // GENERATED CODE -- DO NOT EDIT!

function serialize_security_ListServicesRequest(arg) {
if (!(arg instanceof proto_security_pb.ListServicesRequest)) {
throw new Error('Expected argument of type security.ListServicesRequest');
}
return Buffer.from(arg.serializeBinary());
}
function deserialize_security_ListServicesRequest(buffer_arg) {
return proto_security_pb.ListServicesRequest.deserializeBinary(new Uint8Array(buffer_arg));
}
function serialize_security_ListServicesResponse(arg) {
if (!(arg instanceof proto_security_pb.ListServicesResponse)) {
throw new Error('Expected argument of type security.ListServicesResponse');
}
return Buffer.from(arg.serializeBinary());
}
function deserialize_security_ListServicesResponse(buffer_arg) {
return proto_security_pb.ListServicesResponse.deserializeBinary(new Uint8Array(buffer_arg));
}
function serialize_security_LoginOpenIDRequest(arg) {
if (!(arg instanceof proto_security_pb.LoginOpenIDRequest)) {
throw new Error('Expected argument of type security.LoginOpenIDRequest');
}
return Buffer.from(arg.serializeBinary());
}
function deserialize_security_LoginOpenIDRequest(buffer_arg) {
return proto_security_pb.LoginOpenIDRequest.deserializeBinary(new Uint8Array(buffer_arg));
}
function serialize_security_LoginRequest(arg) {

@@ -264,4 +297,28 @@ if (!(arg instanceof proto_security_pb.LoginRequest)) {

},
// List Available Services
listServices: {
path: '/security.Security/ListServices',
requestStream: false,
responseStream: false,
requestType: proto_security_pb.ListServicesRequest,
responseType: proto_security_pb.ListServicesResponse,
requestSerialize: serialize_security_ListServicesRequest,
requestDeserialize: deserialize_security_ListServicesRequest,
responseSerialize: serialize_security_ListServicesResponse,
responseDeserialize: deserialize_security_ListServicesResponse,
},
// Request login from Open ID
runLoginOpenID: {
path: '/security.Security/RunLoginOpenID',
requestStream: false,
responseStream: false,
requestType: proto_security_pb.LoginOpenIDRequest,
responseType: proto_security_pb.Session,
requestSerialize: serialize_security_LoginOpenIDRequest,
requestDeserialize: deserialize_security_LoginOpenIDRequest,
responseSerialize: serialize_security_Session,
responseDeserialize: deserialize_security_Session,
},
};
exports.SecurityClient = grpc.makeGenericClientConstructor(SecurityService);
/*************************************************************************************
* Product: ADempiere gRPC Security Client *
* Copyright (C) 2012-2023 E.R.P. Consultores y Asociados, C.A. *
* Copyright (C) 2018-2023 E.R.P. Consultores y Asociados, C.A. *
* Contributor(s): Edwin Betancourt EdwinBetanc0urt@outlook.com *

@@ -242,4 +242,52 @@ * This program is free software: you can redistribute it and/or modify *

/**
* List Services OpenID
*/
listServices({
}, callback) {
const { ListServicesRequest } = this.stubFile;
const request = new ListServicesRequest();
// const metadata = getMetadata({
// token
// });
this.getSecurityService().listServices(
request,
// metadata,
callback
);
}
/**
* Login with OpenID
* @param {String} token
*/
runLoginOpenID({
codeParameter,
stateParameter,
language,
clientVersion
}, callback) {
const { LoginOpenIDRequest } = this.stubFile;
const request = new LoginOpenIDRequest();
request.setCodeParameter(codeParameter);
request.setStateParameter(stateParameter);
request.setLanguage(language);
request.setClientVersion(clientVersion);
// const metadata = getMetadata({
// token
// });
this.getSecurityService().runLoginOpenID(
request,
// metadata,
callback
);
}
}
module.exports = Security;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc