- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 911 for securely (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/en/docs/tutorial/security/index.md
# Security { #security } There are many ways to handle security, authentication and authorization. And it normally is a complex and "difficult" topic. In many frameworks and systems just handling security and authentication takes a big amount of effort and code (in many cases it can be 50% or more of all the code written).Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Aug 31 10:49:48 GMT 2025 - 4.4K bytes - Click Count (0) -
docs/de/docs/advanced/security/oauth2-scopes.md
{* ../../docs_src/security/tutorial005_an_py310.py hl[5,9,13,47,65,106,108:116,122:126,130:136,141,157] *} Sehen wir uns diese รnderungen nun Schritt fรผr Schritt an. ## OAuth2-Sicherheitsschema { #oauth2-security-scheme }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 15.7K bytes - Click Count (0) -
fastapi/security/http.py
[FastAPI docs for HTTP Basic Auth](https://fastapi.tiangolo.com/advanced/security/http-basic-auth/). ## Example ```python from typing import Annotated from fastapi import Depends, FastAPI from fastapi.security import HTTPBasic, HTTPBasicCredentials app = FastAPI() security = HTTPBasic() @app.get("/users/me")Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Mar 16 10:16:48 GMT 2026 - 13.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/annotation/SecuredTest.java
assertNull(secured); // Interface annotations are not inherited by implementing classes } // Test annotation array immutability @Test public void test_annotationValueImmutability() { Secured secured = MultipleRolesClass.class.getAnnotation(Secured.class); String[] roles1 = secured.value(); String[] roles2 = secured.value();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.6K bytes - Click Count (0) -
tests/test_dependency_paramless.py
from typing import Annotated from fastapi import FastAPI, HTTPException, Security from fastapi.security import ( OAuth2PasswordBearer, SecurityScopes, ) from fastapi.testclient import TestClient app = FastAPI() oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token") def process_auth( credentials: Annotated[str | None, Security(oauth2_scheme)], security_scopes: SecurityScopes, ):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 2.3K bytes - Click Count (0) -
docs/en/docs/deployment/concepts.md
In the next chapters, I'll give you more **concrete recipes** to deploy FastAPI applications. But for now, let's check these important **conceptual ideas**. These concepts also apply to any other type of web API. ๐ก ## Security - HTTPS { #security-https } In the [previous chapter about HTTPS](https.md) we learned about how HTTPS provides encryption for your API.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 18.5K bytes - Click Count (1) -
tests/test_security_http_bearer.py
from fastapi import FastAPI, Security from fastapi.security import HTTPAuthorizationCredentials, HTTPBearer from fastapi.testclient import TestClient from inline_snapshot import snapshot app = FastAPI() security = HTTPBearer() @app.get("/users/me") def read_current_user(credentials: HTTPAuthorizationCredentials = Security(security)): return {"scheme": credentials.scheme, "credentials": credentials.credentials}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 2.3K bytes - Click Count (0) -
tests/test_security_http_digest_description.py
from fastapi import FastAPI, Security from fastapi.security import HTTPAuthorizationCredentials, HTTPDigest from fastapi.testclient import TestClient from inline_snapshot import snapshot app = FastAPI() security = HTTPDigest(description="HTTPDigest scheme") @app.get("/users/me") def read_current_user(credentials: HTTPAuthorizationCredentials = Security(security)): return {"scheme": credentials.scheme, "credentials": credentials.credentials}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 2.5K bytes - Click Count (0) -
docs/ko/docs/advanced/security/oauth2-scopes.md
/// {* ../../docs_src/security/tutorial005_an_py310.py hl[157] *} ## *๊ฒฝ๋ก ์ฒ๋ฆฌ*์ ์์กด์ฑ์์ ์ค์ฝํ ์ ์ธํ๊ธฐ { #declare-scopes-in-path-operations-and-dependencies } ์ด์ `/users/me/items/`์ ๋ํ *๊ฒฝ๋ก ์ฒ๋ฆฌ*๊ฐ ์ค์ฝํ `items`๋ฅผ ์๊ตฌํ๋ค๊ณ ์ ์ธํฉ๋๋ค. ์ด๋ฅผ ์ํด `fastapi`์์ `Security`๋ฅผ importํ์ฌ ์ฌ์ฉํฉ๋๋ค. `Security`๋ (`Depends`์ฒ๋ผ) ์์กด์ฑ์ ์ ์ธํ๋ ๋ฐ ์ฌ์ฉํ ์ ์์ง๋ง, `Security`๋ ์ค์ฝํ(๋ฌธ์์ด) ๋ชฉ๋ก์ ๋ฐ๋ `scopes` ๋งค๊ฐ๋ณ์๋ ๋ฐ์ต๋๋ค.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 15.7K bytes - Click Count (0) -
tests/test_security_http_bearer_description.py
from fastapi import FastAPI, Security from fastapi.security import HTTPAuthorizationCredentials, HTTPBearer from fastapi.testclient import TestClient from inline_snapshot import snapshot app = FastAPI() security = HTTPBearer(description="HTTP Bearer token scheme") @app.get("/users/me") def read_current_user(credentials: HTTPAuthorizationCredentials = Security(security)):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 2.5K bytes - Click Count (0)