- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 175 for req (0.21 sec)
-
cmd/generic-handlers_contrib.go
"strings" ) // guessIsLoginSTSReq - returns true if incoming request is Login STS user func guessIsLoginSTSReq(req *http.Request) bool { if req == nil { return false } return strings.HasPrefix(req.URL.Path, loginPathPrefix) || (req.Method == http.MethodPost && req.URL.Path == SlashSeparator && getRequestAuthType(req) == authTypeSTS)
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Fri Apr 30 15:50:39 GMT 2021 - 995 bytes - Viewed (0) -
internal/config/identity/plugin/config.go
func (a *Args) Validate() error { req, err := http.NewRequest(http.MethodPost, a.URL.String(), bytes.NewReader([]byte(""))) if err != nil { return err } req.Header.Set("Content-Type", "application/json") if a.AuthToken != "" { req.Header.Set("Authorization", a.AuthToken) } client := &http.Client{Transport: a.Transport} resp, err := client.Do(req) if err != nil { return err }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 13.3K bytes - Viewed (3) -
internal/config/identity/openid/providercfg.go
return nil, errors.New("openid not configured") } req, err := http.NewRequestWithContext(ctx, http.MethodPost, p.DiscoveryDoc.UserInfoEndpoint, nil) if err != nil { return nil, err } req.Header.Set("Content-Type", "application/x-www-form-urlencoded") if accessToken != "" { req.Header.Set("Authorization", "Bearer "+accessToken) } client := &http.Client{
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 4.6K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java
MavenSession session = legacySupport.getSession(); if (session != null) { MavenExecutionRequest req = session.getRequest(); if (req != null) { request.setActiveProfileIds(req.getActiveProfiles()); request.setInactiveProfileIds(req.getInactiveProfiles()); } } } return request; }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Jun 15 14:24:56 GMT 2023 - 12.1K bytes - Viewed (0) -
cmd/jwt.go
// Returns nil if the request is authenticated. errNoAuthToken if token missing. // Returns errAuthentication for all other errors. func metricsRequestAuthenticate(req *http.Request) (*xjwt.MapClaims, []string, bool, error) { token, err := jwtreq.AuthorizationHeaderExtractor.ExtractToken(req) if err != nil { if err == jwtreq.ErrNoTokenInRequest { return nil, nil, false, errNoAuthToken } return nil, nil, false, err }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Fri Apr 19 16:45:14 GMT 2024 - 5.4K bytes - Viewed (0) -
internal/logger/logger.go
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 12.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmHttpFilter.java
NtlmPasswordAuthentication ntlm; if ((ntlm = negotiate( req, resp, false )) == null) { return; } chain.doFilter( new NtlmHttpServletRequest( req, ntlm ), response ); } /** * Negotiate password hashes with MSIE clients using NTLM SSP * @param req The servlet request * @param resp The servlet response
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 10.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/tls/HostnameVerifierTest.kt
// cat cert.cnf // [req] // distinguished_name=distinguished_name // req_extensions=req_extensions // x509_extensions=x509_extensions // [distinguished_name] // [req_extensions] // [x509_extensions] // subjectAltName=DNS:localhost.localdomain,DNS:localhost,IP:127.0.0.1 // // $ openssl req -x509 -nodes -days 36500 -subj '/CN=localhost' -config ./cert.cnf \
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 40.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/filter/EncodingFilter.java
throws IOException, ServletException { final HttpServletRequest req = (HttpServletRequest) request; final String servletPath = req.getServletPath(); for (final Map.Entry<String, String> entry : encodingMap.entrySet()) { final String path = entry.getKey(); if (servletPath.startsWith(path)) { req.setCharacterEncoding(entry.getValue());
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 6.9K bytes - Viewed (0) -
cmd/auth-handler_test.go
req := mustNewRequest(method, urlStr, contentLength, body, t) req.Header.Set("Content-Md5", "invalid-digest") cred := globalActiveCred if err := signRequestV4(req, cred.AccessKey, cred.SecretKey); err != nil { t.Fatalf("Unable to initialized new signed http request %s", err) } return req }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 15.4K bytes - Viewed (0)