saml

package
v0.0.0-...-84592dd Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2017 License: Apache-2.0 Imports: 8 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchIDPInfo

func FetchIDPInfo(metadataURL string) (string, *x509.Certificate, error)

func GenerateSAMLRequest

func GenerateSAMLRequest(spCert *x509.Certificate, spKey crypto.PrivateKey, consumerServiceURL string, idPSSOURL string) (string, error)

func VerifySAMLResponse

func VerifySAMLResponse(payload string, idPCert *x509.Certificate, consumerServiceURL string, attributeName string, validity time.Duration) (string, error)

Types

type ErrExpired

type ErrExpired struct {
	// contains filtered or unexported fields
}

func (ErrExpired) Error

func (e ErrExpired) Error() string

Jump to

Keyboard shortcuts

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