@fonos/auth
Advanced tools
Comparing version 0.1.11-alpha.4 to 0.1.11-alpha.5
@@ -1,2 +0,2 @@ | ||
// package: fonos.auth.v1alpha1 | ||
// package: fonos.auth.v1beta1 | ||
// file: auth.proto | ||
@@ -18,3 +18,3 @@ | ||
interface IAuthService_IGetRole extends grpc.MethodDefinition<auth_pb.GetRoleRequest, auth_pb.Role> { | ||
path: "/fonos.auth.v1alpha1.Auth/GetRole"; | ||
path: "/fonos.auth.v1beta1.Auth/GetRole"; | ||
requestStream: false; | ||
@@ -28,3 +28,3 @@ responseStream: false; | ||
interface IAuthService_IValidateToken extends grpc.MethodDefinition<auth_pb.ValidateTokenRequest, auth_pb.ValidateTokenResponse> { | ||
path: "/fonos.auth.v1alpha1.Auth/ValidateToken"; | ||
path: "/fonos.auth.v1beta1.Auth/ValidateToken"; | ||
requestStream: false; | ||
@@ -38,3 +38,3 @@ responseStream: false; | ||
interface IAuthService_ICreateToken extends grpc.MethodDefinition<auth_pb.CreateTokenRequest, auth_pb.CreateTokenResponse> { | ||
path: "/fonos.auth.v1alpha1.Auth/CreateToken"; | ||
path: "/fonos.auth.v1beta1.Auth/CreateToken"; | ||
requestStream: false; | ||
@@ -48,3 +48,3 @@ responseStream: false; | ||
interface IAuthService_ICreateNoAccessToken extends grpc.MethodDefinition<auth_pb.CreateTokenRequest, auth_pb.CreateTokenResponse> { | ||
path: "/fonos.auth.v1alpha1.Auth/CreateNoAccessToken"; | ||
path: "/fonos.auth.v1beta1.Auth/CreateNoAccessToken"; | ||
requestStream: false; | ||
@@ -51,0 +51,0 @@ responseStream: false; |
@@ -14,5 +14,5 @@ // GENERATED CODE -- DO NOT EDIT! | ||
function serialize_fonos_auth_v1alpha1_CreateTokenRequest(arg) { | ||
function serialize_fonos_auth_v1beta1_CreateTokenRequest(arg) { | ||
if (!(arg instanceof auth_pb.CreateTokenRequest)) { | ||
throw new Error('Expected argument of type fonos.auth.v1alpha1.CreateTokenRequest'); | ||
throw new Error('Expected argument of type fonos.auth.v1beta1.CreateTokenRequest'); | ||
} | ||
@@ -22,9 +22,9 @@ return Buffer.from(arg.serializeBinary()); | ||
function deserialize_fonos_auth_v1alpha1_CreateTokenRequest(buffer_arg) { | ||
function deserialize_fonos_auth_v1beta1_CreateTokenRequest(buffer_arg) { | ||
return auth_pb.CreateTokenRequest.deserializeBinary(new Uint8Array(buffer_arg)); | ||
} | ||
function serialize_fonos_auth_v1alpha1_CreateTokenResponse(arg) { | ||
function serialize_fonos_auth_v1beta1_CreateTokenResponse(arg) { | ||
if (!(arg instanceof auth_pb.CreateTokenResponse)) { | ||
throw new Error('Expected argument of type fonos.auth.v1alpha1.CreateTokenResponse'); | ||
throw new Error('Expected argument of type fonos.auth.v1beta1.CreateTokenResponse'); | ||
} | ||
@@ -34,9 +34,9 @@ return Buffer.from(arg.serializeBinary()); | ||
function deserialize_fonos_auth_v1alpha1_CreateTokenResponse(buffer_arg) { | ||
function deserialize_fonos_auth_v1beta1_CreateTokenResponse(buffer_arg) { | ||
return auth_pb.CreateTokenResponse.deserializeBinary(new Uint8Array(buffer_arg)); | ||
} | ||
function serialize_fonos_auth_v1alpha1_GetRoleRequest(arg) { | ||
function serialize_fonos_auth_v1beta1_GetRoleRequest(arg) { | ||
if (!(arg instanceof auth_pb.GetRoleRequest)) { | ||
throw new Error('Expected argument of type fonos.auth.v1alpha1.GetRoleRequest'); | ||
throw new Error('Expected argument of type fonos.auth.v1beta1.GetRoleRequest'); | ||
} | ||
@@ -46,9 +46,9 @@ return Buffer.from(arg.serializeBinary()); | ||
function deserialize_fonos_auth_v1alpha1_GetRoleRequest(buffer_arg) { | ||
function deserialize_fonos_auth_v1beta1_GetRoleRequest(buffer_arg) { | ||
return auth_pb.GetRoleRequest.deserializeBinary(new Uint8Array(buffer_arg)); | ||
} | ||
function serialize_fonos_auth_v1alpha1_Role(arg) { | ||
function serialize_fonos_auth_v1beta1_Role(arg) { | ||
if (!(arg instanceof auth_pb.Role)) { | ||
throw new Error('Expected argument of type fonos.auth.v1alpha1.Role'); | ||
throw new Error('Expected argument of type fonos.auth.v1beta1.Role'); | ||
} | ||
@@ -58,9 +58,9 @@ return Buffer.from(arg.serializeBinary()); | ||
function deserialize_fonos_auth_v1alpha1_Role(buffer_arg) { | ||
function deserialize_fonos_auth_v1beta1_Role(buffer_arg) { | ||
return auth_pb.Role.deserializeBinary(new Uint8Array(buffer_arg)); | ||
} | ||
function serialize_fonos_auth_v1alpha1_ValidateTokenRequest(arg) { | ||
function serialize_fonos_auth_v1beta1_ValidateTokenRequest(arg) { | ||
if (!(arg instanceof auth_pb.ValidateTokenRequest)) { | ||
throw new Error('Expected argument of type fonos.auth.v1alpha1.ValidateTokenRequest'); | ||
throw new Error('Expected argument of type fonos.auth.v1beta1.ValidateTokenRequest'); | ||
} | ||
@@ -70,9 +70,9 @@ return Buffer.from(arg.serializeBinary()); | ||
function deserialize_fonos_auth_v1alpha1_ValidateTokenRequest(buffer_arg) { | ||
function deserialize_fonos_auth_v1beta1_ValidateTokenRequest(buffer_arg) { | ||
return auth_pb.ValidateTokenRequest.deserializeBinary(new Uint8Array(buffer_arg)); | ||
} | ||
function serialize_fonos_auth_v1alpha1_ValidateTokenResponse(arg) { | ||
function serialize_fonos_auth_v1beta1_ValidateTokenResponse(arg) { | ||
if (!(arg instanceof auth_pb.ValidateTokenResponse)) { | ||
throw new Error('Expected argument of type fonos.auth.v1alpha1.ValidateTokenResponse'); | ||
throw new Error('Expected argument of type fonos.auth.v1beta1.ValidateTokenResponse'); | ||
} | ||
@@ -82,3 +82,3 @@ return Buffer.from(arg.serializeBinary()); | ||
function deserialize_fonos_auth_v1alpha1_ValidateTokenResponse(buffer_arg) { | ||
function deserialize_fonos_auth_v1beta1_ValidateTokenResponse(buffer_arg) { | ||
return auth_pb.ValidateTokenResponse.deserializeBinary(new Uint8Array(buffer_arg)); | ||
@@ -91,3 +91,3 @@ } | ||
getRole: { | ||
path: '/fonos.auth.v1alpha1.Auth/GetRole', | ||
path: '/fonos.auth.v1beta1.Auth/GetRole', | ||
requestStream: false, | ||
@@ -97,10 +97,10 @@ responseStream: false, | ||
responseType: auth_pb.Role, | ||
requestSerialize: serialize_fonos_auth_v1alpha1_GetRoleRequest, | ||
requestDeserialize: deserialize_fonos_auth_v1alpha1_GetRoleRequest, | ||
responseSerialize: serialize_fonos_auth_v1alpha1_Role, | ||
responseDeserialize: deserialize_fonos_auth_v1alpha1_Role, | ||
requestSerialize: serialize_fonos_auth_v1beta1_GetRoleRequest, | ||
requestDeserialize: deserialize_fonos_auth_v1beta1_GetRoleRequest, | ||
responseSerialize: serialize_fonos_auth_v1beta1_Role, | ||
responseDeserialize: deserialize_fonos_auth_v1beta1_Role, | ||
}, | ||
// Verifies if a token was issue by Fonos or the same private key | ||
validateToken: { | ||
path: '/fonos.auth.v1alpha1.Auth/ValidateToken', | ||
path: '/fonos.auth.v1beta1.Auth/ValidateToken', | ||
requestStream: false, | ||
@@ -110,10 +110,10 @@ responseStream: false, | ||
responseType: auth_pb.ValidateTokenResponse, | ||
requestSerialize: serialize_fonos_auth_v1alpha1_ValidateTokenRequest, | ||
requestDeserialize: deserialize_fonos_auth_v1alpha1_ValidateTokenRequest, | ||
responseSerialize: serialize_fonos_auth_v1alpha1_ValidateTokenResponse, | ||
responseDeserialize: deserialize_fonos_auth_v1alpha1_ValidateTokenResponse, | ||
requestSerialize: serialize_fonos_auth_v1beta1_ValidateTokenRequest, | ||
requestDeserialize: deserialize_fonos_auth_v1beta1_ValidateTokenRequest, | ||
responseSerialize: serialize_fonos_auth_v1beta1_ValidateTokenResponse, | ||
responseDeserialize: deserialize_fonos_auth_v1beta1_ValidateTokenResponse, | ||
}, | ||
// Creates a new token for a given accessKeyId | ||
createToken: { | ||
path: '/fonos.auth.v1alpha1.Auth/CreateToken', | ||
path: '/fonos.auth.v1beta1.Auth/CreateToken', | ||
requestStream: false, | ||
@@ -123,10 +123,10 @@ responseStream: false, | ||
responseType: auth_pb.CreateTokenResponse, | ||
requestSerialize: serialize_fonos_auth_v1alpha1_CreateTokenRequest, | ||
requestDeserialize: deserialize_fonos_auth_v1alpha1_CreateTokenRequest, | ||
responseSerialize: serialize_fonos_auth_v1alpha1_CreateTokenResponse, | ||
responseDeserialize: deserialize_fonos_auth_v1alpha1_CreateTokenResponse, | ||
requestSerialize: serialize_fonos_auth_v1beta1_CreateTokenRequest, | ||
requestDeserialize: deserialize_fonos_auth_v1beta1_CreateTokenRequest, | ||
responseSerialize: serialize_fonos_auth_v1beta1_CreateTokenResponse, | ||
responseDeserialize: deserialize_fonos_auth_v1beta1_CreateTokenResponse, | ||
}, | ||
// Creates a special token that has no access but serves a signature | ||
createNoAccessToken: { | ||
path: '/fonos.auth.v1alpha1.Auth/CreateNoAccessToken', | ||
path: '/fonos.auth.v1beta1.Auth/CreateNoAccessToken', | ||
requestStream: false, | ||
@@ -136,6 +136,6 @@ responseStream: false, | ||
responseType: auth_pb.CreateTokenResponse, | ||
requestSerialize: serialize_fonos_auth_v1alpha1_CreateTokenRequest, | ||
requestDeserialize: deserialize_fonos_auth_v1alpha1_CreateTokenRequest, | ||
responseSerialize: serialize_fonos_auth_v1alpha1_CreateTokenResponse, | ||
responseDeserialize: deserialize_fonos_auth_v1alpha1_CreateTokenResponse, | ||
requestSerialize: serialize_fonos_auth_v1beta1_CreateTokenRequest, | ||
requestDeserialize: deserialize_fonos_auth_v1beta1_CreateTokenRequest, | ||
responseSerialize: serialize_fonos_auth_v1beta1_CreateTokenResponse, | ||
responseDeserialize: deserialize_fonos_auth_v1beta1_CreateTokenResponse, | ||
}, | ||
@@ -142,0 +142,0 @@ }; |
@@ -1,2 +0,2 @@ | ||
// package: fonos.auth.v1alpha1 | ||
// package: fonos.auth.v1beta1 | ||
// file: auth.proto | ||
@@ -3,0 +3,0 @@ |
@@ -5,2 +5,3 @@ // source: auth.proto | ||
* @enhanceable | ||
* @suppress {missingRequire} reports error on implicit type usages. | ||
* @suppress {messageConventions} JS Compiler reports an error if a variable or | ||
@@ -11,2 +12,4 @@ * field starts with 'MSG_' and isn't a translatable message. | ||
// GENERATED CODE -- DO NOT EDIT! | ||
/* eslint-disable */ | ||
// @ts-nocheck | ||
@@ -17,8 +20,8 @@ var jspb = require('google-protobuf'); | ||
goog.exportSymbol('proto.fonos.auth.v1alpha1.CreateTokenRequest', null, global); | ||
goog.exportSymbol('proto.fonos.auth.v1alpha1.CreateTokenResponse', null, global); | ||
goog.exportSymbol('proto.fonos.auth.v1alpha1.GetRoleRequest', null, global); | ||
goog.exportSymbol('proto.fonos.auth.v1alpha1.Role', null, global); | ||
goog.exportSymbol('proto.fonos.auth.v1alpha1.ValidateTokenRequest', null, global); | ||
goog.exportSymbol('proto.fonos.auth.v1alpha1.ValidateTokenResponse', null, global); | ||
goog.exportSymbol('proto.fonos.auth.v1beta1.CreateTokenRequest', null, global); | ||
goog.exportSymbol('proto.fonos.auth.v1beta1.CreateTokenResponse', null, global); | ||
goog.exportSymbol('proto.fonos.auth.v1beta1.GetRoleRequest', null, global); | ||
goog.exportSymbol('proto.fonos.auth.v1beta1.Role', null, global); | ||
goog.exportSymbol('proto.fonos.auth.v1beta1.ValidateTokenRequest', null, global); | ||
goog.exportSymbol('proto.fonos.auth.v1beta1.ValidateTokenResponse', null, global); | ||
/** | ||
@@ -34,6 +37,6 @@ * Generated by JsPbCodeGenerator. | ||
*/ | ||
proto.fonos.auth.v1alpha1.GetRoleRequest = function(opt_data) { | ||
proto.fonos.auth.v1beta1.GetRoleRequest = function(opt_data) { | ||
jspb.Message.initialize(this, opt_data, 0, -1, null, null); | ||
}; | ||
goog.inherits(proto.fonos.auth.v1alpha1.GetRoleRequest, jspb.Message); | ||
goog.inherits(proto.fonos.auth.v1beta1.GetRoleRequest, jspb.Message); | ||
if (goog.DEBUG && !COMPILED) { | ||
@@ -44,3 +47,3 @@ /** | ||
*/ | ||
proto.fonos.auth.v1alpha1.GetRoleRequest.displayName = 'proto.fonos.auth.v1alpha1.GetRoleRequest'; | ||
proto.fonos.auth.v1beta1.GetRoleRequest.displayName = 'proto.fonos.auth.v1beta1.GetRoleRequest'; | ||
} | ||
@@ -57,6 +60,6 @@ /** | ||
*/ | ||
proto.fonos.auth.v1alpha1.Role = function(opt_data) { | ||
jspb.Message.initialize(this, opt_data, 0, -1, proto.fonos.auth.v1alpha1.Role.repeatedFields_, null); | ||
proto.fonos.auth.v1beta1.Role = function(opt_data) { | ||
jspb.Message.initialize(this, opt_data, 0, -1, proto.fonos.auth.v1beta1.Role.repeatedFields_, null); | ||
}; | ||
goog.inherits(proto.fonos.auth.v1alpha1.Role, jspb.Message); | ||
goog.inherits(proto.fonos.auth.v1beta1.Role, jspb.Message); | ||
if (goog.DEBUG && !COMPILED) { | ||
@@ -67,3 +70,3 @@ /** | ||
*/ | ||
proto.fonos.auth.v1alpha1.Role.displayName = 'proto.fonos.auth.v1alpha1.Role'; | ||
proto.fonos.auth.v1beta1.Role.displayName = 'proto.fonos.auth.v1beta1.Role'; | ||
} | ||
@@ -80,6 +83,6 @@ /** | ||
*/ | ||
proto.fonos.auth.v1alpha1.ValidateTokenRequest = function(opt_data) { | ||
proto.fonos.auth.v1beta1.ValidateTokenRequest = function(opt_data) { | ||
jspb.Message.initialize(this, opt_data, 0, -1, null, null); | ||
}; | ||
goog.inherits(proto.fonos.auth.v1alpha1.ValidateTokenRequest, jspb.Message); | ||
goog.inherits(proto.fonos.auth.v1beta1.ValidateTokenRequest, jspb.Message); | ||
if (goog.DEBUG && !COMPILED) { | ||
@@ -90,3 +93,3 @@ /** | ||
*/ | ||
proto.fonos.auth.v1alpha1.ValidateTokenRequest.displayName = 'proto.fonos.auth.v1alpha1.ValidateTokenRequest'; | ||
proto.fonos.auth.v1beta1.ValidateTokenRequest.displayName = 'proto.fonos.auth.v1beta1.ValidateTokenRequest'; | ||
} | ||
@@ -103,6 +106,6 @@ /** | ||
*/ | ||
proto.fonos.auth.v1alpha1.ValidateTokenResponse = function(opt_data) { | ||
proto.fonos.auth.v1beta1.ValidateTokenResponse = function(opt_data) { | ||
jspb.Message.initialize(this, opt_data, 0, -1, null, null); | ||
}; | ||
goog.inherits(proto.fonos.auth.v1alpha1.ValidateTokenResponse, jspb.Message); | ||
goog.inherits(proto.fonos.auth.v1beta1.ValidateTokenResponse, jspb.Message); | ||
if (goog.DEBUG && !COMPILED) { | ||
@@ -113,3 +116,3 @@ /** | ||
*/ | ||
proto.fonos.auth.v1alpha1.ValidateTokenResponse.displayName = 'proto.fonos.auth.v1alpha1.ValidateTokenResponse'; | ||
proto.fonos.auth.v1beta1.ValidateTokenResponse.displayName = 'proto.fonos.auth.v1beta1.ValidateTokenResponse'; | ||
} | ||
@@ -126,6 +129,6 @@ /** | ||
*/ | ||
proto.fonos.auth.v1alpha1.CreateTokenRequest = function(opt_data) { | ||
proto.fonos.auth.v1beta1.CreateTokenRequest = function(opt_data) { | ||
jspb.Message.initialize(this, opt_data, 0, -1, null, null); | ||
}; | ||
goog.inherits(proto.fonos.auth.v1alpha1.CreateTokenRequest, jspb.Message); | ||
goog.inherits(proto.fonos.auth.v1beta1.CreateTokenRequest, jspb.Message); | ||
if (goog.DEBUG && !COMPILED) { | ||
@@ -136,3 +139,3 @@ /** | ||
*/ | ||
proto.fonos.auth.v1alpha1.CreateTokenRequest.displayName = 'proto.fonos.auth.v1alpha1.CreateTokenRequest'; | ||
proto.fonos.auth.v1beta1.CreateTokenRequest.displayName = 'proto.fonos.auth.v1beta1.CreateTokenRequest'; | ||
} | ||
@@ -149,6 +152,6 @@ /** | ||
*/ | ||
proto.fonos.auth.v1alpha1.CreateTokenResponse = function(opt_data) { | ||
proto.fonos.auth.v1beta1.CreateTokenResponse = function(opt_data) { | ||
jspb.Message.initialize(this, opt_data, 0, -1, null, null); | ||
}; | ||
goog.inherits(proto.fonos.auth.v1alpha1.CreateTokenResponse, jspb.Message); | ||
goog.inherits(proto.fonos.auth.v1beta1.CreateTokenResponse, jspb.Message); | ||
if (goog.DEBUG && !COMPILED) { | ||
@@ -159,3 +162,3 @@ /** | ||
*/ | ||
proto.fonos.auth.v1alpha1.CreateTokenResponse.displayName = 'proto.fonos.auth.v1alpha1.CreateTokenResponse'; | ||
proto.fonos.auth.v1beta1.CreateTokenResponse.displayName = 'proto.fonos.auth.v1beta1.CreateTokenResponse'; | ||
} | ||
@@ -178,4 +181,4 @@ | ||
*/ | ||
proto.fonos.auth.v1alpha1.GetRoleRequest.prototype.toObject = function(opt_includeInstance) { | ||
return proto.fonos.auth.v1alpha1.GetRoleRequest.toObject(opt_includeInstance, this); | ||
proto.fonos.auth.v1beta1.GetRoleRequest.prototype.toObject = function(opt_includeInstance) { | ||
return proto.fonos.auth.v1beta1.GetRoleRequest.toObject(opt_includeInstance, this); | ||
}; | ||
@@ -189,7 +192,7 @@ | ||
* http://goto/soy-param-migration | ||
* @param {!proto.fonos.auth.v1alpha1.GetRoleRequest} msg The msg instance to transform. | ||
* @param {!proto.fonos.auth.v1beta1.GetRoleRequest} msg The msg instance to transform. | ||
* @return {!Object} | ||
* @suppress {unusedLocalVariables} f is only used for nested messages | ||
*/ | ||
proto.fonos.auth.v1alpha1.GetRoleRequest.toObject = function(includeInstance, msg) { | ||
proto.fonos.auth.v1beta1.GetRoleRequest.toObject = function(includeInstance, msg) { | ||
var f, obj = { | ||
@@ -210,8 +213,8 @@ name: jspb.Message.getFieldWithDefault(msg, 1, "") | ||
* @param {jspb.ByteSource} bytes The bytes to deserialize. | ||
* @return {!proto.fonos.auth.v1alpha1.GetRoleRequest} | ||
* @return {!proto.fonos.auth.v1beta1.GetRoleRequest} | ||
*/ | ||
proto.fonos.auth.v1alpha1.GetRoleRequest.deserializeBinary = function(bytes) { | ||
proto.fonos.auth.v1beta1.GetRoleRequest.deserializeBinary = function(bytes) { | ||
var reader = new jspb.BinaryReader(bytes); | ||
var msg = new proto.fonos.auth.v1alpha1.GetRoleRequest; | ||
return proto.fonos.auth.v1alpha1.GetRoleRequest.deserializeBinaryFromReader(msg, reader); | ||
var msg = new proto.fonos.auth.v1beta1.GetRoleRequest; | ||
return proto.fonos.auth.v1beta1.GetRoleRequest.deserializeBinaryFromReader(msg, reader); | ||
}; | ||
@@ -223,7 +226,7 @@ | ||
* given reader into the given message object. | ||
* @param {!proto.fonos.auth.v1alpha1.GetRoleRequest} msg The message object to deserialize into. | ||
* @param {!proto.fonos.auth.v1beta1.GetRoleRequest} msg The message object to deserialize into. | ||
* @param {!jspb.BinaryReader} reader The BinaryReader to use. | ||
* @return {!proto.fonos.auth.v1alpha1.GetRoleRequest} | ||
* @return {!proto.fonos.auth.v1beta1.GetRoleRequest} | ||
*/ | ||
proto.fonos.auth.v1alpha1.GetRoleRequest.deserializeBinaryFromReader = function(msg, reader) { | ||
proto.fonos.auth.v1beta1.GetRoleRequest.deserializeBinaryFromReader = function(msg, reader) { | ||
while (reader.nextField()) { | ||
@@ -252,5 +255,5 @@ if (reader.isEndGroup()) { | ||
*/ | ||
proto.fonos.auth.v1alpha1.GetRoleRequest.prototype.serializeBinary = function() { | ||
proto.fonos.auth.v1beta1.GetRoleRequest.prototype.serializeBinary = function() { | ||
var writer = new jspb.BinaryWriter(); | ||
proto.fonos.auth.v1alpha1.GetRoleRequest.serializeBinaryToWriter(this, writer); | ||
proto.fonos.auth.v1beta1.GetRoleRequest.serializeBinaryToWriter(this, writer); | ||
return writer.getResultBuffer(); | ||
@@ -263,7 +266,7 @@ }; | ||
* format), writing to the given BinaryWriter. | ||
* @param {!proto.fonos.auth.v1alpha1.GetRoleRequest} message | ||
* @param {!proto.fonos.auth.v1beta1.GetRoleRequest} message | ||
* @param {!jspb.BinaryWriter} writer | ||
* @suppress {unusedLocalVariables} f is only used for nested messages | ||
*/ | ||
proto.fonos.auth.v1alpha1.GetRoleRequest.serializeBinaryToWriter = function(message, writer) { | ||
proto.fonos.auth.v1beta1.GetRoleRequest.serializeBinaryToWriter = function(message, writer) { | ||
var f = undefined; | ||
@@ -284,3 +287,3 @@ f = message.getName(); | ||
*/ | ||
proto.fonos.auth.v1alpha1.GetRoleRequest.prototype.getName = function() { | ||
proto.fonos.auth.v1beta1.GetRoleRequest.prototype.getName = function() { | ||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); | ||
@@ -292,5 +295,5 @@ }; | ||
* @param {string} value | ||
* @return {!proto.fonos.auth.v1alpha1.GetRoleRequest} returns this | ||
* @return {!proto.fonos.auth.v1beta1.GetRoleRequest} returns this | ||
*/ | ||
proto.fonos.auth.v1alpha1.GetRoleRequest.prototype.setName = function(value) { | ||
proto.fonos.auth.v1beta1.GetRoleRequest.prototype.setName = function(value) { | ||
return jspb.Message.setProto3StringField(this, 1, value); | ||
@@ -306,3 +309,3 @@ }; | ||
*/ | ||
proto.fonos.auth.v1alpha1.Role.repeatedFields_ = [3]; | ||
proto.fonos.auth.v1beta1.Role.repeatedFields_ = [3]; | ||
@@ -324,4 +327,4 @@ | ||
*/ | ||
proto.fonos.auth.v1alpha1.Role.prototype.toObject = function(opt_includeInstance) { | ||
return proto.fonos.auth.v1alpha1.Role.toObject(opt_includeInstance, this); | ||
proto.fonos.auth.v1beta1.Role.prototype.toObject = function(opt_includeInstance) { | ||
return proto.fonos.auth.v1beta1.Role.toObject(opt_includeInstance, this); | ||
}; | ||
@@ -335,7 +338,7 @@ | ||
* http://goto/soy-param-migration | ||
* @param {!proto.fonos.auth.v1alpha1.Role} msg The msg instance to transform. | ||
* @param {!proto.fonos.auth.v1beta1.Role} msg The msg instance to transform. | ||
* @return {!Object} | ||
* @suppress {unusedLocalVariables} f is only used for nested messages | ||
*/ | ||
proto.fonos.auth.v1alpha1.Role.toObject = function(includeInstance, msg) { | ||
proto.fonos.auth.v1beta1.Role.toObject = function(includeInstance, msg) { | ||
var f, obj = { | ||
@@ -358,8 +361,8 @@ name: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
* @param {jspb.ByteSource} bytes The bytes to deserialize. | ||
* @return {!proto.fonos.auth.v1alpha1.Role} | ||
* @return {!proto.fonos.auth.v1beta1.Role} | ||
*/ | ||
proto.fonos.auth.v1alpha1.Role.deserializeBinary = function(bytes) { | ||
proto.fonos.auth.v1beta1.Role.deserializeBinary = function(bytes) { | ||
var reader = new jspb.BinaryReader(bytes); | ||
var msg = new proto.fonos.auth.v1alpha1.Role; | ||
return proto.fonos.auth.v1alpha1.Role.deserializeBinaryFromReader(msg, reader); | ||
var msg = new proto.fonos.auth.v1beta1.Role; | ||
return proto.fonos.auth.v1beta1.Role.deserializeBinaryFromReader(msg, reader); | ||
}; | ||
@@ -371,7 +374,7 @@ | ||
* given reader into the given message object. | ||
* @param {!proto.fonos.auth.v1alpha1.Role} msg The message object to deserialize into. | ||
* @param {!proto.fonos.auth.v1beta1.Role} msg The message object to deserialize into. | ||
* @param {!jspb.BinaryReader} reader The BinaryReader to use. | ||
* @return {!proto.fonos.auth.v1alpha1.Role} | ||
* @return {!proto.fonos.auth.v1beta1.Role} | ||
*/ | ||
proto.fonos.auth.v1alpha1.Role.deserializeBinaryFromReader = function(msg, reader) { | ||
proto.fonos.auth.v1beta1.Role.deserializeBinaryFromReader = function(msg, reader) { | ||
while (reader.nextField()) { | ||
@@ -408,5 +411,5 @@ if (reader.isEndGroup()) { | ||
*/ | ||
proto.fonos.auth.v1alpha1.Role.prototype.serializeBinary = function() { | ||
proto.fonos.auth.v1beta1.Role.prototype.serializeBinary = function() { | ||
var writer = new jspb.BinaryWriter(); | ||
proto.fonos.auth.v1alpha1.Role.serializeBinaryToWriter(this, writer); | ||
proto.fonos.auth.v1beta1.Role.serializeBinaryToWriter(this, writer); | ||
return writer.getResultBuffer(); | ||
@@ -419,7 +422,7 @@ }; | ||
* format), writing to the given BinaryWriter. | ||
* @param {!proto.fonos.auth.v1alpha1.Role} message | ||
* @param {!proto.fonos.auth.v1beta1.Role} message | ||
* @param {!jspb.BinaryWriter} writer | ||
* @suppress {unusedLocalVariables} f is only used for nested messages | ||
*/ | ||
proto.fonos.auth.v1alpha1.Role.serializeBinaryToWriter = function(message, writer) { | ||
proto.fonos.auth.v1beta1.Role.serializeBinaryToWriter = function(message, writer) { | ||
var f = undefined; | ||
@@ -454,3 +457,3 @@ f = message.getName(); | ||
*/ | ||
proto.fonos.auth.v1alpha1.Role.prototype.getName = function() { | ||
proto.fonos.auth.v1beta1.Role.prototype.getName = function() { | ||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); | ||
@@ -462,5 +465,5 @@ }; | ||
* @param {string} value | ||
* @return {!proto.fonos.auth.v1alpha1.Role} returns this | ||
* @return {!proto.fonos.auth.v1beta1.Role} returns this | ||
*/ | ||
proto.fonos.auth.v1alpha1.Role.prototype.setName = function(value) { | ||
proto.fonos.auth.v1beta1.Role.prototype.setName = function(value) { | ||
return jspb.Message.setProto3StringField(this, 1, value); | ||
@@ -474,3 +477,3 @@ }; | ||
*/ | ||
proto.fonos.auth.v1alpha1.Role.prototype.getDescription = function() { | ||
proto.fonos.auth.v1beta1.Role.prototype.getDescription = function() { | ||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); | ||
@@ -482,5 +485,5 @@ }; | ||
* @param {string} value | ||
* @return {!proto.fonos.auth.v1alpha1.Role} returns this | ||
* @return {!proto.fonos.auth.v1beta1.Role} returns this | ||
*/ | ||
proto.fonos.auth.v1alpha1.Role.prototype.setDescription = function(value) { | ||
proto.fonos.auth.v1beta1.Role.prototype.setDescription = function(value) { | ||
return jspb.Message.setProto3StringField(this, 2, value); | ||
@@ -494,3 +497,3 @@ }; | ||
*/ | ||
proto.fonos.auth.v1alpha1.Role.prototype.getAccessList = function() { | ||
proto.fonos.auth.v1beta1.Role.prototype.getAccessList = function() { | ||
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3)); | ||
@@ -502,5 +505,5 @@ }; | ||
* @param {!Array<string>} value | ||
* @return {!proto.fonos.auth.v1alpha1.Role} returns this | ||
* @return {!proto.fonos.auth.v1beta1.Role} returns this | ||
*/ | ||
proto.fonos.auth.v1alpha1.Role.prototype.setAccessList = function(value) { | ||
proto.fonos.auth.v1beta1.Role.prototype.setAccessList = function(value) { | ||
return jspb.Message.setField(this, 3, value || []); | ||
@@ -513,5 +516,5 @@ }; | ||
* @param {number=} opt_index | ||
* @return {!proto.fonos.auth.v1alpha1.Role} returns this | ||
* @return {!proto.fonos.auth.v1beta1.Role} returns this | ||
*/ | ||
proto.fonos.auth.v1alpha1.Role.prototype.addAccess = function(value, opt_index) { | ||
proto.fonos.auth.v1beta1.Role.prototype.addAccess = function(value, opt_index) { | ||
return jspb.Message.addToRepeatedField(this, 3, value, opt_index); | ||
@@ -523,5 +526,5 @@ }; | ||
* Clears the list making it empty but non-null. | ||
* @return {!proto.fonos.auth.v1alpha1.Role} returns this | ||
* @return {!proto.fonos.auth.v1beta1.Role} returns this | ||
*/ | ||
proto.fonos.auth.v1alpha1.Role.prototype.clearAccessList = function() { | ||
proto.fonos.auth.v1beta1.Role.prototype.clearAccessList = function() { | ||
return this.setAccessList([]); | ||
@@ -547,4 +550,4 @@ }; | ||
*/ | ||
proto.fonos.auth.v1alpha1.ValidateTokenRequest.prototype.toObject = function(opt_includeInstance) { | ||
return proto.fonos.auth.v1alpha1.ValidateTokenRequest.toObject(opt_includeInstance, this); | ||
proto.fonos.auth.v1beta1.ValidateTokenRequest.prototype.toObject = function(opt_includeInstance) { | ||
return proto.fonos.auth.v1beta1.ValidateTokenRequest.toObject(opt_includeInstance, this); | ||
}; | ||
@@ -558,7 +561,7 @@ | ||
* http://goto/soy-param-migration | ||
* @param {!proto.fonos.auth.v1alpha1.ValidateTokenRequest} msg The msg instance to transform. | ||
* @param {!proto.fonos.auth.v1beta1.ValidateTokenRequest} msg The msg instance to transform. | ||
* @return {!Object} | ||
* @suppress {unusedLocalVariables} f is only used for nested messages | ||
*/ | ||
proto.fonos.auth.v1alpha1.ValidateTokenRequest.toObject = function(includeInstance, msg) { | ||
proto.fonos.auth.v1beta1.ValidateTokenRequest.toObject = function(includeInstance, msg) { | ||
var f, obj = { | ||
@@ -579,8 +582,8 @@ token: jspb.Message.getFieldWithDefault(msg, 1, "") | ||
* @param {jspb.ByteSource} bytes The bytes to deserialize. | ||
* @return {!proto.fonos.auth.v1alpha1.ValidateTokenRequest} | ||
* @return {!proto.fonos.auth.v1beta1.ValidateTokenRequest} | ||
*/ | ||
proto.fonos.auth.v1alpha1.ValidateTokenRequest.deserializeBinary = function(bytes) { | ||
proto.fonos.auth.v1beta1.ValidateTokenRequest.deserializeBinary = function(bytes) { | ||
var reader = new jspb.BinaryReader(bytes); | ||
var msg = new proto.fonos.auth.v1alpha1.ValidateTokenRequest; | ||
return proto.fonos.auth.v1alpha1.ValidateTokenRequest.deserializeBinaryFromReader(msg, reader); | ||
var msg = new proto.fonos.auth.v1beta1.ValidateTokenRequest; | ||
return proto.fonos.auth.v1beta1.ValidateTokenRequest.deserializeBinaryFromReader(msg, reader); | ||
}; | ||
@@ -592,7 +595,7 @@ | ||
* given reader into the given message object. | ||
* @param {!proto.fonos.auth.v1alpha1.ValidateTokenRequest} msg The message object to deserialize into. | ||
* @param {!proto.fonos.auth.v1beta1.ValidateTokenRequest} msg The message object to deserialize into. | ||
* @param {!jspb.BinaryReader} reader The BinaryReader to use. | ||
* @return {!proto.fonos.auth.v1alpha1.ValidateTokenRequest} | ||
* @return {!proto.fonos.auth.v1beta1.ValidateTokenRequest} | ||
*/ | ||
proto.fonos.auth.v1alpha1.ValidateTokenRequest.deserializeBinaryFromReader = function(msg, reader) { | ||
proto.fonos.auth.v1beta1.ValidateTokenRequest.deserializeBinaryFromReader = function(msg, reader) { | ||
while (reader.nextField()) { | ||
@@ -621,5 +624,5 @@ if (reader.isEndGroup()) { | ||
*/ | ||
proto.fonos.auth.v1alpha1.ValidateTokenRequest.prototype.serializeBinary = function() { | ||
proto.fonos.auth.v1beta1.ValidateTokenRequest.prototype.serializeBinary = function() { | ||
var writer = new jspb.BinaryWriter(); | ||
proto.fonos.auth.v1alpha1.ValidateTokenRequest.serializeBinaryToWriter(this, writer); | ||
proto.fonos.auth.v1beta1.ValidateTokenRequest.serializeBinaryToWriter(this, writer); | ||
return writer.getResultBuffer(); | ||
@@ -632,7 +635,7 @@ }; | ||
* format), writing to the given BinaryWriter. | ||
* @param {!proto.fonos.auth.v1alpha1.ValidateTokenRequest} message | ||
* @param {!proto.fonos.auth.v1beta1.ValidateTokenRequest} message | ||
* @param {!jspb.BinaryWriter} writer | ||
* @suppress {unusedLocalVariables} f is only used for nested messages | ||
*/ | ||
proto.fonos.auth.v1alpha1.ValidateTokenRequest.serializeBinaryToWriter = function(message, writer) { | ||
proto.fonos.auth.v1beta1.ValidateTokenRequest.serializeBinaryToWriter = function(message, writer) { | ||
var f = undefined; | ||
@@ -653,3 +656,3 @@ f = message.getToken(); | ||
*/ | ||
proto.fonos.auth.v1alpha1.ValidateTokenRequest.prototype.getToken = function() { | ||
proto.fonos.auth.v1beta1.ValidateTokenRequest.prototype.getToken = function() { | ||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); | ||
@@ -661,5 +664,5 @@ }; | ||
* @param {string} value | ||
* @return {!proto.fonos.auth.v1alpha1.ValidateTokenRequest} returns this | ||
* @return {!proto.fonos.auth.v1beta1.ValidateTokenRequest} returns this | ||
*/ | ||
proto.fonos.auth.v1alpha1.ValidateTokenRequest.prototype.setToken = function(value) { | ||
proto.fonos.auth.v1beta1.ValidateTokenRequest.prototype.setToken = function(value) { | ||
return jspb.Message.setProto3StringField(this, 1, value); | ||
@@ -685,4 +688,4 @@ }; | ||
*/ | ||
proto.fonos.auth.v1alpha1.ValidateTokenResponse.prototype.toObject = function(opt_includeInstance) { | ||
return proto.fonos.auth.v1alpha1.ValidateTokenResponse.toObject(opt_includeInstance, this); | ||
proto.fonos.auth.v1beta1.ValidateTokenResponse.prototype.toObject = function(opt_includeInstance) { | ||
return proto.fonos.auth.v1beta1.ValidateTokenResponse.toObject(opt_includeInstance, this); | ||
}; | ||
@@ -696,7 +699,7 @@ | ||
* http://goto/soy-param-migration | ||
* @param {!proto.fonos.auth.v1alpha1.ValidateTokenResponse} msg The msg instance to transform. | ||
* @param {!proto.fonos.auth.v1beta1.ValidateTokenResponse} msg The msg instance to transform. | ||
* @return {!Object} | ||
* @suppress {unusedLocalVariables} f is only used for nested messages | ||
*/ | ||
proto.fonos.auth.v1alpha1.ValidateTokenResponse.toObject = function(includeInstance, msg) { | ||
proto.fonos.auth.v1beta1.ValidateTokenResponse.toObject = function(includeInstance, msg) { | ||
var f, obj = { | ||
@@ -717,8 +720,8 @@ valid: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) | ||
* @param {jspb.ByteSource} bytes The bytes to deserialize. | ||
* @return {!proto.fonos.auth.v1alpha1.ValidateTokenResponse} | ||
* @return {!proto.fonos.auth.v1beta1.ValidateTokenResponse} | ||
*/ | ||
proto.fonos.auth.v1alpha1.ValidateTokenResponse.deserializeBinary = function(bytes) { | ||
proto.fonos.auth.v1beta1.ValidateTokenResponse.deserializeBinary = function(bytes) { | ||
var reader = new jspb.BinaryReader(bytes); | ||
var msg = new proto.fonos.auth.v1alpha1.ValidateTokenResponse; | ||
return proto.fonos.auth.v1alpha1.ValidateTokenResponse.deserializeBinaryFromReader(msg, reader); | ||
var msg = new proto.fonos.auth.v1beta1.ValidateTokenResponse; | ||
return proto.fonos.auth.v1beta1.ValidateTokenResponse.deserializeBinaryFromReader(msg, reader); | ||
}; | ||
@@ -730,7 +733,7 @@ | ||
* given reader into the given message object. | ||
* @param {!proto.fonos.auth.v1alpha1.ValidateTokenResponse} msg The message object to deserialize into. | ||
* @param {!proto.fonos.auth.v1beta1.ValidateTokenResponse} msg The message object to deserialize into. | ||
* @param {!jspb.BinaryReader} reader The BinaryReader to use. | ||
* @return {!proto.fonos.auth.v1alpha1.ValidateTokenResponse} | ||
* @return {!proto.fonos.auth.v1beta1.ValidateTokenResponse} | ||
*/ | ||
proto.fonos.auth.v1alpha1.ValidateTokenResponse.deserializeBinaryFromReader = function(msg, reader) { | ||
proto.fonos.auth.v1beta1.ValidateTokenResponse.deserializeBinaryFromReader = function(msg, reader) { | ||
while (reader.nextField()) { | ||
@@ -759,5 +762,5 @@ if (reader.isEndGroup()) { | ||
*/ | ||
proto.fonos.auth.v1alpha1.ValidateTokenResponse.prototype.serializeBinary = function() { | ||
proto.fonos.auth.v1beta1.ValidateTokenResponse.prototype.serializeBinary = function() { | ||
var writer = new jspb.BinaryWriter(); | ||
proto.fonos.auth.v1alpha1.ValidateTokenResponse.serializeBinaryToWriter(this, writer); | ||
proto.fonos.auth.v1beta1.ValidateTokenResponse.serializeBinaryToWriter(this, writer); | ||
return writer.getResultBuffer(); | ||
@@ -770,7 +773,7 @@ }; | ||
* format), writing to the given BinaryWriter. | ||
* @param {!proto.fonos.auth.v1alpha1.ValidateTokenResponse} message | ||
* @param {!proto.fonos.auth.v1beta1.ValidateTokenResponse} message | ||
* @param {!jspb.BinaryWriter} writer | ||
* @suppress {unusedLocalVariables} f is only used for nested messages | ||
*/ | ||
proto.fonos.auth.v1alpha1.ValidateTokenResponse.serializeBinaryToWriter = function(message, writer) { | ||
proto.fonos.auth.v1beta1.ValidateTokenResponse.serializeBinaryToWriter = function(message, writer) { | ||
var f = undefined; | ||
@@ -791,3 +794,3 @@ f = message.getValid(); | ||
*/ | ||
proto.fonos.auth.v1alpha1.ValidateTokenResponse.prototype.getValid = function() { | ||
proto.fonos.auth.v1beta1.ValidateTokenResponse.prototype.getValid = function() { | ||
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); | ||
@@ -799,5 +802,5 @@ }; | ||
* @param {boolean} value | ||
* @return {!proto.fonos.auth.v1alpha1.ValidateTokenResponse} returns this | ||
* @return {!proto.fonos.auth.v1beta1.ValidateTokenResponse} returns this | ||
*/ | ||
proto.fonos.auth.v1alpha1.ValidateTokenResponse.prototype.setValid = function(value) { | ||
proto.fonos.auth.v1beta1.ValidateTokenResponse.prototype.setValid = function(value) { | ||
return jspb.Message.setProto3BooleanField(this, 1, value); | ||
@@ -823,4 +826,4 @@ }; | ||
*/ | ||
proto.fonos.auth.v1alpha1.CreateTokenRequest.prototype.toObject = function(opt_includeInstance) { | ||
return proto.fonos.auth.v1alpha1.CreateTokenRequest.toObject(opt_includeInstance, this); | ||
proto.fonos.auth.v1beta1.CreateTokenRequest.prototype.toObject = function(opt_includeInstance) { | ||
return proto.fonos.auth.v1beta1.CreateTokenRequest.toObject(opt_includeInstance, this); | ||
}; | ||
@@ -834,7 +837,7 @@ | ||
* http://goto/soy-param-migration | ||
* @param {!proto.fonos.auth.v1alpha1.CreateTokenRequest} msg The msg instance to transform. | ||
* @param {!proto.fonos.auth.v1beta1.CreateTokenRequest} msg The msg instance to transform. | ||
* @return {!Object} | ||
* @suppress {unusedLocalVariables} f is only used for nested messages | ||
*/ | ||
proto.fonos.auth.v1alpha1.CreateTokenRequest.toObject = function(includeInstance, msg) { | ||
proto.fonos.auth.v1beta1.CreateTokenRequest.toObject = function(includeInstance, msg) { | ||
var f, obj = { | ||
@@ -857,8 +860,8 @@ roleName: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
* @param {jspb.ByteSource} bytes The bytes to deserialize. | ||
* @return {!proto.fonos.auth.v1alpha1.CreateTokenRequest} | ||
* @return {!proto.fonos.auth.v1beta1.CreateTokenRequest} | ||
*/ | ||
proto.fonos.auth.v1alpha1.CreateTokenRequest.deserializeBinary = function(bytes) { | ||
proto.fonos.auth.v1beta1.CreateTokenRequest.deserializeBinary = function(bytes) { | ||
var reader = new jspb.BinaryReader(bytes); | ||
var msg = new proto.fonos.auth.v1alpha1.CreateTokenRequest; | ||
return proto.fonos.auth.v1alpha1.CreateTokenRequest.deserializeBinaryFromReader(msg, reader); | ||
var msg = new proto.fonos.auth.v1beta1.CreateTokenRequest; | ||
return proto.fonos.auth.v1beta1.CreateTokenRequest.deserializeBinaryFromReader(msg, reader); | ||
}; | ||
@@ -870,7 +873,7 @@ | ||
* given reader into the given message object. | ||
* @param {!proto.fonos.auth.v1alpha1.CreateTokenRequest} msg The message object to deserialize into. | ||
* @param {!proto.fonos.auth.v1beta1.CreateTokenRequest} msg The message object to deserialize into. | ||
* @param {!jspb.BinaryReader} reader The BinaryReader to use. | ||
* @return {!proto.fonos.auth.v1alpha1.CreateTokenRequest} | ||
* @return {!proto.fonos.auth.v1beta1.CreateTokenRequest} | ||
*/ | ||
proto.fonos.auth.v1alpha1.CreateTokenRequest.deserializeBinaryFromReader = function(msg, reader) { | ||
proto.fonos.auth.v1beta1.CreateTokenRequest.deserializeBinaryFromReader = function(msg, reader) { | ||
while (reader.nextField()) { | ||
@@ -907,5 +910,5 @@ if (reader.isEndGroup()) { | ||
*/ | ||
proto.fonos.auth.v1alpha1.CreateTokenRequest.prototype.serializeBinary = function() { | ||
proto.fonos.auth.v1beta1.CreateTokenRequest.prototype.serializeBinary = function() { | ||
var writer = new jspb.BinaryWriter(); | ||
proto.fonos.auth.v1alpha1.CreateTokenRequest.serializeBinaryToWriter(this, writer); | ||
proto.fonos.auth.v1beta1.CreateTokenRequest.serializeBinaryToWriter(this, writer); | ||
return writer.getResultBuffer(); | ||
@@ -918,7 +921,7 @@ }; | ||
* format), writing to the given BinaryWriter. | ||
* @param {!proto.fonos.auth.v1alpha1.CreateTokenRequest} message | ||
* @param {!proto.fonos.auth.v1beta1.CreateTokenRequest} message | ||
* @param {!jspb.BinaryWriter} writer | ||
* @suppress {unusedLocalVariables} f is only used for nested messages | ||
*/ | ||
proto.fonos.auth.v1alpha1.CreateTokenRequest.serializeBinaryToWriter = function(message, writer) { | ||
proto.fonos.auth.v1beta1.CreateTokenRequest.serializeBinaryToWriter = function(message, writer) { | ||
var f = undefined; | ||
@@ -953,3 +956,3 @@ f = message.getRoleName(); | ||
*/ | ||
proto.fonos.auth.v1alpha1.CreateTokenRequest.prototype.getRoleName = function() { | ||
proto.fonos.auth.v1beta1.CreateTokenRequest.prototype.getRoleName = function() { | ||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); | ||
@@ -961,5 +964,5 @@ }; | ||
* @param {string} value | ||
* @return {!proto.fonos.auth.v1alpha1.CreateTokenRequest} returns this | ||
* @return {!proto.fonos.auth.v1beta1.CreateTokenRequest} returns this | ||
*/ | ||
proto.fonos.auth.v1alpha1.CreateTokenRequest.prototype.setRoleName = function(value) { | ||
proto.fonos.auth.v1beta1.CreateTokenRequest.prototype.setRoleName = function(value) { | ||
return jspb.Message.setProto3StringField(this, 1, value); | ||
@@ -973,3 +976,3 @@ }; | ||
*/ | ||
proto.fonos.auth.v1alpha1.CreateTokenRequest.prototype.getAccessKeyId = function() { | ||
proto.fonos.auth.v1beta1.CreateTokenRequest.prototype.getAccessKeyId = function() { | ||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); | ||
@@ -981,5 +984,5 @@ }; | ||
* @param {string} value | ||
* @return {!proto.fonos.auth.v1alpha1.CreateTokenRequest} returns this | ||
* @return {!proto.fonos.auth.v1beta1.CreateTokenRequest} returns this | ||
*/ | ||
proto.fonos.auth.v1alpha1.CreateTokenRequest.prototype.setAccessKeyId = function(value) { | ||
proto.fonos.auth.v1beta1.CreateTokenRequest.prototype.setAccessKeyId = function(value) { | ||
return jspb.Message.setProto3StringField(this, 2, value); | ||
@@ -993,3 +996,3 @@ }; | ||
*/ | ||
proto.fonos.auth.v1alpha1.CreateTokenRequest.prototype.getExpiration = function() { | ||
proto.fonos.auth.v1beta1.CreateTokenRequest.prototype.getExpiration = function() { | ||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); | ||
@@ -1001,5 +1004,5 @@ }; | ||
* @param {string} value | ||
* @return {!proto.fonos.auth.v1alpha1.CreateTokenRequest} returns this | ||
* @return {!proto.fonos.auth.v1beta1.CreateTokenRequest} returns this | ||
*/ | ||
proto.fonos.auth.v1alpha1.CreateTokenRequest.prototype.setExpiration = function(value) { | ||
proto.fonos.auth.v1beta1.CreateTokenRequest.prototype.setExpiration = function(value) { | ||
return jspb.Message.setProto3StringField(this, 3, value); | ||
@@ -1025,4 +1028,4 @@ }; | ||
*/ | ||
proto.fonos.auth.v1alpha1.CreateTokenResponse.prototype.toObject = function(opt_includeInstance) { | ||
return proto.fonos.auth.v1alpha1.CreateTokenResponse.toObject(opt_includeInstance, this); | ||
proto.fonos.auth.v1beta1.CreateTokenResponse.prototype.toObject = function(opt_includeInstance) { | ||
return proto.fonos.auth.v1beta1.CreateTokenResponse.toObject(opt_includeInstance, this); | ||
}; | ||
@@ -1036,7 +1039,7 @@ | ||
* http://goto/soy-param-migration | ||
* @param {!proto.fonos.auth.v1alpha1.CreateTokenResponse} msg The msg instance to transform. | ||
* @param {!proto.fonos.auth.v1beta1.CreateTokenResponse} msg The msg instance to transform. | ||
* @return {!Object} | ||
* @suppress {unusedLocalVariables} f is only used for nested messages | ||
*/ | ||
proto.fonos.auth.v1alpha1.CreateTokenResponse.toObject = function(includeInstance, msg) { | ||
proto.fonos.auth.v1beta1.CreateTokenResponse.toObject = function(includeInstance, msg) { | ||
var f, obj = { | ||
@@ -1057,8 +1060,8 @@ token: jspb.Message.getFieldWithDefault(msg, 1, "") | ||
* @param {jspb.ByteSource} bytes The bytes to deserialize. | ||
* @return {!proto.fonos.auth.v1alpha1.CreateTokenResponse} | ||
* @return {!proto.fonos.auth.v1beta1.CreateTokenResponse} | ||
*/ | ||
proto.fonos.auth.v1alpha1.CreateTokenResponse.deserializeBinary = function(bytes) { | ||
proto.fonos.auth.v1beta1.CreateTokenResponse.deserializeBinary = function(bytes) { | ||
var reader = new jspb.BinaryReader(bytes); | ||
var msg = new proto.fonos.auth.v1alpha1.CreateTokenResponse; | ||
return proto.fonos.auth.v1alpha1.CreateTokenResponse.deserializeBinaryFromReader(msg, reader); | ||
var msg = new proto.fonos.auth.v1beta1.CreateTokenResponse; | ||
return proto.fonos.auth.v1beta1.CreateTokenResponse.deserializeBinaryFromReader(msg, reader); | ||
}; | ||
@@ -1070,7 +1073,7 @@ | ||
* given reader into the given message object. | ||
* @param {!proto.fonos.auth.v1alpha1.CreateTokenResponse} msg The message object to deserialize into. | ||
* @param {!proto.fonos.auth.v1beta1.CreateTokenResponse} msg The message object to deserialize into. | ||
* @param {!jspb.BinaryReader} reader The BinaryReader to use. | ||
* @return {!proto.fonos.auth.v1alpha1.CreateTokenResponse} | ||
* @return {!proto.fonos.auth.v1beta1.CreateTokenResponse} | ||
*/ | ||
proto.fonos.auth.v1alpha1.CreateTokenResponse.deserializeBinaryFromReader = function(msg, reader) { | ||
proto.fonos.auth.v1beta1.CreateTokenResponse.deserializeBinaryFromReader = function(msg, reader) { | ||
while (reader.nextField()) { | ||
@@ -1099,5 +1102,5 @@ if (reader.isEndGroup()) { | ||
*/ | ||
proto.fonos.auth.v1alpha1.CreateTokenResponse.prototype.serializeBinary = function() { | ||
proto.fonos.auth.v1beta1.CreateTokenResponse.prototype.serializeBinary = function() { | ||
var writer = new jspb.BinaryWriter(); | ||
proto.fonos.auth.v1alpha1.CreateTokenResponse.serializeBinaryToWriter(this, writer); | ||
proto.fonos.auth.v1beta1.CreateTokenResponse.serializeBinaryToWriter(this, writer); | ||
return writer.getResultBuffer(); | ||
@@ -1110,7 +1113,7 @@ }; | ||
* format), writing to the given BinaryWriter. | ||
* @param {!proto.fonos.auth.v1alpha1.CreateTokenResponse} message | ||
* @param {!proto.fonos.auth.v1beta1.CreateTokenResponse} message | ||
* @param {!jspb.BinaryWriter} writer | ||
* @suppress {unusedLocalVariables} f is only used for nested messages | ||
*/ | ||
proto.fonos.auth.v1alpha1.CreateTokenResponse.serializeBinaryToWriter = function(message, writer) { | ||
proto.fonos.auth.v1beta1.CreateTokenResponse.serializeBinaryToWriter = function(message, writer) { | ||
var f = undefined; | ||
@@ -1131,3 +1134,3 @@ f = message.getToken(); | ||
*/ | ||
proto.fonos.auth.v1alpha1.CreateTokenResponse.prototype.getToken = function() { | ||
proto.fonos.auth.v1beta1.CreateTokenResponse.prototype.getToken = function() { | ||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); | ||
@@ -1139,5 +1142,5 @@ }; | ||
* @param {string} value | ||
* @return {!proto.fonos.auth.v1alpha1.CreateTokenResponse} returns this | ||
* @return {!proto.fonos.auth.v1beta1.CreateTokenResponse} returns this | ||
*/ | ||
proto.fonos.auth.v1alpha1.CreateTokenResponse.prototype.setToken = function(value) { | ||
proto.fonos.auth.v1beta1.CreateTokenResponse.prototype.setToken = function(value) { | ||
return jspb.Message.setProto3StringField(this, 1, value); | ||
@@ -1147,2 +1150,2 @@ }; | ||
goog.object.extend(exports, proto.fonos.auth.v1alpha1); | ||
goog.object.extend(exports, proto.fonos.auth.v1beta1); |
@@ -35,3 +35,3 @@ #!/usr/bin/env node | ||
name: "auth", | ||
version: "v1alpha1", | ||
version: "v1beta1", | ||
service: auth_grpc_pb_1.AuthService, | ||
@@ -38,0 +38,0 @@ server: new auth_1.default() |
{ | ||
"name": "@fonos/auth", | ||
"version": "0.1.11-alpha.4", | ||
"version": "0.1.11-alpha.5", | ||
"description": "Authentication Module", | ||
@@ -52,2 +52,3 @@ "author": "Raul Sanchez <rsanchez@fonoster.com>", | ||
"express": "^4.17.1", | ||
"google-protobuf": "^3.17.0", | ||
"grpc-promise": "^1.4.0", | ||
@@ -59,3 +60,3 @@ "jsonwebtoken": "^8.5.1" | ||
}, | ||
"gitHead": "86899143ab4f0abb398a2fca06748f6ab0e29455" | ||
"gitHead": "79c4a14d9dbcd79e2ccd18c62d44e394d2e7e6bc" | ||
} |
2004
84700
9
+ Addedgoogle-protobuf@^3.17.0
+ Addedgoogle-protobuf@3.21.4(transitive)