storagev2beta1

package
v0.0.0-...-c9bb2cb Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DexSubject

type DexSubject 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

maps the subject data dex/deci uses for their ID tokens. https://github.com/dexidp/dex/blob/master/server/internal/types.proto The proto binary should be Raw UEL encoded to make the subject https://github.com/dexidp/dex/blob/master/server/internal/codec.go

func (*DexSubject) Descriptor

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

func (*DexSubject) GetConnId

func (m *DexSubject) GetConnId() string

func (*DexSubject) GetUserId

func (m *DexSubject) GetUserId() string

func (*DexSubject) ProtoMessage

func (*DexSubject) ProtoMessage()

func (*DexSubject) Reset

func (m *DexSubject) Reset()

func (*DexSubject) String

func (m *DexSubject) String() string

func (*DexSubject) XXX_DiscardUnknown

func (m *DexSubject) XXX_DiscardUnknown()

func (*DexSubject) XXX_Marshal

func (m *DexSubject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DexSubject) XXX_Merge

func (m *DexSubject) XXX_Merge(src proto.Message)

func (*DexSubject) XXX_Size

func (m *DexSubject) XXX_Size() int

func (*DexSubject) XXX_Unmarshal

func (m *DexSubject) XXX_Unmarshal(b []byte) error

type LoginRequest

type LoginRequest struct {
	Scopes               []string `protobuf:"bytes,1,rep,name=scopes,proto3" json:"scopes,omitempty"`
	AcrValues            []string `protobuf:"bytes,2,rep,name=acr_values,json=acrValues,proto3" json:"acr_values,omitempty"`
	ClientId             string   `protobuf:"bytes,3,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Tracks information about the initial request, so we can pass it to the connector on demand

func (*LoginRequest) Descriptor

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

func (*LoginRequest) GetAcrValues

func (m *LoginRequest) GetAcrValues() []string

func (*LoginRequest) GetClientId

func (m *LoginRequest) GetClientId() string

func (*LoginRequest) GetScopes

func (m *LoginRequest) GetScopes() []string

func (*LoginRequest) ProtoMessage

func (*LoginRequest) ProtoMessage()

func (*LoginRequest) Reset

func (m *LoginRequest) Reset()

func (*LoginRequest) String

func (m *LoginRequest) String() string

func (*LoginRequest) XXX_DiscardUnknown

func (m *LoginRequest) XXX_DiscardUnknown()

func (*LoginRequest) XXX_Marshal

func (m *LoginRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LoginRequest) XXX_Merge

func (m *LoginRequest) XXX_Merge(src proto.Message)

func (*LoginRequest) XXX_Size

func (m *LoginRequest) XXX_Size() int

func (*LoginRequest) XXX_Unmarshal

func (m *LoginRequest) XXX_Unmarshal(b []byte) error

type Session

type Session struct {
	// details about the initial information we were requested with
	LoginRequest *LoginRequest `protobuf:"bytes,1,opt,name=login_request,json=loginRequest,proto3" json:"login_request,omitempty"`
	// this is the pardot/oidc session we track
	OidcSession *any.Any `protobuf:"bytes,2,opt,name=oidc_session,json=oidcSession,proto3" json:"oidc_session,omitempty"`
	// capture the claims the legacy connector needs if this is nil, the
	// authorization has not yet completed
	Claims *v1beta1.Claims `protobuf:"bytes,3,opt,name=claims,proto3" json:"claims,omitempty"`
	// arbitrary data the connector tracks along with the session. Usually JSON.
	ConnectorData        []byte   `protobuf:"bytes,4,opt,name=connector_data,json=connectorData,proto3" json:"connector_data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Session tracks an authentication throughout it's whole lifecycle. it maps to a pardot/oidc session.

func (*Session) Descriptor

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

func (*Session) GetClaims

func (m *Session) GetClaims() *v1beta1.Claims

func (*Session) GetConnectorData

func (m *Session) GetConnectorData() []byte

func (*Session) GetLoginRequest

func (m *Session) GetLoginRequest() *LoginRequest

func (*Session) GetOidcSession

func (m *Session) GetOidcSession() *any.Any

func (*Session) ProtoMessage

func (*Session) ProtoMessage()

func (*Session) Reset

func (m *Session) Reset()

func (*Session) String

func (m *Session) String() string

func (*Session) XXX_DiscardUnknown

func (m *Session) XXX_DiscardUnknown()

func (*Session) XXX_Marshal

func (m *Session) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Session) XXX_Merge

func (m *Session) XXX_Merge(src proto.Message)

func (*Session) XXX_Size

func (m *Session) XXX_Size() int

func (*Session) XXX_Unmarshal

func (m *Session) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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