Versions in this module Expand all Collapse all v1 v1.20240719.1 Jul 19, 2024 Changes in this version + const ErrorUnsupportedCanonicalizer + func ParseMetadata(config *SAMLConfig) (*x509.Certificate, error) + type CanonicalizerAlgorithm string + const CanonicalXML10ExclusiveAlgorithmID + const CanonicalXML11AlgorithmID + type Option func(*SAMLProvider) error + func OptClientKeyStore(store dsig.X509KeyStore) Option + func OptConfig(cfg *SAMLConfig) Option + func OptSkipSignatureValidation(validation bool) Option + func OptValidateEncryptionCert(validate bool) Option + type SAMLConfig struct + AssertionConsumerServiceURL string + AudienceURI string + IdentityProviderIssuer string + IdentityProviderSSOURL string + Metadata string + PrivateKey []byte + PublicKey []byte + ServiceProviderIssuer string + SigningXMLCanonicalizer CanonicalizerAlgorithm + type SAMLProvider struct + ClientKeyStore dsig.X509KeyStore + Config *SAMLConfig + Log logger.Logger + Provider *saml2.SAMLServiceProvider + SkipSignatureValidation bool + ValidateEncryptionCert bool + func New(opts ...Option) (*SAMLProvider, error) + func (p *SAMLProvider) BuildURL(state string) (string, error) + func (p *SAMLProvider) OnSAMLResponse(response string) (*saml2.AssertionInfo, error) + type X509KeyStore struct + func (ks *X509KeyStore) GetKeyPair() (*rsa.PrivateKey, []byte, error)