1
0
Fork 0

renamed HttpClient to HTTPClient.

Dieser Commit ist enthalten in:
Sebastian Tobie 2021-01-19 00:19:33 +01:00
Ursprung ba2ed57968
Commit cca8fcc237
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -48,7 +48,7 @@ type SAML struct {
UnkownAuthority bool
IDP string `comment:"URL of the Metadata of the IDP"`
sp *saml.ServiceProvider
HttpClient http.Client `toml:"-"`
HTTPClient http.Client `toml:"-"`
Domain string
Cookiename string
}
@ -99,7 +99,7 @@ func NewSAMLEndpoint(config *toml.Tree) (s *SAML, err error) {
if err != nil {
return
}
s.sp.IDPMetadata, err = samlsp.FetchMetadata(context.Background(), &s.HttpClient, *idpurl)
s.sp.IDPMetadata, err = samlsp.FetchMetadata(context.Background(), &s.HTTPClient, *idpurl)
if err != nil {
return
}