- Sort Score
- Num 10 results
- Language All
Results 1 - 7 of 7 for auth_header (0.09 seconds)
-
src/test/java/org/codelibs/fess/util/SystemUtilTest.java
@Test public void test_maskSensitiveValue_withAuth() { assertEquals("********", SystemUtil.maskSensitiveValue("BASIC_AUTH", "dXNlcjpwYXNz")); assertEquals("********", SystemUtil.maskSensitiveValue("auth_header", "Bearer xyz")); assertEquals("********", SystemUtil.maskSensitiveValue("OAUTH_CLIENT_ID", "123456")); } @Test public void test_maskSensitiveValue_withPrivate() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 17.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 08:18:23 GMT 2026 - 18.2K bytes - Click Count (3) -
src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java
; } } String authHeader; if (response == HTTP_UNAUTHORIZED) { authHeader = "WWW-Authenticate"; authProperty = "Authorization"; } else { authHeader = "Proxy-Authenticate"; authProperty = "Proxy-Authorization"; } String authorization = null;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 22.1K bytes - Click Count (0) -
tests/test_security_oauth2_optional_description.py
description="OAuth2 security scheme", auto_error=False, ) class User(BaseModel): username: str def get_current_user(oauth_header: str | None = Security(reusable_oauth2)): if oauth_header is None: return None user = User(username=oauth_header) return user @app.post("/login") def login(form_data: OAuth2PasswordRequestFormStrict = Depends()): return form_data
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 9.9K bytes - Click Count (0) -
tests/test_security_oauth2.py
} } ) class User(BaseModel): username: str # Here we use string annotations to test them def get_current_user(oauth_header: "str" = Security(reusable_oauth2)): user = User(username=oauth_header) return user @app.post("/login") # Here we use string annotations to test them def login(form_data: "OAuth2PasswordRequestFormStrict" = Depends()): return form_dataCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 9.8K bytes - Click Count (0) -
src/main/java/jcifs/http/NtlmHttpURLConnection.java
; } } String authHeader; if (response == HTTP_UNAUTHORIZED) { authHeader = "WWW-Authenticate"; this.authProperty = "Authorization"; } else { authHeader = "Proxy-Authenticate"; this.authProperty = "Proxy-Authorization"; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 25.6K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmHttpFilterTest.java
byte[] type1Message = new byte[] { 0x4E, 0x54, 0x4C, 0x4D, 0x53, 0x53, 0x50, 0x00, 0x01, 0x00, 0x00, 0x00 }; String authHeader = "NTLM " + new String(org.bouncycastle.util.encoders.Base64.encode(type1Message)); when(request.getHeader("Authorization")).thenReturn(authHeader); when(httpSession.getAttribute("NtlmHttpAuth")).thenReturn(null); when(httpSession.getAttribute("NtlmHttpChal")).thenReturn(null);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 12.8K bytes - Click Count (0)