Documentation ¶
Index ¶
- type ArtifactResponse
- func (*ArtifactResponse) Descriptor() ([]byte, []int)
- func (m *ArtifactResponse) GetRequest() *AuthnRequest
- func (m *ArtifactResponse) GetUser() *User
- func (*ArtifactResponse) ProtoMessage()
- func (m *ArtifactResponse) Reset()
- func (m *ArtifactResponse) String() string
- func (m *ArtifactResponse) XXX_DiscardUnknown()
- func (m *ArtifactResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ArtifactResponse) XXX_Merge(src proto.Message)
- func (m *ArtifactResponse) XXX_Size() int
- func (m *ArtifactResponse) XXX_Unmarshal(b []byte) error
- type Attribute
- func (*Attribute) Descriptor() ([]byte, []int)
- func (m *Attribute) GetName() string
- func (m *Attribute) GetValue() []string
- func (*Attribute) ProtoMessage()
- func (m *Attribute) Reset()
- func (m *Attribute) String() string
- func (m *Attribute) XXX_DiscardUnknown()
- func (m *Attribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Attribute) XXX_Merge(src proto.Message)
- func (m *Attribute) XXX_Size() int
- func (m *Attribute) XXX_Unmarshal(b []byte) error
- type AuthnRequest
- func (*AuthnRequest) Descriptor() ([]byte, []int)
- func (m *AuthnRequest) GetAssertionConsumerServiceIndex() uint32
- func (m *AuthnRequest) GetAssertionConsumerServiceURL() string
- func (m *AuthnRequest) GetDestination() string
- func (m *AuthnRequest) GetID() string
- func (m *AuthnRequest) GetIssueInstant() *timestamp.Timestamp
- func (m *AuthnRequest) GetIssuer() string
- func (m *AuthnRequest) GetProtocolBinding() string
- func (m *AuthnRequest) GetRelayState() string
- func (m *AuthnRequest) GetVersion() string
- func (*AuthnRequest) ProtoMessage()
- func (m *AuthnRequest) Reset()
- func (m *AuthnRequest) String() string
- func (m *AuthnRequest) XXX_DiscardUnknown()
- func (m *AuthnRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuthnRequest) XXX_Merge(src proto.Message)
- func (m *AuthnRequest) XXX_Size() int
- func (m *AuthnRequest) XXX_Unmarshal(b []byte) error
- type User
- func (u *User) AppendAttributes(atts []*Attribute)
- func (u *User) AttributeStatement() *saml.AttributeStatement
- func (*User) Descriptor() ([]byte, []int)
- func (m *User) GetAttributes() []*Attribute
- func (m *User) GetContext() string
- func (m *User) GetFormat() string
- func (m *User) GetIP() string
- func (m *User) GetName() string
- func (m *User) GetX509Certificate() []byte
- func (*User) ProtoMessage()
- func (m *User) Reset()
- func (m *User) String() string
- func (m *User) XXX_DiscardUnknown()
- func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *User) XXX_Merge(src proto.Message)
- func (m *User) XXX_Size() int
- func (m *User) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArtifactResponse ¶
type ArtifactResponse struct { User *User `protobuf:"bytes,1,opt,name=User,proto3" json:"User,omitempty"` Request *AuthnRequest `protobuf:"bytes,2,opt,name=Request,proto3" json:"Request,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Allows storage of data required for artifact response until service provider retrieves it
func (*ArtifactResponse) Descriptor ¶
func (*ArtifactResponse) Descriptor() ([]byte, []int)
func (*ArtifactResponse) GetRequest ¶
func (m *ArtifactResponse) GetRequest() *AuthnRequest
func (*ArtifactResponse) GetUser ¶
func (m *ArtifactResponse) GetUser() *User
func (*ArtifactResponse) ProtoMessage ¶
func (*ArtifactResponse) ProtoMessage()
func (*ArtifactResponse) Reset ¶
func (m *ArtifactResponse) Reset()
func (*ArtifactResponse) String ¶
func (m *ArtifactResponse) String() string
func (*ArtifactResponse) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *ArtifactResponse) XXX_DiscardUnknown()
func (*ArtifactResponse) XXX_Marshal ¶ added in v0.8.0
func (m *ArtifactResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ArtifactResponse) XXX_Merge ¶ added in v0.8.0
func (m *ArtifactResponse) XXX_Merge(src proto.Message)
func (*ArtifactResponse) XXX_Size ¶ added in v0.8.0
func (m *ArtifactResponse) XXX_Size() int
func (*ArtifactResponse) XXX_Unmarshal ¶ added in v0.8.0
func (m *ArtifactResponse) XXX_Unmarshal(b []byte) error
type Attribute ¶
type Attribute struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` Value []string `protobuf:"bytes,2,rep,name=Value,proto3" json:"Value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
User attributes
func (*Attribute) Descriptor ¶
func (*Attribute) ProtoMessage ¶
func (*Attribute) ProtoMessage()
func (*Attribute) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *Attribute) XXX_DiscardUnknown()
func (*Attribute) XXX_Marshal ¶ added in v0.8.0
func (*Attribute) XXX_Unmarshal ¶ added in v0.8.0
type AuthnRequest ¶
type AuthnRequest struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` Version string `protobuf:"bytes,2,opt,name=Version,proto3" json:"Version,omitempty"` IssueInstant *timestamp.Timestamp `protobuf:"bytes,3,opt,name=IssueInstant,proto3" json:"IssueInstant,omitempty"` Issuer string `protobuf:"bytes,4,opt,name=Issuer,proto3" json:"Issuer,omitempty"` Destination string `protobuf:"bytes,5,opt,name=Destination,proto3" json:"Destination,omitempty"` AssertionConsumerServiceURL string `protobuf:"bytes,6,opt,name=AssertionConsumerServiceURL,proto3" json:"AssertionConsumerServiceURL,omitempty"` ProtocolBinding string `protobuf:"bytes,7,opt,name=ProtocolBinding,proto3" json:"ProtocolBinding,omitempty"` AssertionConsumerServiceIndex uint32 `protobuf:"varint,8,opt,name=AssertionConsumerServiceIndex,proto3" json:"AssertionConsumerServiceIndex,omitempty"` RelayState string `protobuf:"bytes,9,opt,name=RelayState,proto3" json:"RelayState,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Allows storage of the request for cases where there is a user wait state such as entering a password
func NewAuthnRequest ¶
func NewAuthnRequest(src *saml.AuthnRequest, relayState string) (*AuthnRequest, error)
NewAuthnRequest creates a protobuf object from XML-derived struct
func (*AuthnRequest) Descriptor ¶
func (*AuthnRequest) Descriptor() ([]byte, []int)
func (*AuthnRequest) GetAssertionConsumerServiceIndex ¶
func (m *AuthnRequest) GetAssertionConsumerServiceIndex() uint32
func (*AuthnRequest) GetAssertionConsumerServiceURL ¶
func (m *AuthnRequest) GetAssertionConsumerServiceURL() string
func (*AuthnRequest) GetDestination ¶
func (m *AuthnRequest) GetDestination() string
func (*AuthnRequest) GetID ¶
func (m *AuthnRequest) GetID() string
func (*AuthnRequest) GetIssueInstant ¶
func (m *AuthnRequest) GetIssueInstant() *timestamp.Timestamp
func (*AuthnRequest) GetIssuer ¶
func (m *AuthnRequest) GetIssuer() string
func (*AuthnRequest) GetProtocolBinding ¶
func (m *AuthnRequest) GetProtocolBinding() string
func (*AuthnRequest) GetRelayState ¶
func (m *AuthnRequest) GetRelayState() string
func (*AuthnRequest) GetVersion ¶
func (m *AuthnRequest) GetVersion() string
func (*AuthnRequest) ProtoMessage ¶
func (*AuthnRequest) ProtoMessage()
func (*AuthnRequest) Reset ¶
func (m *AuthnRequest) Reset()
func (*AuthnRequest) String ¶
func (m *AuthnRequest) String() string
func (*AuthnRequest) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *AuthnRequest) XXX_DiscardUnknown()
func (*AuthnRequest) XXX_Marshal ¶ added in v0.8.0
func (m *AuthnRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuthnRequest) XXX_Merge ¶ added in v0.8.0
func (m *AuthnRequest) XXX_Merge(src proto.Message)
func (*AuthnRequest) XXX_Size ¶ added in v0.8.0
func (m *AuthnRequest) XXX_Size() int
func (*AuthnRequest) XXX_Unmarshal ¶ added in v0.8.0
func (m *AuthnRequest) XXX_Unmarshal(b []byte) error
type User ¶
type User struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` Format string `protobuf:"bytes,2,opt,name=Format,proto3" json:"Format,omitempty"` Context string `protobuf:"bytes,3,opt,name=Context,proto3" json:"Context,omitempty"` IP string `protobuf:"bytes,4,opt,name=IP,proto3" json:"IP,omitempty"` Attributes []*Attribute `protobuf:"bytes,5,rep,name=Attributes,proto3" json:"Attributes,omitempty"` X509Certificate []byte `protobuf:"bytes,6,opt,name=X509Certificate,proto3" json:"X509Certificate,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Allows storage of user information to avoid repeated logins, basis of SSO
func (*User) AppendAttributes ¶
func (*User) AttributeStatement ¶
func (u *User) AttributeStatement() *saml.AttributeStatement
func (*User) Descriptor ¶
func (*User) GetAttributes ¶
func (*User) GetContext ¶
func (*User) GetX509Certificate ¶ added in v0.8.0
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) XXX_DiscardUnknown ¶ added in v0.8.0
func (m *User) XXX_DiscardUnknown()
func (*User) XXX_Marshal ¶ added in v0.8.0
func (*User) XXX_Unmarshal ¶ added in v0.8.0
Click to show internal directories.
Click to hide internal directories.