# Functions
NewHandler builds a new SAML handler from a SAML provider and a list of trusted domains.
NewProvider builds a new SAML provider.
NewRandomKeyStore builds a new RandomKeyStore.
# Variables
ErrGeneratingToken indicates there was an error genereting JWT token.
ErrMalformedSAML indicates there is a format error on SAML callback request.
ErrNotInAudience indicates SAML validation contains an audience related warning.
ErrParsingMetadata indicates there was an error obtaining or parsing metadata.
ErrRelayStateInvalid indicates the provided "redirect_to" URL is not valid.
ErrSAMLRequest indicates there is an error on SAML callback request.
ErrUntrustedDomain indicates the redirect domain is not trusted.
ErrUserDataCallback indicates there was an error executing user data callback.
# Structs
CallbackConfig specifies config options for the login callback function.
RandomKeyStore is a X509KeyStore which generates a new random private key and certificate from it.
UserData contains the basic auth data associated with a user obtained from SAML response.
# Interfaces
Handler represents a SAML authentication handler.
Provider represents a component that is able to interact and communicate with a SAML IdP.
X509KeyStore represents an X509 keystore.
# Type aliases
TokenGenerator defines the method to generate a new session token.
UserDataCallback represents the callback to execute when user data is obtained from SAML response.