Documentation ¶
Index ¶
- func CheckUserCredentials(r *http.Request, w http.ResponseWriter, req *saml.IdpAuthnRequest) (string, string, error)
- func FindUser(email string, password string, idp *saml.IdentityProvider, cfg *config.Config) (map[string]interface{}, error)
- func GenerateSignedSAMLToken(idp *saml.IdentityProvider, user map[string]interface{}) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckUserCredentials ¶
func CheckUserCredentials(r *http.Request, w http.ResponseWriter, req *saml.IdpAuthnRequest) (string, string, error)
checks user credentials
func FindUser ¶
func FindUser(email string, password string, idp *saml.IdentityProvider, cfg *config.Config) (map[string]interface{}, error)
FindUser retrives the user by email and password
func GenerateSignedSAMLToken ¶
func GenerateSignedSAMLToken(idp *saml.IdentityProvider, user map[string]interface{}) (string, error)
generateSignedSAMLToken generates signed SAML token
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.