Documentation ¶
Index ¶
- Variables
- func Marshal(message proto.Message) (string, error)
- func Unmarshal(s string, message proto.Message) error
- type IDTokenSubject
- func (*IDTokenSubject) Descriptor() ([]byte, []int)deprecated
- func (x *IDTokenSubject) GetConnId() string
- func (x *IDTokenSubject) GetUserId() string
- func (*IDTokenSubject) ProtoMessage()
- func (x *IDTokenSubject) ProtoReflect() protoreflect.Message
- func (x *IDTokenSubject) Reset()
- func (x *IDTokenSubject) String() string
- type RefreshToken
- func (*RefreshToken) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshToken) GetRefreshId() string
- func (x *RefreshToken) GetToken() string
- func (*RefreshToken) ProtoMessage()
- func (x *RefreshToken) ProtoReflect() protoreflect.Message
- func (x *RefreshToken) Reset()
- func (x *RefreshToken) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_server_internal_types_proto protoreflect.FileDescriptor
Functions ¶
Types ¶
type IDTokenSubject ¶
type IDTokenSubject struct { 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"` // contains filtered or unexported fields }
IDTokenSubject represents both the userID and connID which is returned as the "sub" claim in the ID Token.
func (*IDTokenSubject) Descriptor
deprecated
func (*IDTokenSubject) Descriptor() ([]byte, []int)
Deprecated: Use IDTokenSubject.ProtoReflect.Descriptor instead.
func (*IDTokenSubject) GetConnId ¶
func (x *IDTokenSubject) GetConnId() string
func (*IDTokenSubject) GetUserId ¶
func (x *IDTokenSubject) GetUserId() string
func (*IDTokenSubject) ProtoMessage ¶
func (*IDTokenSubject) ProtoMessage()
func (*IDTokenSubject) ProtoReflect ¶
func (x *IDTokenSubject) ProtoReflect() protoreflect.Message
func (*IDTokenSubject) Reset ¶
func (x *IDTokenSubject) Reset()
func (*IDTokenSubject) String ¶
func (x *IDTokenSubject) String() string
type RefreshToken ¶
type RefreshToken struct { 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"` // contains filtered or unexported fields }
RefreshToken is a message that holds refresh token data used by dex.
func (*RefreshToken) Descriptor
deprecated
func (*RefreshToken) Descriptor() ([]byte, []int)
Deprecated: Use RefreshToken.ProtoReflect.Descriptor instead.
func (*RefreshToken) GetRefreshId ¶
func (x *RefreshToken) GetRefreshId() string
func (*RefreshToken) GetToken ¶
func (x *RefreshToken) GetToken() string
func (*RefreshToken) ProtoMessage ¶
func (*RefreshToken) ProtoMessage()
func (*RefreshToken) ProtoReflect ¶
func (x *RefreshToken) ProtoReflect() protoreflect.Message
func (*RefreshToken) Reset ¶
func (x *RefreshToken) Reset()
func (*RefreshToken) String ¶
func (x *RefreshToken) String() string
Click to show internal directories.
Click to hide internal directories.