internal

package
v2.4.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

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

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" 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

Jump to

Keyboard shortcuts

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