providertests

package
v0.0.0-...-ce99e66 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExerciseProviderTestScenarios

func ExerciseProviderTestScenarios(t *testing.T, scenarios []ProviderTestScenario)

func LoadCertificateStore

func LoadCertificateStore(path string) dsig.X509CertificateStore

func LoadKeyStore

func LoadKeyStore(certPath, keyPath string) (ks dsig.TLSCertKeyStore)

func LoadRawResponse

func LoadRawResponse(path string) string

func LoadXMLResponse

func LoadXMLResponse(path string) string

Types

type ProviderTestScenario

type ProviderTestScenario struct {
	ScenarioName     string
	Response         string
	ServiceProvider  *saml2.SAMLServiceProvider
	CheckError       func(*testing.T, error)
	CheckWarningInfo func(*testing.T, *saml2.WarningInfo)
}

Jump to

Keyboard shortcuts

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