@sniipwebmaster/user-service-client-grpcweb 26.10.15256 → 26.10.15269
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -8252,6 +8252,67 @@ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.validatePa
|
|
|
8252
8252
|
};
|
|
8253
8253
|
|
|
8254
8254
|
|
|
8255
|
+
/**
|
|
8256
|
+
* @const
|
|
8257
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
8258
|
+
* !proto.sniipuserservice.CheckPasswordRequest,
|
|
8259
|
+
* !proto.sniipuserservice.ResponseCode>}
|
|
8260
|
+
*/
|
|
8261
|
+
const methodDescriptor_SniipUserServiceService_CheckPassword = new grpc.web.MethodDescriptor(
|
|
8262
|
+
'/sniipuserservice.SniipUserServiceService/CheckPassword',
|
|
8263
|
+
grpc.web.MethodType.UNARY,
|
|
8264
|
+
proto.sniipuserservice.CheckPasswordRequest,
|
|
8265
|
+
proto.sniipuserservice.ResponseCode,
|
|
8266
|
+
/**
|
|
8267
|
+
* @param {!proto.sniipuserservice.CheckPasswordRequest} request
|
|
8268
|
+
* @return {!Uint8Array}
|
|
8269
|
+
*/
|
|
8270
|
+
function(request) {
|
|
8271
|
+
return request.serializeBinary();
|
|
8272
|
+
},
|
|
8273
|
+
proto.sniipuserservice.ResponseCode.deserializeBinary
|
|
8274
|
+
);
|
|
8275
|
+
|
|
8276
|
+
|
|
8277
|
+
/**
|
|
8278
|
+
* @param {!proto.sniipuserservice.CheckPasswordRequest} request The
|
|
8279
|
+
* request proto
|
|
8280
|
+
* @param {?Object<string, string>} metadata User defined
|
|
8281
|
+
* call metadata
|
|
8282
|
+
* @param {function(?grpc.web.RpcError, ?proto.sniipuserservice.ResponseCode)}
|
|
8283
|
+
* callback The callback function(error, response)
|
|
8284
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.ResponseCode>|undefined}
|
|
8285
|
+
* The XHR Node Readable Stream
|
|
8286
|
+
*/
|
|
8287
|
+
proto.sniipuserservice.SniipUserServiceServiceClient.prototype.checkPassword =
|
|
8288
|
+
function(request, metadata, callback) {
|
|
8289
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
8290
|
+
'/sniipuserservice.SniipUserServiceService/CheckPassword',
|
|
8291
|
+
request,
|
|
8292
|
+
metadata || {},
|
|
8293
|
+
methodDescriptor_SniipUserServiceService_CheckPassword,
|
|
8294
|
+
callback);
|
|
8295
|
+
};
|
|
8296
|
+
|
|
8297
|
+
|
|
8298
|
+
/**
|
|
8299
|
+
* @param {!proto.sniipuserservice.CheckPasswordRequest} request The
|
|
8300
|
+
* request proto
|
|
8301
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
8302
|
+
* call metadata
|
|
8303
|
+
* @return {!Promise<!proto.sniipuserservice.ResponseCode>}
|
|
8304
|
+
* Promise that resolves to the response
|
|
8305
|
+
*/
|
|
8306
|
+
proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.checkPassword =
|
|
8307
|
+
function(request, metadata) {
|
|
8308
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
8309
|
+
'/sniipuserservice.SniipUserServiceService/CheckPassword',
|
|
8310
|
+
request,
|
|
8311
|
+
metadata || {},
|
|
8312
|
+
methodDescriptor_SniipUserServiceService_CheckPassword);
|
|
8313
|
+
};
|
|
8314
|
+
|
|
8315
|
+
|
|
8255
8316
|
/**
|
|
8256
8317
|
* @const
|
|
8257
8318
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -39,6 +39,7 @@ goog.exportSymbol('proto.sniipuserservice.ChangePinRequest', null, global);
|
|
|
39
39
|
goog.exportSymbol('proto.sniipuserservice.CheckEmailVerifiedRequest', null, global);
|
|
40
40
|
goog.exportSymbol('proto.sniipuserservice.CheckIfAccountUsedRequest', null, global);
|
|
41
41
|
goog.exportSymbol('proto.sniipuserservice.CheckIfAccountUsedResponse', null, global);
|
|
42
|
+
goog.exportSymbol('proto.sniipuserservice.CheckPasswordRequest', null, global);
|
|
42
43
|
goog.exportSymbol('proto.sniipuserservice.CodeResponse', null, global);
|
|
43
44
|
goog.exportSymbol('proto.sniipuserservice.CompleteBinRevealRequest', null, global);
|
|
44
45
|
goog.exportSymbol('proto.sniipuserservice.CreateAccountEmailRequest', null, global);
|
|
@@ -4353,6 +4354,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
4353
4354
|
*/
|
|
4354
4355
|
proto.sniipuserservice.ValidatePasswordRequest.displayName = 'proto.sniipuserservice.ValidatePasswordRequest';
|
|
4355
4356
|
}
|
|
4357
|
+
/**
|
|
4358
|
+
* Generated by JsPbCodeGenerator.
|
|
4359
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4360
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4361
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4362
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4363
|
+
* valid.
|
|
4364
|
+
* @extends {jspb.Message}
|
|
4365
|
+
* @constructor
|
|
4366
|
+
*/
|
|
4367
|
+
proto.sniipuserservice.CheckPasswordRequest = function(opt_data) {
|
|
4368
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4369
|
+
};
|
|
4370
|
+
goog.inherits(proto.sniipuserservice.CheckPasswordRequest, jspb.Message);
|
|
4371
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4372
|
+
/**
|
|
4373
|
+
* @public
|
|
4374
|
+
* @override
|
|
4375
|
+
*/
|
|
4376
|
+
proto.sniipuserservice.CheckPasswordRequest.displayName = 'proto.sniipuserservice.CheckPasswordRequest';
|
|
4377
|
+
}
|
|
4356
4378
|
/**
|
|
4357
4379
|
* Generated by JsPbCodeGenerator.
|
|
4358
4380
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -49305,6 +49327,136 @@ proto.sniipuserservice.ValidatePasswordRequest.prototype.setPassword = function(
|
|
|
49305
49327
|
|
|
49306
49328
|
|
|
49307
49329
|
|
|
49330
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
49331
|
+
/**
|
|
49332
|
+
* Creates an object representation of this proto.
|
|
49333
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
49334
|
+
* Optional fields that are not set will be set to undefined.
|
|
49335
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
49336
|
+
* For the list of reserved names please see:
|
|
49337
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
49338
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
49339
|
+
* JSPB instance for transitional soy proto support:
|
|
49340
|
+
* http://goto/soy-param-migration
|
|
49341
|
+
* @return {!Object}
|
|
49342
|
+
*/
|
|
49343
|
+
proto.sniipuserservice.CheckPasswordRequest.prototype.toObject = function(opt_includeInstance) {
|
|
49344
|
+
return proto.sniipuserservice.CheckPasswordRequest.toObject(opt_includeInstance, this);
|
|
49345
|
+
};
|
|
49346
|
+
|
|
49347
|
+
|
|
49348
|
+
/**
|
|
49349
|
+
* Static version of the {@see toObject} method.
|
|
49350
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
49351
|
+
* the JSPB instance for transitional soy proto support:
|
|
49352
|
+
* http://goto/soy-param-migration
|
|
49353
|
+
* @param {!proto.sniipuserservice.CheckPasswordRequest} msg The msg instance to transform.
|
|
49354
|
+
* @return {!Object}
|
|
49355
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
49356
|
+
*/
|
|
49357
|
+
proto.sniipuserservice.CheckPasswordRequest.toObject = function(includeInstance, msg) {
|
|
49358
|
+
var f, obj = {
|
|
49359
|
+
password: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
49360
|
+
};
|
|
49361
|
+
|
|
49362
|
+
if (includeInstance) {
|
|
49363
|
+
obj.$jspbMessageInstance = msg;
|
|
49364
|
+
}
|
|
49365
|
+
return obj;
|
|
49366
|
+
};
|
|
49367
|
+
}
|
|
49368
|
+
|
|
49369
|
+
|
|
49370
|
+
/**
|
|
49371
|
+
* Deserializes binary data (in protobuf wire format).
|
|
49372
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
49373
|
+
* @return {!proto.sniipuserservice.CheckPasswordRequest}
|
|
49374
|
+
*/
|
|
49375
|
+
proto.sniipuserservice.CheckPasswordRequest.deserializeBinary = function(bytes) {
|
|
49376
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
49377
|
+
var msg = new proto.sniipuserservice.CheckPasswordRequest;
|
|
49378
|
+
return proto.sniipuserservice.CheckPasswordRequest.deserializeBinaryFromReader(msg, reader);
|
|
49379
|
+
};
|
|
49380
|
+
|
|
49381
|
+
|
|
49382
|
+
/**
|
|
49383
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
49384
|
+
* given reader into the given message object.
|
|
49385
|
+
* @param {!proto.sniipuserservice.CheckPasswordRequest} msg The message object to deserialize into.
|
|
49386
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
49387
|
+
* @return {!proto.sniipuserservice.CheckPasswordRequest}
|
|
49388
|
+
*/
|
|
49389
|
+
proto.sniipuserservice.CheckPasswordRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
49390
|
+
while (reader.nextField()) {
|
|
49391
|
+
if (reader.isEndGroup()) {
|
|
49392
|
+
break;
|
|
49393
|
+
}
|
|
49394
|
+
var field = reader.getFieldNumber();
|
|
49395
|
+
switch (field) {
|
|
49396
|
+
case 1:
|
|
49397
|
+
var value = /** @type {string} */ (reader.readString());
|
|
49398
|
+
msg.setPassword(value);
|
|
49399
|
+
break;
|
|
49400
|
+
default:
|
|
49401
|
+
reader.skipField();
|
|
49402
|
+
break;
|
|
49403
|
+
}
|
|
49404
|
+
}
|
|
49405
|
+
return msg;
|
|
49406
|
+
};
|
|
49407
|
+
|
|
49408
|
+
|
|
49409
|
+
/**
|
|
49410
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
49411
|
+
* @return {!Uint8Array}
|
|
49412
|
+
*/
|
|
49413
|
+
proto.sniipuserservice.CheckPasswordRequest.prototype.serializeBinary = function() {
|
|
49414
|
+
var writer = new jspb.BinaryWriter();
|
|
49415
|
+
proto.sniipuserservice.CheckPasswordRequest.serializeBinaryToWriter(this, writer);
|
|
49416
|
+
return writer.getResultBuffer();
|
|
49417
|
+
};
|
|
49418
|
+
|
|
49419
|
+
|
|
49420
|
+
/**
|
|
49421
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
49422
|
+
* format), writing to the given BinaryWriter.
|
|
49423
|
+
* @param {!proto.sniipuserservice.CheckPasswordRequest} message
|
|
49424
|
+
* @param {!jspb.BinaryWriter} writer
|
|
49425
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
49426
|
+
*/
|
|
49427
|
+
proto.sniipuserservice.CheckPasswordRequest.serializeBinaryToWriter = function(message, writer) {
|
|
49428
|
+
var f = undefined;
|
|
49429
|
+
f = message.getPassword();
|
|
49430
|
+
if (f.length > 0) {
|
|
49431
|
+
writer.writeString(
|
|
49432
|
+
1,
|
|
49433
|
+
f
|
|
49434
|
+
);
|
|
49435
|
+
}
|
|
49436
|
+
};
|
|
49437
|
+
|
|
49438
|
+
|
|
49439
|
+
/**
|
|
49440
|
+
* optional string password = 1;
|
|
49441
|
+
* @return {string}
|
|
49442
|
+
*/
|
|
49443
|
+
proto.sniipuserservice.CheckPasswordRequest.prototype.getPassword = function() {
|
|
49444
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
49445
|
+
};
|
|
49446
|
+
|
|
49447
|
+
|
|
49448
|
+
/**
|
|
49449
|
+
* @param {string} value
|
|
49450
|
+
* @return {!proto.sniipuserservice.CheckPasswordRequest} returns this
|
|
49451
|
+
*/
|
|
49452
|
+
proto.sniipuserservice.CheckPasswordRequest.prototype.setPassword = function(value) {
|
|
49453
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
49454
|
+
};
|
|
49455
|
+
|
|
49456
|
+
|
|
49457
|
+
|
|
49458
|
+
|
|
49459
|
+
|
|
49308
49460
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
49309
49461
|
/**
|
|
49310
49462
|
* Creates an object representation of this proto.
|