Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dex
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
dex
Commits
291cd9e0
Unverified
Commit
291cd9e0
authored
Jul 31, 2019
by
Stephan Renatus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
regenerate protobuf code
Signed-off-by:
Stephan Renatus
<
srenatus@chef.io
>
parent
ea7fd6d4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
67 additions
and
29 deletions
+67
-29
api.pb.go
api/api.pb.go
+0
-0
types.pb.go
server/internal/types.pb.go
+67
-29
No files found.
api/api.pb.go
View file @
291cd9e0
This diff is collapsed.
Click to expand it.
server/internal/types.pb.go
View file @
291cd9e0
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: server/internal/types.proto
/*
Package internal is a generated protocol buffer package.
// Package internal holds protobuf types used by the server
Package internal holds protobuf types used by the server
It is generated from these files:
server/internal/types.proto
It has these top-level messages:
RefreshToken
IDTokenSubject
*/
package
internal
import
proto
"github.com/golang/protobuf/proto"
import
fmt
"fmt"
import
math
"math"
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
...
...
@@ -28,18 +20,41 @@ var _ = math.Inf
// 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
.
ProtoPackageIsVersion
2
// please upgrade the proto package
const
_
=
proto
.
ProtoPackageIsVersion
3
// please upgrade the proto package
// RefreshToken is a message that holds refresh token data used by dex.
type
RefreshToken
struct
{
RefreshId
string
`protobuf:"bytes,1,opt,name=refresh_id,json=refreshId" json:"refresh_id,omitempty"`
Token
string
`protobuf:"bytes,2,opt,name=token" json:"token,omitempty"`
RefreshId
string
`protobuf:"bytes,1,opt,name=refresh_id,json=refreshId,proto3" json:"refresh_id,omitempty"`
Token
string
`protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
RefreshToken
)
Reset
()
{
*
m
=
RefreshToken
{}
}
func
(
m
*
RefreshToken
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
RefreshToken
)
ProtoMessage
()
{}
func
(
*
RefreshToken
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_c3164bea0c2d595f
,
[]
int
{
0
}
}
func
(
m
*
RefreshToken
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_RefreshToken
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
RefreshToken
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_RefreshToken
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
m
*
RefreshToken
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_RefreshToken
.
Merge
(
m
,
src
)
}
func
(
m
*
RefreshToken
)
XXX_Size
()
int
{
return
xxx_messageInfo_RefreshToken
.
Size
(
m
)
}
func
(
m
*
RefreshToken
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_RefreshToken
.
DiscardUnknown
(
m
)
}
func
(
m
*
RefreshToken
)
Reset
()
{
*
m
=
RefreshToken
{}
}
func
(
m
*
RefreshToken
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
RefreshToken
)
ProtoMessage
()
{}
func
(
*
RefreshToken
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
0
}
}
var
xxx_messageInfo_RefreshToken
proto
.
InternalMessageInfo
func
(
m
*
RefreshToken
)
GetRefreshId
()
string
{
if
m
!=
nil
{
...
...
@@ -58,14 +73,37 @@ func (m *RefreshToken) GetToken() string {
// IDTokenSubject represents both the userID and connID which is returned
// as the "sub" claim in the ID Token.
type
IDTokenSubject
struct
{
UserId
string
`protobuf:"bytes,1,opt,name=user_id,json=userId" json:"user_id,omitempty"`
ConnId
string
`protobuf:"bytes,2,opt,name=conn_id,json=connId" json:"conn_id,omitempty"`
UserId
string
`protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
ConnId
string
`protobuf:"bytes,2,opt,name=conn_id,json=connId,proto3" json:"conn_id,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
IDTokenSubject
)
Reset
()
{
*
m
=
IDTokenSubject
{}
}
func
(
m
*
IDTokenSubject
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
IDTokenSubject
)
ProtoMessage
()
{}
func
(
*
IDTokenSubject
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_c3164bea0c2d595f
,
[]
int
{
1
}
}
func
(
m
*
IDTokenSubject
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_IDTokenSubject
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
IDTokenSubject
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_IDTokenSubject
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
m
*
IDTokenSubject
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_IDTokenSubject
.
Merge
(
m
,
src
)
}
func
(
m
*
IDTokenSubject
)
XXX_Size
()
int
{
return
xxx_messageInfo_IDTokenSubject
.
Size
(
m
)
}
func
(
m
*
IDTokenSubject
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_IDTokenSubject
.
DiscardUnknown
(
m
)
}
func
(
m
*
IDTokenSubject
)
Reset
()
{
*
m
=
IDTokenSubject
{}
}
func
(
m
*
IDTokenSubject
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
IDTokenSubject
)
ProtoMessage
()
{}
func
(
*
IDTokenSubject
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor0
,
[]
int
{
1
}
}
var
xxx_messageInfo_IDTokenSubject
proto
.
InternalMessageInfo
func
(
m
*
IDTokenSubject
)
GetUserId
()
string
{
if
m
!=
nil
{
...
...
@@ -86,9 +124,9 @@ func init() {
proto
.
RegisterType
((
*
IDTokenSubject
)(
nil
),
"internal.IDTokenSubject"
)
}
func
init
()
{
proto
.
RegisterFile
(
"server/internal/types.proto"
,
fileDescriptor
0
)
}
func
init
()
{
proto
.
RegisterFile
(
"server/internal/types.proto"
,
fileDescriptor
_c3164bea0c2d595f
)
}
var
fileDescriptor
0
=
[]
byte
{
var
fileDescriptor
_c3164bea0c2d595f
=
[]
byte
{
// 157 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0xe2
,
0x92
,
0x2e
,
0x4e
,
0x2d
,
0x2a
,
0x4b
,
0x2d
,
0xd2
,
0xcf
,
0xcc
,
0x2b
,
0x49
,
0x2d
,
0xca
,
0x4b
,
0xcc
,
0xd1
,
0x2f
,
0xa9
,
0x2c
,
0x48
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment