encryptedcookiespb

package
v0.0.0-...-51f9457 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_go_chromium_org_luci_server_encryptedcookies_internal_encryptedcookiespb_cookie_proto protoreflect.FileDescriptor
View Source
var File_go_chromium_org_luci_server_encryptedcookies_internal_encryptedcookiespb_state_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type OpenIDState

type OpenIDState struct {
	SessionId    []byte `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`          // the future session ID (must not exist yet)
	Nonce        []byte `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"`                                   // random string used as `nonce` in the protocol
	CodeVerifier string `protobuf:"bytes,3,opt,name=code_verifier,json=codeVerifier,proto3" json:"code_verifier,omitempty"` // random string used in PKCE protocol
	DestHost     string `protobuf:"bytes,4,opt,name=dest_host,json=destHost,proto3" json:"dest_host,omitempty"`             // the destination redirect host
	DestPath     string `protobuf:"bytes,5,opt,name=dest_path,json=destPath,proto3" json:"dest_path,omitempty"`             // the destination redirect path
	// contains filtered or unexported fields
}

OpenIDState is encrypted and used as `state` in OpenID Connect protocol.

func (*OpenIDState) Descriptor deprecated

func (*OpenIDState) Descriptor() ([]byte, []int)

Deprecated: Use OpenIDState.ProtoReflect.Descriptor instead.

func (*OpenIDState) GetCodeVerifier

func (x *OpenIDState) GetCodeVerifier() string

func (*OpenIDState) GetDestHost

func (x *OpenIDState) GetDestHost() string

func (*OpenIDState) GetDestPath

func (x *OpenIDState) GetDestPath() string

func (*OpenIDState) GetNonce

func (x *OpenIDState) GetNonce() []byte

func (*OpenIDState) GetSessionId

func (x *OpenIDState) GetSessionId() []byte

func (*OpenIDState) ProtoMessage

func (*OpenIDState) ProtoMessage()

func (*OpenIDState) ProtoReflect

func (x *OpenIDState) ProtoReflect() protoreflect.Message

func (*OpenIDState) Reset

func (x *OpenIDState) Reset()

func (*OpenIDState) String

func (x *OpenIDState) String() string

type SessionCookie

type SessionCookie struct {
	SessionId []byte `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	Keyset    []byte `protobuf:"bytes,2,opt,name=keyset,proto3" json:"keyset,omitempty"` // serialized google.crypto.tink.Keyset with AEAD keys
	// contains filtered or unexported fields
}

SessionCookie is a clear-text representation of a session cookie.

It contains the session ID and the per-session keyset used to encrypt the sensitive part of the session stored in the Private proto.

func (*SessionCookie) Descriptor deprecated

func (*SessionCookie) Descriptor() ([]byte, []int)

Deprecated: Use SessionCookie.ProtoReflect.Descriptor instead.

func (*SessionCookie) GetKeyset

func (x *SessionCookie) GetKeyset() []byte

func (*SessionCookie) GetSessionId

func (x *SessionCookie) GetSessionId() []byte

func (*SessionCookie) ProtoMessage

func (*SessionCookie) ProtoMessage()

func (*SessionCookie) ProtoReflect

func (x *SessionCookie) ProtoReflect() protoreflect.Message

func (*SessionCookie) Reset

func (x *SessionCookie) Reset()

func (*SessionCookie) String

func (x *SessionCookie) String() string

Jump to

Keyboard shortcuts

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