Documentation ¶
Index ¶
- type DexSubject
- func (*DexSubject) Descriptor() ([]byte, []int)
- func (m *DexSubject) GetConnId() string
- func (m *DexSubject) GetUserId() string
- func (*DexSubject) ProtoMessage()
- func (m *DexSubject) Reset()
- func (m *DexSubject) String() string
- func (m *DexSubject) XXX_DiscardUnknown()
- func (m *DexSubject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DexSubject) XXX_Merge(src proto.Message)
- func (m *DexSubject) XXX_Size() int
- func (m *DexSubject) XXX_Unmarshal(b []byte) error
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)
- func (m *LoginRequest) GetAcrValues() []string
- func (m *LoginRequest) GetClientId() string
- func (m *LoginRequest) GetScopes() []string
- func (*LoginRequest) ProtoMessage()
- func (m *LoginRequest) Reset()
- func (m *LoginRequest) String() string
- func (m *LoginRequest) XXX_DiscardUnknown()
- func (m *LoginRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoginRequest) XXX_Merge(src proto.Message)
- func (m *LoginRequest) XXX_Size() int
- func (m *LoginRequest) XXX_Unmarshal(b []byte) error
- type Session
- func (*Session) Descriptor() ([]byte, []int)
- func (m *Session) GetClaims() *v1beta1.Claims
- func (m *Session) GetConnectorData() []byte
- func (m *Session) GetLoginRequest() *LoginRequest
- func (m *Session) GetOidcSession() *any.Any
- func (*Session) ProtoMessage()
- func (m *Session) Reset()
- func (m *Session) String() string
- func (m *Session) XXX_DiscardUnknown()
- func (m *Session) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Session) XXX_Merge(src proto.Message)
- func (m *Session) XXX_Size() int
- func (m *Session) XXX_Unmarshal(b []byte) error
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) GetConnectorData ¶
func (*Session) GetLoginRequest ¶
func (m *Session) GetLoginRequest() *LoginRequest
func (*Session) GetOidcSession ¶
func (*Session) ProtoMessage ¶
func (*Session) ProtoMessage()
func (*Session) XXX_DiscardUnknown ¶
func (m *Session) XXX_DiscardUnknown()
func (*Session) XXX_Marshal ¶
func (*Session) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.