Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InitResponse ¶
func Init ¶
func Init(req *InitRequest) *InitResponse
type ParseMetadataResponse ¶
type ParseMetadataResponse struct {
IDPEntityID string
IDPCertificate *x509.Certificate
RedirectURL string
}
func ParseMetadata ¶
func ParseMetadata(b []byte) (*ParseMetadataResponse, error)
type ValidateError ¶
type ValidateError struct {
RequestID string
AssertionID string
Assertion string
MalformedAssertion bool
UnsignedAssertion bool
ExpiredAssertion bool
BadIDPEntityID *string
BadSPEntityID *string
BadSignatureAlgorithm *string
BadDigestAlgorithm *string
BadCertificate *x509.Certificate
}
func (*ValidateError) Error ¶
func (e *ValidateError) Error() string
type ValidateRequest ¶
type ValidateResponse ¶
type ValidateResponse struct {
RequestID string
AssertionID string
Assertion string
SubjectID string
SubjectAttributes map[string]string
}
func Validate ¶
func Validate(req *ValidateRequest) (*ValidateResponse, error)
Click to show internal directories.
Click to hide internal directories.