- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 1,006 for Security (0.05 seconds)
-
tests/test_security_api_key_query.py
from fastapi import Depends, FastAPI, Security from fastapi.security import APIKeyQuery from fastapi.testclient import TestClient from inline_snapshot import snapshot from pydantic import BaseModel app = FastAPI() api_key = APIKeyQuery(name="key") class User(BaseModel): username: str def get_current_user(oauth_header: str = Security(api_key)): user = User(username=oauth_header) return user
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 2K bytes - Click Count (0) -
docs/ko/docs/tutorial/security/first-steps.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 9.6K bytes - Click Count (0) -
.github/ISSUE_TEMPLATE/config.yml
blank_issues_enabled: false contact_links: - name: Security Contact about: Please report security vulnerabilities to security@tiangolo.com - name: Question or Problem about: Ask a question or ask about a problem in GitHub Discussions. url: https://github.com/fastapi/fastapi/discussions/categories/questions - name: Feature RequestCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Jul 29 23:35:07 GMT 2024 - 926 bytes - Click Count (0) -
docs/zh-hant/docs/advanced/security/index.md
# 進階安全性 { #advanced-security } ## 額外功能 { #additional-features } 除了[教學 - 使用者指南:安全性](../../tutorial/security/index.md)中涵蓋的內容外,還有一些用來處理安全性的額外功能。 /// tip 以下各節**不一定是「進階」**內容。 而且你的情境很可能可以在其中找到解決方案。 /// ## 請先閱讀教學 { #read-the-tutorial-first } 以下各節假設你已閱讀主要的[教學 - 使用者指南:安全性](../../tutorial/security/index.md)。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 613 bytes - Click Count (0) -
docs/zh-hant/docs/advanced/security/http-basic-auth.md
- 匯入 `HTTPBasic` 與 `HTTPBasicCredentials`。 - 使用 `HTTPBasic` 建立一個「`security` scheme」。 - 在你的*路徑操作*中以依賴的方式使用該 `security`。 - 它會回傳一個 `HTTPBasicCredentials` 型別的物件: - 其中包含傳來的 `username` 與 `password`。 {* ../../docs_src/security/tutorial006_an_py310.py hl[4,8,12] *} 當你第一次嘗試開啟該 URL(或在文件中點擊 "Execute" 按鈕)時,瀏覽器會要求輸入你的使用者名稱與密碼: <img src="/img/tutorial/security/image12.png"> ## 檢查使用者名稱 { #check-the-username } 以下是一個更完整的範例。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 4.7K bytes - Click Count (0) -
tests/test_security_api_key_header_optional.py
from fastapi import Depends, FastAPI, Security from fastapi.security import APIKeyHeader from fastapi.testclient import TestClient from inline_snapshot import snapshot from pydantic import BaseModel app = FastAPI() api_key = APIKeyHeader(name="key", auto_error=False) class User(BaseModel): username: str def get_current_user(oauth_header: str | None = Security(api_key)): if oauth_header is None: return None
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 2.1K bytes - Click Count (0) -
docs/sts/client-grants.md
the identity of the caller is validated by using a JWT access token from the identity provider. The temporary security credentials returned by this API consists of an access key, a secret key, and a security token. Applications can use these temporary security credentials to sign calls to MinIO API operations. By default, the temporary security credentials created by AssumeRoleWithClientGrants last for one hour. However, use the optional DurationSeconds parameter to specify the duration of the...
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 7.2K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java
} @Test void testGetSecurityWithValidSecurityDescriptor() throws Exception { // Setup mock ShareInfo502 with a minimal valid security descriptor srvsvc.ShareInfo502 info502 = new srvsvc.ShareInfo502(); // Create a minimal valid security descriptor binary // Format: revision(1) + sbz1(1) + control(2) + ownerOffset(4) + groupOffset(4) + saclOffset(4) + daclOffset(4) = 20 bytes minimumCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticatorTest.java
assertTrue(true); } @Test public void test_securitySettings_allowBasic() throws Exception { // Test that ALLOW_BASIC security setting can be accessed // This verifies the security warnings are properly documented in code SpnegoAuthenticator authenticator = new SpnegoAuthenticator(); assertNotNull(authenticator);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 4.8K bytes - Click Count (0) -
src/main/java/jcifs/ACE.java
*/ int DELETE = 0x00010000; // 16 /** * Permission to read the security descriptor */ int READ_CONTROL = 0x00020000; // 17 /** * Permission to write the discretionary access control list */ int WRITE_DAC = 0x00040000; // 18 /** * Permission to change the owner in the security descriptor */ int WRITE_OWNER = 0x00080000; // 19 /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.1K bytes - Click Count (0)