github.com/infraboard/keyauth@v0.8.1/apps/token/request.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.27.1 4 // protoc v3.19.1 5 // source: apps/token/pb/request.proto 6 7 package token 8 9 import ( 10 request "github.com/infraboard/mcube/http/request" 11 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 12 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 13 reflect "reflect" 14 sync "sync" 15 ) 16 17 const ( 18 // Verify that this generated code is sufficiently up-to-date. 19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 20 // Verify that runtime/protoimpl is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 22 ) 23 24 type DescribeTokenRequest struct { 25 state protoimpl.MessageState 26 sizeCache protoimpl.SizeCache 27 unknownFields protoimpl.UnknownFields 28 29 AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` 30 RefreshToken string `protobuf:"bytes,2,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` 31 } 32 33 func (x *DescribeTokenRequest) Reset() { 34 *x = DescribeTokenRequest{} 35 if protoimpl.UnsafeEnabled { 36 mi := &file_apps_token_pb_request_proto_msgTypes[0] 37 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 38 ms.StoreMessageInfo(mi) 39 } 40 } 41 42 func (x *DescribeTokenRequest) String() string { 43 return protoimpl.X.MessageStringOf(x) 44 } 45 46 func (*DescribeTokenRequest) ProtoMessage() {} 47 48 func (x *DescribeTokenRequest) ProtoReflect() protoreflect.Message { 49 mi := &file_apps_token_pb_request_proto_msgTypes[0] 50 if protoimpl.UnsafeEnabled && x != nil { 51 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 52 if ms.LoadMessageInfo() == nil { 53 ms.StoreMessageInfo(mi) 54 } 55 return ms 56 } 57 return mi.MessageOf(x) 58 } 59 60 // Deprecated: Use DescribeTokenRequest.ProtoReflect.Descriptor instead. 61 func (*DescribeTokenRequest) Descriptor() ([]byte, []int) { 62 return file_apps_token_pb_request_proto_rawDescGZIP(), []int{0} 63 } 64 65 func (x *DescribeTokenRequest) GetAccessToken() string { 66 if x != nil { 67 return x.AccessToken 68 } 69 return "" 70 } 71 72 func (x *DescribeTokenRequest) GetRefreshToken() string { 73 if x != nil { 74 return x.RefreshToken 75 } 76 return "" 77 } 78 79 type ValidateTokenRequest struct { 80 state protoimpl.MessageState 81 sizeCache protoimpl.SizeCache 82 unknownFields protoimpl.UnknownFields 83 84 NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"` 85 EndpointId string `protobuf:"bytes,2,opt,name=endpoint_id,json=endpointId,proto3" json:"endpoint_id,omitempty"` 86 AccessToken string `protobuf:"bytes,3,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` 87 RefreshToken string `protobuf:"bytes,4,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` 88 } 89 90 func (x *ValidateTokenRequest) Reset() { 91 *x = ValidateTokenRequest{} 92 if protoimpl.UnsafeEnabled { 93 mi := &file_apps_token_pb_request_proto_msgTypes[1] 94 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 95 ms.StoreMessageInfo(mi) 96 } 97 } 98 99 func (x *ValidateTokenRequest) String() string { 100 return protoimpl.X.MessageStringOf(x) 101 } 102 103 func (*ValidateTokenRequest) ProtoMessage() {} 104 105 func (x *ValidateTokenRequest) ProtoReflect() protoreflect.Message { 106 mi := &file_apps_token_pb_request_proto_msgTypes[1] 107 if protoimpl.UnsafeEnabled && x != nil { 108 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 109 if ms.LoadMessageInfo() == nil { 110 ms.StoreMessageInfo(mi) 111 } 112 return ms 113 } 114 return mi.MessageOf(x) 115 } 116 117 // Deprecated: Use ValidateTokenRequest.ProtoReflect.Descriptor instead. 118 func (*ValidateTokenRequest) Descriptor() ([]byte, []int) { 119 return file_apps_token_pb_request_proto_rawDescGZIP(), []int{1} 120 } 121 122 func (x *ValidateTokenRequest) GetNamespaceId() string { 123 if x != nil { 124 return x.NamespaceId 125 } 126 return "" 127 } 128 129 func (x *ValidateTokenRequest) GetEndpointId() string { 130 if x != nil { 131 return x.EndpointId 132 } 133 return "" 134 } 135 136 func (x *ValidateTokenRequest) GetAccessToken() string { 137 if x != nil { 138 return x.AccessToken 139 } 140 return "" 141 } 142 143 func (x *ValidateTokenRequest) GetRefreshToken() string { 144 if x != nil { 145 return x.RefreshToken 146 } 147 return "" 148 } 149 150 type IssueTokenRequest struct { 151 state protoimpl.MessageState 152 sizeCache protoimpl.SizeCache 153 unknownFields protoimpl.UnknownFields 154 155 ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` 156 ClientSecret string `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"` 157 VerifyCode string `protobuf:"bytes,3,opt,name=verify_code,json=verifyCode,proto3" json:"verify_code,omitempty"` 158 Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"` 159 Password string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"` 160 RefreshToken string `protobuf:"bytes,6,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` 161 AccessToken string `protobuf:"bytes,7,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` 162 AuthCode string `protobuf:"bytes,8,opt,name=auth_code,json=authCode,proto3" json:"auth_code,omitempty"` 163 State string `protobuf:"bytes,9,opt,name=state,proto3" json:"state,omitempty"` 164 GrantType GrantType `protobuf:"varint,10,opt,name=grant_type,json=grantType,proto3,enum=infraboard.keyauth.token.GrantType" json:"grant_type,omitempty"` 165 Type TokenType `protobuf:"varint,11,opt,name=type,proto3,enum=infraboard.keyauth.token.TokenType" json:"type,omitempty"` 166 AccessExpiredAt int64 `protobuf:"varint,15,opt,name=access_expired_at,json=accessExpiredAt,proto3" json:"access_expired_at,omitempty"` 167 Description string `protobuf:"bytes,16,opt,name=description,proto3" json:"description,omitempty"` 168 Scope string `protobuf:"bytes,12,opt,name=scope,proto3" json:"scope,omitempty"` 169 UserAgent string `protobuf:"bytes,13,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"` 170 RemoteIp string `protobuf:"bytes,14,opt,name=remote_ip,json=remoteIp,proto3" json:"remote_ip,omitempty"` 171 Service string `protobuf:"bytes,17,opt,name=service,proto3" json:"service,omitempty"` 172 } 173 174 func (x *IssueTokenRequest) Reset() { 175 *x = IssueTokenRequest{} 176 if protoimpl.UnsafeEnabled { 177 mi := &file_apps_token_pb_request_proto_msgTypes[2] 178 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 179 ms.StoreMessageInfo(mi) 180 } 181 } 182 183 func (x *IssueTokenRequest) String() string { 184 return protoimpl.X.MessageStringOf(x) 185 } 186 187 func (*IssueTokenRequest) ProtoMessage() {} 188 189 func (x *IssueTokenRequest) ProtoReflect() protoreflect.Message { 190 mi := &file_apps_token_pb_request_proto_msgTypes[2] 191 if protoimpl.UnsafeEnabled && x != nil { 192 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 193 if ms.LoadMessageInfo() == nil { 194 ms.StoreMessageInfo(mi) 195 } 196 return ms 197 } 198 return mi.MessageOf(x) 199 } 200 201 // Deprecated: Use IssueTokenRequest.ProtoReflect.Descriptor instead. 202 func (*IssueTokenRequest) Descriptor() ([]byte, []int) { 203 return file_apps_token_pb_request_proto_rawDescGZIP(), []int{2} 204 } 205 206 func (x *IssueTokenRequest) GetClientId() string { 207 if x != nil { 208 return x.ClientId 209 } 210 return "" 211 } 212 213 func (x *IssueTokenRequest) GetClientSecret() string { 214 if x != nil { 215 return x.ClientSecret 216 } 217 return "" 218 } 219 220 func (x *IssueTokenRequest) GetVerifyCode() string { 221 if x != nil { 222 return x.VerifyCode 223 } 224 return "" 225 } 226 227 func (x *IssueTokenRequest) GetUsername() string { 228 if x != nil { 229 return x.Username 230 } 231 return "" 232 } 233 234 func (x *IssueTokenRequest) GetPassword() string { 235 if x != nil { 236 return x.Password 237 } 238 return "" 239 } 240 241 func (x *IssueTokenRequest) GetRefreshToken() string { 242 if x != nil { 243 return x.RefreshToken 244 } 245 return "" 246 } 247 248 func (x *IssueTokenRequest) GetAccessToken() string { 249 if x != nil { 250 return x.AccessToken 251 } 252 return "" 253 } 254 255 func (x *IssueTokenRequest) GetAuthCode() string { 256 if x != nil { 257 return x.AuthCode 258 } 259 return "" 260 } 261 262 func (x *IssueTokenRequest) GetState() string { 263 if x != nil { 264 return x.State 265 } 266 return "" 267 } 268 269 func (x *IssueTokenRequest) GetGrantType() GrantType { 270 if x != nil { 271 return x.GrantType 272 } 273 return GrantType_NULL 274 } 275 276 func (x *IssueTokenRequest) GetType() TokenType { 277 if x != nil { 278 return x.Type 279 } 280 return TokenType_BEARER 281 } 282 283 func (x *IssueTokenRequest) GetAccessExpiredAt() int64 { 284 if x != nil { 285 return x.AccessExpiredAt 286 } 287 return 0 288 } 289 290 func (x *IssueTokenRequest) GetDescription() string { 291 if x != nil { 292 return x.Description 293 } 294 return "" 295 } 296 297 func (x *IssueTokenRequest) GetScope() string { 298 if x != nil { 299 return x.Scope 300 } 301 return "" 302 } 303 304 func (x *IssueTokenRequest) GetUserAgent() string { 305 if x != nil { 306 return x.UserAgent 307 } 308 return "" 309 } 310 311 func (x *IssueTokenRequest) GetRemoteIp() string { 312 if x != nil { 313 return x.RemoteIp 314 } 315 return "" 316 } 317 318 func (x *IssueTokenRequest) GetService() string { 319 if x != nil { 320 return x.Service 321 } 322 return "" 323 } 324 325 type RevolkTokenRequest struct { 326 state protoimpl.MessageState 327 sizeCache protoimpl.SizeCache 328 unknownFields protoimpl.UnknownFields 329 330 ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` 331 ClientSecret string `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"` 332 LogoutSession bool `protobuf:"varint,3,opt,name=logout_session,json=logoutSession,proto3" json:"logout_session,omitempty"` 333 AccessToken string `protobuf:"bytes,4,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` 334 RefreshToken string `protobuf:"bytes,5,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` 335 } 336 337 func (x *RevolkTokenRequest) Reset() { 338 *x = RevolkTokenRequest{} 339 if protoimpl.UnsafeEnabled { 340 mi := &file_apps_token_pb_request_proto_msgTypes[3] 341 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 342 ms.StoreMessageInfo(mi) 343 } 344 } 345 346 func (x *RevolkTokenRequest) String() string { 347 return protoimpl.X.MessageStringOf(x) 348 } 349 350 func (*RevolkTokenRequest) ProtoMessage() {} 351 352 func (x *RevolkTokenRequest) ProtoReflect() protoreflect.Message { 353 mi := &file_apps_token_pb_request_proto_msgTypes[3] 354 if protoimpl.UnsafeEnabled && x != nil { 355 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 356 if ms.LoadMessageInfo() == nil { 357 ms.StoreMessageInfo(mi) 358 } 359 return ms 360 } 361 return mi.MessageOf(x) 362 } 363 364 // Deprecated: Use RevolkTokenRequest.ProtoReflect.Descriptor instead. 365 func (*RevolkTokenRequest) Descriptor() ([]byte, []int) { 366 return file_apps_token_pb_request_proto_rawDescGZIP(), []int{3} 367 } 368 369 func (x *RevolkTokenRequest) GetClientId() string { 370 if x != nil { 371 return x.ClientId 372 } 373 return "" 374 } 375 376 func (x *RevolkTokenRequest) GetClientSecret() string { 377 if x != nil { 378 return x.ClientSecret 379 } 380 return "" 381 } 382 383 func (x *RevolkTokenRequest) GetLogoutSession() bool { 384 if x != nil { 385 return x.LogoutSession 386 } 387 return false 388 } 389 390 func (x *RevolkTokenRequest) GetAccessToken() string { 391 if x != nil { 392 return x.AccessToken 393 } 394 return "" 395 } 396 397 func (x *RevolkTokenRequest) GetRefreshToken() string { 398 if x != nil { 399 return x.RefreshToken 400 } 401 return "" 402 } 403 404 type QueryTokenRequest struct { 405 state protoimpl.MessageState 406 sizeCache protoimpl.SizeCache 407 unknownFields protoimpl.UnknownFields 408 409 Page *request.PageRequest `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` 410 ApplicationId string `protobuf:"bytes,2,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"` 411 Account string `protobuf:"bytes,4,opt,name=account,proto3" json:"account,omitempty"` 412 GrantType GrantType `protobuf:"varint,3,opt,name=grant_type,json=grantType,proto3,enum=infraboard.keyauth.token.GrantType" json:"grant_type,omitempty"` 413 } 414 415 func (x *QueryTokenRequest) Reset() { 416 *x = QueryTokenRequest{} 417 if protoimpl.UnsafeEnabled { 418 mi := &file_apps_token_pb_request_proto_msgTypes[4] 419 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 420 ms.StoreMessageInfo(mi) 421 } 422 } 423 424 func (x *QueryTokenRequest) String() string { 425 return protoimpl.X.MessageStringOf(x) 426 } 427 428 func (*QueryTokenRequest) ProtoMessage() {} 429 430 func (x *QueryTokenRequest) ProtoReflect() protoreflect.Message { 431 mi := &file_apps_token_pb_request_proto_msgTypes[4] 432 if protoimpl.UnsafeEnabled && x != nil { 433 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 434 if ms.LoadMessageInfo() == nil { 435 ms.StoreMessageInfo(mi) 436 } 437 return ms 438 } 439 return mi.MessageOf(x) 440 } 441 442 // Deprecated: Use QueryTokenRequest.ProtoReflect.Descriptor instead. 443 func (*QueryTokenRequest) Descriptor() ([]byte, []int) { 444 return file_apps_token_pb_request_proto_rawDescGZIP(), []int{4} 445 } 446 447 func (x *QueryTokenRequest) GetPage() *request.PageRequest { 448 if x != nil { 449 return x.Page 450 } 451 return nil 452 } 453 454 func (x *QueryTokenRequest) GetApplicationId() string { 455 if x != nil { 456 return x.ApplicationId 457 } 458 return "" 459 } 460 461 func (x *QueryTokenRequest) GetAccount() string { 462 if x != nil { 463 return x.Account 464 } 465 return "" 466 } 467 468 func (x *QueryTokenRequest) GetGrantType() GrantType { 469 if x != nil { 470 return x.GrantType 471 } 472 return GrantType_NULL 473 } 474 475 type BlockTokenRequest struct { 476 state protoimpl.MessageState 477 sizeCache protoimpl.SizeCache 478 unknownFields protoimpl.UnknownFields 479 480 AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` 481 BlockReason string `protobuf:"bytes,2,opt,name=block_reason,json=blockReason,proto3" json:"block_reason,omitempty"` 482 BlockType BlockType `protobuf:"varint,3,opt,name=block_type,json=blockType,proto3,enum=infraboard.keyauth.token.BlockType" json:"block_type,omitempty"` 483 } 484 485 func (x *BlockTokenRequest) Reset() { 486 *x = BlockTokenRequest{} 487 if protoimpl.UnsafeEnabled { 488 mi := &file_apps_token_pb_request_proto_msgTypes[5] 489 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 490 ms.StoreMessageInfo(mi) 491 } 492 } 493 494 func (x *BlockTokenRequest) String() string { 495 return protoimpl.X.MessageStringOf(x) 496 } 497 498 func (*BlockTokenRequest) ProtoMessage() {} 499 500 func (x *BlockTokenRequest) ProtoReflect() protoreflect.Message { 501 mi := &file_apps_token_pb_request_proto_msgTypes[5] 502 if protoimpl.UnsafeEnabled && x != nil { 503 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 504 if ms.LoadMessageInfo() == nil { 505 ms.StoreMessageInfo(mi) 506 } 507 return ms 508 } 509 return mi.MessageOf(x) 510 } 511 512 // Deprecated: Use BlockTokenRequest.ProtoReflect.Descriptor instead. 513 func (*BlockTokenRequest) Descriptor() ([]byte, []int) { 514 return file_apps_token_pb_request_proto_rawDescGZIP(), []int{5} 515 } 516 517 func (x *BlockTokenRequest) GetAccessToken() string { 518 if x != nil { 519 return x.AccessToken 520 } 521 return "" 522 } 523 524 func (x *BlockTokenRequest) GetBlockReason() string { 525 if x != nil { 526 return x.BlockReason 527 } 528 return "" 529 } 530 531 func (x *BlockTokenRequest) GetBlockType() BlockType { 532 if x != nil { 533 return x.BlockType 534 } 535 return BlockType_SESSION_TERMINATED 536 } 537 538 type ChangeNamespaceRequest struct { 539 state protoimpl.MessageState 540 sizeCache protoimpl.SizeCache 541 unknownFields protoimpl.UnknownFields 542 543 // @gotags: json:"namespace" validate:"required" 544 Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace" validate:"required"` 545 // @gotags: json:"token" validate:"required" 546 Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token" validate:"required"` 547 } 548 549 func (x *ChangeNamespaceRequest) Reset() { 550 *x = ChangeNamespaceRequest{} 551 if protoimpl.UnsafeEnabled { 552 mi := &file_apps_token_pb_request_proto_msgTypes[6] 553 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 554 ms.StoreMessageInfo(mi) 555 } 556 } 557 558 func (x *ChangeNamespaceRequest) String() string { 559 return protoimpl.X.MessageStringOf(x) 560 } 561 562 func (*ChangeNamespaceRequest) ProtoMessage() {} 563 564 func (x *ChangeNamespaceRequest) ProtoReflect() protoreflect.Message { 565 mi := &file_apps_token_pb_request_proto_msgTypes[6] 566 if protoimpl.UnsafeEnabled && x != nil { 567 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 568 if ms.LoadMessageInfo() == nil { 569 ms.StoreMessageInfo(mi) 570 } 571 return ms 572 } 573 return mi.MessageOf(x) 574 } 575 576 // Deprecated: Use ChangeNamespaceRequest.ProtoReflect.Descriptor instead. 577 func (*ChangeNamespaceRequest) Descriptor() ([]byte, []int) { 578 return file_apps_token_pb_request_proto_rawDescGZIP(), []int{6} 579 } 580 581 func (x *ChangeNamespaceRequest) GetNamespace() string { 582 if x != nil { 583 return x.Namespace 584 } 585 return "" 586 } 587 588 func (x *ChangeNamespaceRequest) GetToken() string { 589 if x != nil { 590 return x.Token 591 } 592 return "" 593 } 594 595 type DeleteTokenRequest struct { 596 state protoimpl.MessageState 597 sizeCache protoimpl.SizeCache 598 unknownFields protoimpl.UnknownFields 599 600 AccessToken []string `protobuf:"bytes,1,rep,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` 601 Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` 602 Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"` 603 } 604 605 func (x *DeleteTokenRequest) Reset() { 606 *x = DeleteTokenRequest{} 607 if protoimpl.UnsafeEnabled { 608 mi := &file_apps_token_pb_request_proto_msgTypes[7] 609 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 610 ms.StoreMessageInfo(mi) 611 } 612 } 613 614 func (x *DeleteTokenRequest) String() string { 615 return protoimpl.X.MessageStringOf(x) 616 } 617 618 func (*DeleteTokenRequest) ProtoMessage() {} 619 620 func (x *DeleteTokenRequest) ProtoReflect() protoreflect.Message { 621 mi := &file_apps_token_pb_request_proto_msgTypes[7] 622 if protoimpl.UnsafeEnabled && x != nil { 623 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 624 if ms.LoadMessageInfo() == nil { 625 ms.StoreMessageInfo(mi) 626 } 627 return ms 628 } 629 return mi.MessageOf(x) 630 } 631 632 // Deprecated: Use DeleteTokenRequest.ProtoReflect.Descriptor instead. 633 func (*DeleteTokenRequest) Descriptor() ([]byte, []int) { 634 return file_apps_token_pb_request_proto_rawDescGZIP(), []int{7} 635 } 636 637 func (x *DeleteTokenRequest) GetAccessToken() []string { 638 if x != nil { 639 return x.AccessToken 640 } 641 return nil 642 } 643 644 func (x *DeleteTokenRequest) GetDomain() string { 645 if x != nil { 646 return x.Domain 647 } 648 return "" 649 } 650 651 func (x *DeleteTokenRequest) GetAccount() string { 652 if x != nil { 653 return x.Account 654 } 655 return "" 656 } 657 658 type DeleteTokenResponse struct { 659 state protoimpl.MessageState 660 sizeCache protoimpl.SizeCache 661 unknownFields protoimpl.UnknownFields 662 663 Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` 664 Success []string `protobuf:"bytes,2,rep,name=success,proto3" json:"success,omitempty"` 665 Failed []string `protobuf:"bytes,3,rep,name=failed,proto3" json:"failed,omitempty"` 666 } 667 668 func (x *DeleteTokenResponse) Reset() { 669 *x = DeleteTokenResponse{} 670 if protoimpl.UnsafeEnabled { 671 mi := &file_apps_token_pb_request_proto_msgTypes[8] 672 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 673 ms.StoreMessageInfo(mi) 674 } 675 } 676 677 func (x *DeleteTokenResponse) String() string { 678 return protoimpl.X.MessageStringOf(x) 679 } 680 681 func (*DeleteTokenResponse) ProtoMessage() {} 682 683 func (x *DeleteTokenResponse) ProtoReflect() protoreflect.Message { 684 mi := &file_apps_token_pb_request_proto_msgTypes[8] 685 if protoimpl.UnsafeEnabled && x != nil { 686 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 687 if ms.LoadMessageInfo() == nil { 688 ms.StoreMessageInfo(mi) 689 } 690 return ms 691 } 692 return mi.MessageOf(x) 693 } 694 695 // Deprecated: Use DeleteTokenResponse.ProtoReflect.Descriptor instead. 696 func (*DeleteTokenResponse) Descriptor() ([]byte, []int) { 697 return file_apps_token_pb_request_proto_rawDescGZIP(), []int{8} 698 } 699 700 func (x *DeleteTokenResponse) GetMessage() string { 701 if x != nil { 702 return x.Message 703 } 704 return "" 705 } 706 707 func (x *DeleteTokenResponse) GetSuccess() []string { 708 if x != nil { 709 return x.Success 710 } 711 return nil 712 } 713 714 func (x *DeleteTokenResponse) GetFailed() []string { 715 if x != nil { 716 return x.Failed 717 } 718 return nil 719 } 720 721 var File_apps_token_pb_request_proto protoreflect.FileDescriptor 722 723 var file_apps_token_pb_request_proto_rawDesc = []byte{ 724 0x0a, 0x1b, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x2f, 0x70, 0x62, 0x2f, 725 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x69, 726 0x6e, 0x66, 0x72, 0x61, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x75, 0x74, 727 0x68, 0x2e, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x1a, 0x19, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x74, 0x6f, 728 0x6b, 0x65, 0x6e, 0x2f, 0x70, 0x62, 0x2f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 729 0x74, 0x6f, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x69, 730 0x6e, 0x66, 0x72, 0x61, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2f, 0x6d, 0x63, 0x75, 0x62, 0x65, 0x2f, 731 0x70, 0x62, 0x2f, 0x70, 0x61, 0x67, 0x65, 0x2f, 0x70, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 732 0x74, 0x6f, 0x22, 0x5e, 0x0a, 0x14, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x54, 0x6f, 733 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x63, 734 0x63, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 735 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x23, 0x0a, 736 0x0d, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 737 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x54, 0x6f, 0x6b, 738 0x65, 0x6e, 0x22, 0xa2, 0x01, 0x0a, 0x14, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x54, 739 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x6e, 740 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 741 0x09, 0x52, 0x0b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x1f, 742 0x0a, 0x0b, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 743 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x12, 744 0x21, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 745 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 746 0x65, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f, 0x74, 0x6f, 747 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x66, 0x72, 0x65, 748 0x73, 0x68, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xe0, 0x04, 0x0a, 0x11, 0x49, 0x73, 0x73, 0x75, 749 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 750 0x09, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 751 0x52, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6c, 752 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 753 0x09, 0x52, 0x0c, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 754 0x1f, 0x0a, 0x0b, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 755 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x43, 0x6f, 0x64, 0x65, 756 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 757 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 758 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 759 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x66, 0x72, 760 0x65, 0x73, 0x68, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 761 0x0c, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x21, 0x0a, 762 0x0c, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x07, 0x20, 763 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 764 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x08, 0x20, 765 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x75, 0x74, 0x68, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 766 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 767 0x61, 0x74, 0x65, 0x12, 0x42, 0x0a, 0x0a, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 768 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 769 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x74, 0x6f, 0x6b, 770 0x65, 0x6e, 0x2e, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x67, 0x72, 771 0x61, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x37, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 772 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 0x6f, 0x61, 773 0x72, 0x64, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 774 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 775 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, 776 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x61, 0x63, 0x63, 777 0x65, 0x73, 0x73, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x41, 0x74, 0x12, 0x20, 0x0a, 0x0b, 778 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x10, 0x20, 0x01, 0x28, 779 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 780 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 781 0x63, 0x6f, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x61, 0x67, 0x65, 782 0x6e, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x41, 0x67, 783 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x69, 0x70, 784 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x49, 0x70, 785 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 786 0x09, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0xc5, 0x01, 0x0a, 0x12, 0x52, 787 0x65, 0x76, 0x6f, 0x6c, 0x6b, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 788 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 789 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x23, 790 0x0a, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 791 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x63, 792 0x72, 0x65, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x6c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x5f, 0x73, 0x65, 793 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x6c, 0x6f, 0x67, 794 0x6f, 0x75, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x63, 795 0x63, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 796 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x23, 0x0a, 797 0x0d, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x05, 798 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x54, 0x6f, 0x6b, 799 0x65, 0x6e, 0x22, 0xd0, 0x01, 0x0a, 0x11, 0x51, 0x75, 0x65, 0x72, 0x79, 0x54, 0x6f, 0x6b, 0x65, 800 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 801 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 0x6f, 802 0x61, 0x72, 0x64, 0x2e, 0x6d, 0x63, 0x75, 0x62, 0x65, 0x2e, 0x70, 0x61, 0x67, 0x65, 0x2e, 0x50, 803 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 804 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 805 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 806 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 807 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 808 0x74, 0x12, 0x42, 0x0a, 0x0a, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 809 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 0x6f, 0x61, 810 0x72, 0x64, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 811 0x2e, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x67, 0x72, 0x61, 0x6e, 812 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0x9d, 0x01, 0x0a, 0x11, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 813 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x61, 814 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 815 0x09, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x21, 816 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x02, 817 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x61, 0x73, 0x6f, 818 0x6e, 0x12, 0x42, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 819 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 0x6f, 0x61, 820 0x72, 0x64, 0x2e, 0x6b, 0x65, 0x79, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 821 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 822 0x6b, 0x54, 0x79, 0x70, 0x65, 0x22, 0x4c, 0x0a, 0x16, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4e, 823 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 824 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 825 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 826 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 827 0x6b, 0x65, 0x6e, 0x22, 0x69, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x6f, 0x6b, 828 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x63, 0x63, 829 0x65, 0x73, 0x73, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 830 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x16, 0x0a, 0x06, 831 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 832 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 833 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x61, 834 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 835 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 836 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 837 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 838 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x61, 0x69, 839 0x6c, 0x65, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x66, 0x61, 0x69, 0x6c, 0x65, 840 0x64, 0x42, 0x2a, 0x5a, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 841 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2f, 0x6b, 0x65, 0x79, 0x61, 0x75, 842 0x74, 0x68, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x62, 0x06, 0x70, 843 0x72, 0x6f, 0x74, 0x6f, 0x33, 844 } 845 846 var ( 847 file_apps_token_pb_request_proto_rawDescOnce sync.Once 848 file_apps_token_pb_request_proto_rawDescData = file_apps_token_pb_request_proto_rawDesc 849 ) 850 851 func file_apps_token_pb_request_proto_rawDescGZIP() []byte { 852 file_apps_token_pb_request_proto_rawDescOnce.Do(func() { 853 file_apps_token_pb_request_proto_rawDescData = protoimpl.X.CompressGZIP(file_apps_token_pb_request_proto_rawDescData) 854 }) 855 return file_apps_token_pb_request_proto_rawDescData 856 } 857 858 var file_apps_token_pb_request_proto_msgTypes = make([]protoimpl.MessageInfo, 9) 859 var file_apps_token_pb_request_proto_goTypes = []interface{}{ 860 (*DescribeTokenRequest)(nil), // 0: infraboard.keyauth.token.DescribeTokenRequest 861 (*ValidateTokenRequest)(nil), // 1: infraboard.keyauth.token.ValidateTokenRequest 862 (*IssueTokenRequest)(nil), // 2: infraboard.keyauth.token.IssueTokenRequest 863 (*RevolkTokenRequest)(nil), // 3: infraboard.keyauth.token.RevolkTokenRequest 864 (*QueryTokenRequest)(nil), // 4: infraboard.keyauth.token.QueryTokenRequest 865 (*BlockTokenRequest)(nil), // 5: infraboard.keyauth.token.BlockTokenRequest 866 (*ChangeNamespaceRequest)(nil), // 6: infraboard.keyauth.token.ChangeNamespaceRequest 867 (*DeleteTokenRequest)(nil), // 7: infraboard.keyauth.token.DeleteTokenRequest 868 (*DeleteTokenResponse)(nil), // 8: infraboard.keyauth.token.DeleteTokenResponse 869 (GrantType)(0), // 9: infraboard.keyauth.token.GrantType 870 (TokenType)(0), // 10: infraboard.keyauth.token.TokenType 871 (*request.PageRequest)(nil), // 11: infraboard.mcube.page.PageRequest 872 (BlockType)(0), // 12: infraboard.keyauth.token.BlockType 873 } 874 var file_apps_token_pb_request_proto_depIdxs = []int32{ 875 9, // 0: infraboard.keyauth.token.IssueTokenRequest.grant_type:type_name -> infraboard.keyauth.token.GrantType 876 10, // 1: infraboard.keyauth.token.IssueTokenRequest.type:type_name -> infraboard.keyauth.token.TokenType 877 11, // 2: infraboard.keyauth.token.QueryTokenRequest.page:type_name -> infraboard.mcube.page.PageRequest 878 9, // 3: infraboard.keyauth.token.QueryTokenRequest.grant_type:type_name -> infraboard.keyauth.token.GrantType 879 12, // 4: infraboard.keyauth.token.BlockTokenRequest.block_type:type_name -> infraboard.keyauth.token.BlockType 880 5, // [5:5] is the sub-list for method output_type 881 5, // [5:5] is the sub-list for method input_type 882 5, // [5:5] is the sub-list for extension type_name 883 5, // [5:5] is the sub-list for extension extendee 884 0, // [0:5] is the sub-list for field type_name 885 } 886 887 func init() { file_apps_token_pb_request_proto_init() } 888 func file_apps_token_pb_request_proto_init() { 889 if File_apps_token_pb_request_proto != nil { 890 return 891 } 892 file_apps_token_pb_token_proto_init() 893 if !protoimpl.UnsafeEnabled { 894 file_apps_token_pb_request_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 895 switch v := v.(*DescribeTokenRequest); i { 896 case 0: 897 return &v.state 898 case 1: 899 return &v.sizeCache 900 case 2: 901 return &v.unknownFields 902 default: 903 return nil 904 } 905 } 906 file_apps_token_pb_request_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 907 switch v := v.(*ValidateTokenRequest); i { 908 case 0: 909 return &v.state 910 case 1: 911 return &v.sizeCache 912 case 2: 913 return &v.unknownFields 914 default: 915 return nil 916 } 917 } 918 file_apps_token_pb_request_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 919 switch v := v.(*IssueTokenRequest); i { 920 case 0: 921 return &v.state 922 case 1: 923 return &v.sizeCache 924 case 2: 925 return &v.unknownFields 926 default: 927 return nil 928 } 929 } 930 file_apps_token_pb_request_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 931 switch v := v.(*RevolkTokenRequest); i { 932 case 0: 933 return &v.state 934 case 1: 935 return &v.sizeCache 936 case 2: 937 return &v.unknownFields 938 default: 939 return nil 940 } 941 } 942 file_apps_token_pb_request_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 943 switch v := v.(*QueryTokenRequest); i { 944 case 0: 945 return &v.state 946 case 1: 947 return &v.sizeCache 948 case 2: 949 return &v.unknownFields 950 default: 951 return nil 952 } 953 } 954 file_apps_token_pb_request_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 955 switch v := v.(*BlockTokenRequest); i { 956 case 0: 957 return &v.state 958 case 1: 959 return &v.sizeCache 960 case 2: 961 return &v.unknownFields 962 default: 963 return nil 964 } 965 } 966 file_apps_token_pb_request_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 967 switch v := v.(*ChangeNamespaceRequest); i { 968 case 0: 969 return &v.state 970 case 1: 971 return &v.sizeCache 972 case 2: 973 return &v.unknownFields 974 default: 975 return nil 976 } 977 } 978 file_apps_token_pb_request_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 979 switch v := v.(*DeleteTokenRequest); i { 980 case 0: 981 return &v.state 982 case 1: 983 return &v.sizeCache 984 case 2: 985 return &v.unknownFields 986 default: 987 return nil 988 } 989 } 990 file_apps_token_pb_request_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 991 switch v := v.(*DeleteTokenResponse); i { 992 case 0: 993 return &v.state 994 case 1: 995 return &v.sizeCache 996 case 2: 997 return &v.unknownFields 998 default: 999 return nil 1000 } 1001 } 1002 } 1003 type x struct{} 1004 out := protoimpl.TypeBuilder{ 1005 File: protoimpl.DescBuilder{ 1006 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1007 RawDescriptor: file_apps_token_pb_request_proto_rawDesc, 1008 NumEnums: 0, 1009 NumMessages: 9, 1010 NumExtensions: 0, 1011 NumServices: 0, 1012 }, 1013 GoTypes: file_apps_token_pb_request_proto_goTypes, 1014 DependencyIndexes: file_apps_token_pb_request_proto_depIdxs, 1015 MessageInfos: file_apps_token_pb_request_proto_msgTypes, 1016 }.Build() 1017 File_apps_token_pb_request_proto = out.File 1018 file_apps_token_pb_request_proto_rawDesc = nil 1019 file_apps_token_pb_request_proto_goTypes = nil 1020 file_apps_token_pb_request_proto_depIdxs = nil 1021 }