- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 227 for OAuth2 (0.1 seconds)
-
docs/zh-hant/docs/features.md
所有的驗證都由完善且強大的 **Pydantic** 處理。 ### 安全性及身份驗證 { #security-and-authentication } FastAPI 已經整合了安全性和身份驗證的功能,但不會強制與特定的資料庫或資料模型進行綁定。 OpenAPI 中定義的安全模式,包括: * HTTP 基本認證。 * **OAuth2**(也使用 **JWT tokens**)。在 [OAuth2 with JWT](tutorial/security/oauth2-jwt.md) 查看教學。 * API 密鑰,在: * 標頭(Header) * 查詢參數 * Cookies,等等。 加上來自 Starlette(包括 **session cookie**)的所有安全特性。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 9.2K bytes - Click Count (0) -
docs/en/docs/tutorial/request-forms.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 2.6K bytes - Click Count (0) -
docs/en/docs/how-to/conditional-openapi.md
* Never store plaintext passwords, only password hashes. * Implement and use well-known cryptographic tools, like pwdlib and JWT tokens, etc. * Add more granular permission controls with OAuth2 scopes where needed. * ...etc. Nevertheless, you might have a very specific use case where you really need to disable the API docs for some environment (e.g. for production) or depending on configurations from environment variables.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 2.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticatorTest.java
final String url = authenticator.getOicAuthServerUrl(); assertEquals("https://accounts.google.com/o/oauth2/auth", url); } @Test public void test_getOicTokenServerUrl_default() { final String url = authenticator.getOicTokenServerUrl(); assertEquals("https://accounts.google.com/o/oauth2/token", url); } @Test public void test_getOicClientId_default() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 15 12:54:47 GMT 2026 - 11K bytes - Click Count (0) -
docs/ja/docs/features.md
### セキュリティと認証 { #security-and-authentication } セキュリティと認証が統合されています。データベースやデータモデルとの妥協はありません。 OpenAPI で定義されたすべてのセキュリティスキームをサポートします: * HTTP Basic。 * **OAuth2**(**JWT トークン** も可)。チュートリアル [JWT を用いた OAuth2](tutorial/security/oauth2-jwt.md) を確認してください。 * API キー(以下の場所): * ヘッダー。 * クエリパラメータ。 * クッキー、など。 さらに、Starlette のすべてのセキュリティ機能(**セッション Cookie** を含む)も利用できます。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 11.6K bytes - Click Count (0) -
docs/zh-hant/docs/how-to/conditional-openapi.md
如果你想保護 API,有許多更好的作法,例如: - 確保針對請求本文與回應,具備定義良好的 Pydantic 模型。 - 透過依賴設定所需的權限與角色。 - 切勿儲存明文密碼,只儲存密碼雜湊。 - 實作並使用成熟且廣為人知的密碼學工具,例如 pwdlib 與 JWT 權杖等。 - 視需要以 OAuth2 scopes 新增更細緻的權限控管。 - ...等。 儘管如此,在某些特定情境下,你可能確實需要在某些環境(例如正式環境)停用 API 文件,或依據環境變數的設定來決定是否啟用。 ## 透過設定與環境變數的條件式 OpenAPI { #conditional-openapi-from-settings-and-env-vars } 你可以用相同的 Pydantic 設定,來配置產生的 OpenAPI 與文件 UI。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 2.1K bytes - Click Count (0) -
docs/ko/docs/tutorial/request-forms.md
## `Form` 매개변수 정의하기 { #define-form-parameters } `Body` 또는 `Query`와 동일한 방식으로 폼 매개변수를 만듭니다: {* ../../docs_src/request_forms/tutorial001_an_py310.py hl[9] *} 예를 들어, OAuth2 사양을 사용할 수 있는 방법 중 하나("패스워드 플로우"라고 함)로 `username`과 `password`를 폼 필드로 보내야 합니다. <dfn title="사양">사양</dfn>에서는 필드 이름이 `username` 및 `password`로 정확하게 명명되어야 하고, JSON이 아닌 폼 필드로 전송해야 합니다.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 3K bytes - Click Count (0) -
docs/zh/docs/how-to/conditional-openapi.md
如果你想保护你的 API,有很多更好的措施,例如: - 确保为请求体和响应定义完善的 Pydantic 模型。 - 使用依赖配置所需的权限和角色。 - 绝不要存储明文密码,只存储密码哈希。 - 实现并使用成熟的密码学工具,比如 pwdlib 和 JWT 令牌等。 - 在需要的地方使用 OAuth2 作用域添加更细粒度的权限控制。 - ...等。 尽管如此,你可能确实有非常特定的用例,需要在某些环境(例如生产环境)禁用 API 文档,或根据环境变量的配置来决定。 ## 基于设置和环境变量的条件式 OpenAPI { #conditional-openapi-from-settings-and-env-vars } 你可以很容易地使用相同的 Pydantic 设置来配置生成的 OpenAPI 和文档 UI。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 2.2K bytes - Click Count (0) -
docs/zh/docs/tutorial/request-forms.md
{* ../../docs_src/request_forms/tutorial001_an_py310.py hl[3] *} ## 定义 `Form` 参数 { #define-form-parameters } 创建表单参数的方式与 `Body` 或 `Query` 相同: {* ../../docs_src/request_forms/tutorial001_an_py310.py hl[9] *} 例如,在 OAuth2 规范的一种使用方式(称为“密码流”)中,要求将 `username` 和 `password` 作为表单字段发送。 <dfn title="规范">规范</dfn>要求这些字段必须精确命名为 `username` 和 `password`,并且作为表单字段发送,而不是 JSON。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 2.5K bytes - Click Count (0) -
internal/config/identity/openid/providercfg.go
} return p.roleArn.String() } // UserInfo returns claims for authenticated user from userInfo endpoint. // // Some OIDC implementations such as GitLab do not support // claims as part of the normal oauth2 flow, instead rely // on service providers making calls to IDP to fetch additional // claims available from the UserInfo endpoint
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 4.7K bytes - Click Count (0)