Documentation
¶
Index ¶
- func ACSService(w http.ResponseWriter, r *http.Request) (err error)
- func BirkSLOService(w http.ResponseWriter, r *http.Request) (err error)
- func BirkService(w http.ResponseWriter, r *http.Request) (err error)
- func IdPSLOService(w http.ResponseWriter, r *http.Request) (err error)
- func IdWayfDkACSService(w http.ResponseWriter, r *http.Request) (err error)
- func IdWayfDkSSOService(w http.ResponseWriter, r *http.Request) (err error)
- func KribSLOService(w http.ResponseWriter, r *http.Request) (err error)
- func KribService(w http.ResponseWriter, r *http.Request) (err error)
- func Main()
- func OkService(w http.ResponseWriter, r *http.Request) (err error)
- func SLOInfoHandler(w http.ResponseWriter, r *http.Request, ...) (sloinfo *gosaml.SLOInfo, err error)
- func SLOService(w http.ResponseWriter, r *http.Request, ...) (err error)
- func SPSLOService(w http.ResponseWriter, r *http.Request) (err error)
- func SSOService(w http.ResponseWriter, r *http.Request) (err error)
- func SloRequest(w http.ResponseWriter, r *http.Request, ...)
- func SloResponse(w http.ResponseWriter, r *http.Request, request, issuer, destination *goxml.Xp)
- func VeryVeryPoorMansScopingService(w http.ResponseWriter, r *http.Request) (err error)
- func WayfKribHandler(response, birkMd, kribMd *goxml.Xp) (destination string, err error)
- type AttributeReleaseData
- type HybridSession
- type MdSets
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ACSService ¶
func ACSService(w http.ResponseWriter, r *http.Request) (err error)
ACSService handles all the stuff related to receiving response and attribute handling
func BirkSLOService ¶
func BirkSLOService(w http.ResponseWriter, r *http.Request) (err error)
BirkSLOService refers to birk single logout service. Takes request as a parameter and returns an error if any
func BirkService ¶
func BirkService(w http.ResponseWriter, r *http.Request) (err error)
BirkService refers to handling the request at Birk
func IdPSLOService ¶
func IdPSLOService(w http.ResponseWriter, r *http.Request) (err error)
IdPSLOService refers to idp single logout service. Takes request as a parameter and returns an error if any
func IdWayfDkACSService ¶
func IdWayfDkACSService(w http.ResponseWriter, r *http.Request) (err error)
func IdWayfDkSSOService ¶
func IdWayfDkSSOService(w http.ResponseWriter, r *http.Request) (err error)
func KribSLOService ¶
func KribSLOService(w http.ResponseWriter, r *http.Request) (err error)
KribSLOService refers to krib single logout service. Takes request as a parameter and returns an error if any
func KribService ¶
func KribService(w http.ResponseWriter, r *http.Request) (err error)
KribService handles all the request at Krib part. Returns an error if something goes wrong.
func SLOInfoHandler ¶
func SLOInfoHandler(w http.ResponseWriter, r *http.Request, samlIn, destinationInMd, samlOut, destinationOutMd *goxml.Xp, role int, tag string) (sloinfo *gosaml.SLOInfo, err error)
Saves or retrieves the SLO info relevant to the contents of the samlMessage For now uses cookies to keep the SLOInfo
func SLOService ¶
func SLOService(w http.ResponseWriter, r *http.Request, issuerMdSet, destinationMdSet gosaml.Md, finalIssuerMdSets, finalDestinationMdSets []gosaml.Md, role int, tag string) (err error)
SLOService refers to single logout service. Takes request and issuer and destination metadata sets, role refers to if it as IDP or SP.
func SPSLOService ¶
func SPSLOService(w http.ResponseWriter, r *http.Request) (err error)
SPSLOService refers to SP single logout service. Takes request as a parameter and returns an error if any
func SSOService ¶
func SSOService(w http.ResponseWriter, r *http.Request) (err error)
SSOService handles single sign on requests
func SloRequest ¶
func SloRequest(w http.ResponseWriter, r *http.Request, response, issuer, destination *goxml.Xp, pk string)
SloRequest generates a single logout request
func SloResponse ¶
SloResponse generates a single logout reponse
func VeryVeryPoorMansScopingService ¶
func VeryVeryPoorMansScopingService(w http.ResponseWriter, r *http.Request) (err error)
VeryVeryPoorMansScopingService handles poors man scoping
Types ¶
type AttributeReleaseData ¶
type AttributeReleaseData struct {
Values map[string][]string
IdPDisplayName map[string]string
IdPLogo string
IdPEntityID string
SPDisplayName map[string]string
SPDescription map[string]string
SPLogo string
SPEntityID string
Key string
Hash string
BypassConfirmation bool
ForceConfirmation bool
ConsentAsAService string
}
func WayfACSServiceHandler ¶
func WayfACSServiceHandler(idpMd, hubMd, spMd, request, response *goxml.Xp, birk bool) (ard AttributeReleaseData, err error)