- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 87 for authenticated (1.34 sec)
-
tests/test_tutorial/test_security/test_tutorial005.py
client = TestClient(mod.app) response = client.get("/users/me") assert response.status_code == 401, response.text assert response.json() == {"detail": "Not authenticated"} assert response.headers["WWW-Authenticate"] == "Bearer" def test_token(mod: ModuleType): client = TestClient(mod.app) access_token = get_access_token(scope="me", client=client) response = client.get(
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 15.8K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial004.py
client = TestClient(mod.app) response = client.get("/users/me") assert response.status_code == 401, response.text assert response.json() == {"detail": "Not authenticated"} assert response.headers["WWW-Authenticate"] == "Bearer" def test_token(mod: ModuleType): client = TestClient(mod.app) access_token = get_access_token(client=client) response = client.get(
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 13.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java
if (authenticator != null && fessConfig.getSystemPropertyAsBoolean(SPNEGO_INITIALIZED, false)) { return authenticator; } try { // set some System properties final SpnegoFilterConfig config = SpnegoFilterConfig.getInstance(new SpnegoConfig()); // pre-authenticate authenticator = new org.codelibs.spnego.SpnegoAuthenticator(config);
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 17.8K bytes - Viewed (3) -
src/main/java/jcifs/smb1/http/NtlmHttpFilter.java
ssn.removeAttribute("NtlmHttpAuth"); } } resp.setHeader("WWW-Authenticate", "NTLM"); if (offerBasic) { resp.addHeader("WWW-Authenticate", "Basic realm=\"" + realm + "\""); } resp.setStatus(HttpServletResponse.SC_UNAUTHORIZED);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmHttpFilter.java
ssn.removeAttribute("NtlmHttpAuth"); } } resp.setHeader("WWW-Authenticate", "NTLM"); if (offerBasic) { resp.addHeader("WWW-Authenticate", "Basic realm=\"" + this.realm + "\""); } resp.setStatus(HttpServletResponse.SC_UNAUTHORIZED);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.3K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmHttpURLConnection.java
* * Warning: Do not use this if there is a chance that you might have multiple connections (even plain * HttpURLConnections, for the complete JRE) to the same host with different or mixed anonymous/authenticated * credentials. Authenticated connections can/will be reused. * * @deprecated This is broken by design, even a possible vulnerability. Deprecation is conditional on whether future JDK * versions will allow to do this safely.
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 25.6K bytes - Viewed (0) -
docs/es/docs/tutorial/security/simple-oauth2.md
/// info | Información El header adicional `WWW-Authenticate` con el valor `Bearer` que estamos devolviendo aquí también es parte de la especificación. Cualquier código de estado HTTP (error) 401 "UNAUTHORIZED" se supone que también debe devolver un header `WWW-Authenticate`. En el caso de tokens bearer (nuestro caso), el valor de ese header debe ser `Bearer`.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 16:33:45 UTC 2025 - 10.3K bytes - Viewed (0) -
docs/security/README.md
- [EK](#ek): An external secret key - either the SSE-C client-provided key or a secret key generated by the KMS. #### Content Encryption
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Feb 26 09:25:50 UTC 2025 - 13.8K bytes - Viewed (0) -
docs/de/docs/tutorial/security/simple-oauth2.md
{* ../../docs_src/security/tutorial003_an_py310.py hl[58:66,69:74,94] *} /// info | Info Der zusätzliche Header `WWW-Authenticate` mit dem Wert `Bearer`, den wir hier zurückgeben, ist ebenfalls Teil der Spezifikation. Jeder HTTP-(Fehler-)Statuscode 401 „UNAUTHORIZED“ soll auch einen `WWW-Authenticate`-Header zurückgeben. Im Fall von Bearer-Tokens (in unserem Fall) sollte der Wert dieses Headers `Bearer` lauten.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Sep 20 15:10:09 UTC 2025 - 11.2K bytes - Viewed (0) -
fastapi/security/http.py
def make_authenticate_headers(self) -> dict[str, str]: return {"WWW-Authenticate": f"{self.model.scheme.title()}"} def make_not_authenticated_error(self) -> HTTPException: return HTTPException( status_code=HTTP_401_UNAUTHORIZED, detail="Not authenticated", headers=self.make_authenticate_headers(), ) async def __call__(Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 13.2K bytes - Viewed (0)