Documentation ¶
Overview ¶
Package internal is a generated protocol buffer package.
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
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Marshal ¶
Marshal converts a protobuf message to a URL legal string.
Types ¶
type IDTokenSubject ¶
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"` }
IDTokenSubject represents both the userID and connID which is returned as the "sub" claim in the ID Token.
func (*IDTokenSubject) Descriptor ¶
func (*IDTokenSubject) Descriptor() ([]byte, []int)
func (*IDTokenSubject) ProtoMessage ¶
func (*IDTokenSubject) ProtoMessage()
func (*IDTokenSubject) Reset ¶
func (m *IDTokenSubject) Reset()
func (*IDTokenSubject) String ¶
func (m *IDTokenSubject) String() string
type RefreshToken ¶
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"` }
RefreshToken is a message that holds refresh token data used by dex.
func (*RefreshToken) Descriptor ¶
func (*RefreshToken) Descriptor() ([]byte, []int)
func (*RefreshToken) ProtoMessage ¶
func (*RefreshToken) ProtoMessage()
func (*RefreshToken) Reset ¶
func (m *RefreshToken) Reset()
func (*RefreshToken) String ¶
func (m *RefreshToken) String() string
Click to show internal directories.
Click to hide internal directories.