wayfhybrid

package module
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2018 License: MIT Imports: 31 Imported by: 0

README

Go Report Card

wayfhybrid

Wayfhybrid is a WAYF specific SAML hybrid based on wayf-dk/gohybrid

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ACSService

func ACSService(w http.ResponseWriter, r *http.Request) (err error)

func BirkSLOService

func BirkSLOService(w http.ResponseWriter, r *http.Request) (err error)

func BirkService

func BirkService(w http.ResponseWriter, r *http.Request) (err error)

func IdPSLOService

func IdPSLOService(w http.ResponseWriter, r *http.Request) (err error)

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)

func KribService

func KribService(w http.ResponseWriter, r *http.Request) (err error)

func Main

func Main()

func OkService

func OkService(w http.ResponseWriter, r *http.Request) (err error)

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)

func SPSLOService

func SPSLOService(w http.ResponseWriter, r *http.Request) (err error)

func SSOService

func SSOService(w http.ResponseWriter, r *http.Request) (err error)

func SloRequest

func SloRequest(w http.ResponseWriter, r *http.Request, response, issuer, destination *goxml.Xp, pk string)

func SloResponse

func SloResponse(w http.ResponseWriter, r *http.Request, request, issuer, destination *goxml.Xp)

func VeryVeryPoorMansScopingService

func VeryVeryPoorMansScopingService(w http.ResponseWriter, r *http.Request) (err error)

func WayfKribHandler

func WayfKribHandler(response, birkMd, kribMd *goxml.Xp) (destination string, err error)

Types

type AttributeReleaseData

type AttributeReleaseData struct {
	Values             map[string][]string
	IdPDisplayName     map[string]string
	IdPEntityID        string
	SPDisplayName      map[string]string
	SPDescription      map[string]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)

type MdSets

type MdSets struct {
	Hub, Internal, ExternalIdP, ExternalSP gosaml.Md
}
var (
	Md MdSets
)

Directories

Path Synopsis
cmd
hybrid command

Jump to

Keyboard shortcuts

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