internal

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2022 License: Apache-2.0 Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_server_internal_types_proto protoreflect.FileDescriptor

Functions

func Marshal

func Marshal(message proto.Message) (string, error)

Marshal converts a protobuf message to a URL legal string.

func Unmarshal

func Unmarshal(s string, message proto.Message) error

Unmarshal decodes a protobuf message.

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL