2020-02-03 08:16:02 +00:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
2020-02-25 22:15:44 +00:00
|
|
|
// source: micro/go-micro/auth/service/proto/auth.proto
|
2020-02-03 08:16:02 +00:00
|
|
|
|
|
|
|
package go_micro_auth
|
|
|
|
|
|
|
|
import (
|
|
|
|
fmt "fmt"
|
|
|
|
proto "github.com/golang/protobuf/proto"
|
|
|
|
math "math"
|
|
|
|
)
|
|
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
var _ = proto.Marshal
|
|
|
|
var _ = fmt.Errorf
|
|
|
|
var _ = math.Inf
|
|
|
|
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
|
|
// is compatible with the proto package it is being compiled against.
|
|
|
|
// A compilation error at this line likely means your copy of the
|
|
|
|
// proto package needs to be updated.
|
|
|
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
|
|
|
|
|
|
|
type Account struct {
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
|
|
|
|
Created int64 `protobuf:"varint,3,opt,name=created,proto3" json:"created,omitempty"`
|
|
|
|
Expiry int64 `protobuf:"varint,4,opt,name=expiry,proto3" json:"expiry,omitempty"`
|
|
|
|
Roles []*Role `protobuf:"bytes,5,rep,name=roles,proto3" json:"roles,omitempty"`
|
|
|
|
Metadata map[string]string `protobuf:"bytes,6,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Account) Reset() { *m = Account{} }
|
|
|
|
func (m *Account) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Account) ProtoMessage() {}
|
|
|
|
func (*Account) Descriptor() ([]byte, []int) {
|
2020-02-25 22:15:44 +00:00
|
|
|
return fileDescriptor_de609d4872dacc78, []int{0}
|
2020-02-03 08:16:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Account) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_Account.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *Account) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_Account.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *Account) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_Account.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *Account) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_Account.Size(m)
|
|
|
|
}
|
|
|
|
func (m *Account) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_Account.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_Account proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *Account) GetId() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Id
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Account) GetToken() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Token
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Account) GetCreated() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Created
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Account) GetExpiry() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Expiry
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Account) GetRoles() []*Role {
|
|
|
|
if m != nil {
|
|
|
|
return m.Roles
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Account) GetMetadata() map[string]string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Metadata
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type Role struct {
|
|
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
|
|
Resource *Resource `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Role) Reset() { *m = Role{} }
|
|
|
|
func (m *Role) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Role) ProtoMessage() {}
|
|
|
|
func (*Role) Descriptor() ([]byte, []int) {
|
2020-02-25 22:15:44 +00:00
|
|
|
return fileDescriptor_de609d4872dacc78, []int{1}
|
2020-02-03 08:16:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Role) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_Role.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *Role) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_Role.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *Role) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_Role.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *Role) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_Role.Size(m)
|
|
|
|
}
|
|
|
|
func (m *Role) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_Role.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_Role proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *Role) GetName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Name
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Role) GetResource() *Resource {
|
|
|
|
if m != nil {
|
|
|
|
return m.Resource
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type Resource struct {
|
|
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
|
|
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Resource) Reset() { *m = Resource{} }
|
|
|
|
func (m *Resource) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Resource) ProtoMessage() {}
|
|
|
|
func (*Resource) Descriptor() ([]byte, []int) {
|
2020-02-25 22:15:44 +00:00
|
|
|
return fileDescriptor_de609d4872dacc78, []int{2}
|
2020-02-03 08:16:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Resource) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_Resource.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *Resource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_Resource.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *Resource) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_Resource.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *Resource) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_Resource.Size(m)
|
|
|
|
}
|
|
|
|
func (m *Resource) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_Resource.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_Resource proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *Resource) GetName() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Name
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Resource) GetType() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Type
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type GenerateRequest struct {
|
|
|
|
Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GenerateRequest) Reset() { *m = GenerateRequest{} }
|
|
|
|
func (m *GenerateRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*GenerateRequest) ProtoMessage() {}
|
|
|
|
func (*GenerateRequest) Descriptor() ([]byte, []int) {
|
2020-02-25 22:15:44 +00:00
|
|
|
return fileDescriptor_de609d4872dacc78, []int{3}
|
2020-02-03 08:16:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GenerateRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_GenerateRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *GenerateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_GenerateRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *GenerateRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_GenerateRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *GenerateRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_GenerateRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *GenerateRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_GenerateRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_GenerateRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *GenerateRequest) GetAccount() *Account {
|
|
|
|
if m != nil {
|
|
|
|
return m.Account
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type GenerateResponse struct {
|
|
|
|
Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GenerateResponse) Reset() { *m = GenerateResponse{} }
|
|
|
|
func (m *GenerateResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*GenerateResponse) ProtoMessage() {}
|
|
|
|
func (*GenerateResponse) Descriptor() ([]byte, []int) {
|
2020-02-25 22:15:44 +00:00
|
|
|
return fileDescriptor_de609d4872dacc78, []int{4}
|
2020-02-03 08:16:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *GenerateResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_GenerateResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *GenerateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_GenerateResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *GenerateResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_GenerateResponse.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *GenerateResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_GenerateResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *GenerateResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_GenerateResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_GenerateResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *GenerateResponse) GetAccount() *Account {
|
|
|
|
if m != nil {
|
|
|
|
return m.Account
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-02-25 22:15:44 +00:00
|
|
|
type VerifyRequest struct {
|
2020-02-03 08:16:02 +00:00
|
|
|
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
2020-02-25 22:15:44 +00:00
|
|
|
func (m *VerifyRequest) Reset() { *m = VerifyRequest{} }
|
|
|
|
func (m *VerifyRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*VerifyRequest) ProtoMessage() {}
|
|
|
|
func (*VerifyRequest) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_de609d4872dacc78, []int{5}
|
2020-02-03 08:16:02 +00:00
|
|
|
}
|
|
|
|
|
2020-02-25 22:15:44 +00:00
|
|
|
func (m *VerifyRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_VerifyRequest.Unmarshal(m, b)
|
2020-02-03 08:16:02 +00:00
|
|
|
}
|
2020-02-25 22:15:44 +00:00
|
|
|
func (m *VerifyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_VerifyRequest.Marshal(b, m, deterministic)
|
2020-02-03 08:16:02 +00:00
|
|
|
}
|
2020-02-25 22:15:44 +00:00
|
|
|
func (m *VerifyRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_VerifyRequest.Merge(m, src)
|
2020-02-03 08:16:02 +00:00
|
|
|
}
|
2020-02-25 22:15:44 +00:00
|
|
|
func (m *VerifyRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_VerifyRequest.Size(m)
|
2020-02-03 08:16:02 +00:00
|
|
|
}
|
2020-02-25 22:15:44 +00:00
|
|
|
func (m *VerifyRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_VerifyRequest.DiscardUnknown(m)
|
2020-02-03 08:16:02 +00:00
|
|
|
}
|
|
|
|
|
2020-02-25 22:15:44 +00:00
|
|
|
var xxx_messageInfo_VerifyRequest proto.InternalMessageInfo
|
2020-02-03 08:16:02 +00:00
|
|
|
|
2020-02-25 22:15:44 +00:00
|
|
|
func (m *VerifyRequest) GetToken() string {
|
2020-02-03 08:16:02 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.Token
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-02-25 22:15:44 +00:00
|
|
|
type VerifyResponse struct {
|
2020-02-03 08:16:02 +00:00
|
|
|
Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
2020-02-25 22:15:44 +00:00
|
|
|
func (m *VerifyResponse) Reset() { *m = VerifyResponse{} }
|
|
|
|
func (m *VerifyResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*VerifyResponse) ProtoMessage() {}
|
|
|
|
func (*VerifyResponse) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_de609d4872dacc78, []int{6}
|
2020-02-03 08:16:02 +00:00
|
|
|
}
|
|
|
|
|
2020-02-25 22:15:44 +00:00
|
|
|
func (m *VerifyResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_VerifyResponse.Unmarshal(m, b)
|
2020-02-03 08:16:02 +00:00
|
|
|
}
|
2020-02-25 22:15:44 +00:00
|
|
|
func (m *VerifyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_VerifyResponse.Marshal(b, m, deterministic)
|
2020-02-03 08:16:02 +00:00
|
|
|
}
|
2020-02-25 22:15:44 +00:00
|
|
|
func (m *VerifyResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_VerifyResponse.Merge(m, src)
|
2020-02-03 08:16:02 +00:00
|
|
|
}
|
2020-02-25 22:15:44 +00:00
|
|
|
func (m *VerifyResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_VerifyResponse.Size(m)
|
2020-02-03 08:16:02 +00:00
|
|
|
}
|
2020-02-25 22:15:44 +00:00
|
|
|
func (m *VerifyResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_VerifyResponse.DiscardUnknown(m)
|
2020-02-03 08:16:02 +00:00
|
|
|
}
|
|
|
|
|
2020-02-25 22:15:44 +00:00
|
|
|
var xxx_messageInfo_VerifyResponse proto.InternalMessageInfo
|
2020-02-03 08:16:02 +00:00
|
|
|
|
2020-02-25 22:15:44 +00:00
|
|
|
func (m *VerifyResponse) GetAccount() *Account {
|
2020-02-03 08:16:02 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.Account
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type RevokeRequest struct {
|
|
|
|
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *RevokeRequest) Reset() { *m = RevokeRequest{} }
|
|
|
|
func (m *RevokeRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*RevokeRequest) ProtoMessage() {}
|
|
|
|
func (*RevokeRequest) Descriptor() ([]byte, []int) {
|
2020-02-25 22:15:44 +00:00
|
|
|
return fileDescriptor_de609d4872dacc78, []int{7}
|
2020-02-03 08:16:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *RevokeRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_RevokeRequest.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *RevokeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_RevokeRequest.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *RevokeRequest) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_RevokeRequest.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *RevokeRequest) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_RevokeRequest.Size(m)
|
|
|
|
}
|
|
|
|
func (m *RevokeRequest) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_RevokeRequest.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_RevokeRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func (m *RevokeRequest) GetToken() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Token
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type RevokeResponse struct {
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *RevokeResponse) Reset() { *m = RevokeResponse{} }
|
|
|
|
func (m *RevokeResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*RevokeResponse) ProtoMessage() {}
|
|
|
|
func (*RevokeResponse) Descriptor() ([]byte, []int) {
|
2020-02-25 22:15:44 +00:00
|
|
|
return fileDescriptor_de609d4872dacc78, []int{8}
|
2020-02-03 08:16:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *RevokeResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_RevokeResponse.Unmarshal(m, b)
|
|
|
|
}
|
|
|
|
func (m *RevokeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_RevokeResponse.Marshal(b, m, deterministic)
|
|
|
|
}
|
|
|
|
func (m *RevokeResponse) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_RevokeResponse.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *RevokeResponse) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_RevokeResponse.Size(m)
|
|
|
|
}
|
|
|
|
func (m *RevokeResponse) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_RevokeResponse.DiscardUnknown(m)
|
|
|
|
}
|
|
|
|
|
|
|
|
var xxx_messageInfo_RevokeResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
proto.RegisterType((*Account)(nil), "go.micro.auth.Account")
|
|
|
|
proto.RegisterMapType((map[string]string)(nil), "go.micro.auth.Account.MetadataEntry")
|
|
|
|
proto.RegisterType((*Role)(nil), "go.micro.auth.Role")
|
|
|
|
proto.RegisterType((*Resource)(nil), "go.micro.auth.Resource")
|
|
|
|
proto.RegisterType((*GenerateRequest)(nil), "go.micro.auth.GenerateRequest")
|
|
|
|
proto.RegisterType((*GenerateResponse)(nil), "go.micro.auth.GenerateResponse")
|
2020-02-25 22:15:44 +00:00
|
|
|
proto.RegisterType((*VerifyRequest)(nil), "go.micro.auth.VerifyRequest")
|
|
|
|
proto.RegisterType((*VerifyResponse)(nil), "go.micro.auth.VerifyResponse")
|
2020-02-03 08:16:02 +00:00
|
|
|
proto.RegisterType((*RevokeRequest)(nil), "go.micro.auth.RevokeRequest")
|
|
|
|
proto.RegisterType((*RevokeResponse)(nil), "go.micro.auth.RevokeResponse")
|
|
|
|
}
|
|
|
|
|
2020-02-25 22:15:44 +00:00
|
|
|
func init() {
|
|
|
|
proto.RegisterFile("micro/go-micro/auth/service/proto/auth.proto", fileDescriptor_de609d4872dacc78)
|
|
|
|
}
|
|
|
|
|
|
|
|
var fileDescriptor_de609d4872dacc78 = []byte{
|
|
|
|
// 432 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x53, 0x4b, 0x6f, 0xd3, 0x40,
|
|
|
|
0x10, 0xae, 0x1d, 0xe7, 0xc1, 0x44, 0x09, 0xd1, 0x80, 0x8a, 0x15, 0xf1, 0x88, 0x56, 0x20, 0x05,
|
|
|
|
0x09, 0x1c, 0xe4, 0x5e, 0x10, 0x5c, 0x28, 0x0f, 0xf5, 0x54, 0x21, 0xed, 0x81, 0xfb, 0xe2, 0x0c,
|
|
|
|
0xad, 0x95, 0xc4, 0x6b, 0xd6, 0xeb, 0x08, 0xff, 0x06, 0x7e, 0x28, 0x7f, 0x03, 0x79, 0xd7, 0x1b,
|
|
|
|
0x6a, 0xb7, 0xe5, 0x00, 0xb7, 0x79, 0x7c, 0xf3, 0xcd, 0xf7, 0x8d, 0x76, 0xe1, 0xc5, 0x2e, 0x4d,
|
|
|
|
0x94, 0x5c, 0x5d, 0xc8, 0x97, 0x36, 0x10, 0xa5, 0xbe, 0x5c, 0x15, 0xa4, 0xf6, 0x69, 0x42, 0xab,
|
|
|
|
0x5c, 0x49, 0x6d, 0x4b, 0x91, 0x09, 0x71, 0x72, 0x21, 0x23, 0x83, 0x8b, 0xea, 0x22, 0xfb, 0xe9,
|
|
|
|
0xc3, 0xf0, 0x34, 0x49, 0x64, 0x99, 0x69, 0x9c, 0x82, 0x9f, 0xae, 0x43, 0x6f, 0xe1, 0x2d, 0xef,
|
|
|
|
0x70, 0x3f, 0x5d, 0xe3, 0x7d, 0xe8, 0x6b, 0xb9, 0xa1, 0x2c, 0xf4, 0x4d, 0xc9, 0x26, 0x18, 0xc2,
|
|
|
|
0x30, 0x51, 0x24, 0x34, 0xad, 0xc3, 0xde, 0xc2, 0x5b, 0xf6, 0xb8, 0x4b, 0xf1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