- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 180 for OAuth2 (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/en/docs/tutorial/security/index.md
OpenID Connect is another specification, based on **OAuth2**. It just extends OAuth2 specifying some things that are relatively ambiguous in OAuth2, to try to make it more interoperable. For example, Google login uses OpenID Connect (which underneath uses OAuth2). But Facebook login doesn't support OpenID Connect. It has its own flavor of OAuth2. ### OpenID (not "OpenID Connect") { #openid-not-openid-connect }
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) -
fastapi/openapi/docs.py
if (( oauth2.auth.schema.get("flow") === "accessCode" || oauth2.auth.schema.get("flow") === "authorizationCode" || oauth2.auth.schema.get("flow") === "authorization_code" ) && !oauth2.auth.code) { if (!isValid) { oauth2.errCb({ authId: oauth2.auth.name, source: "auth",Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 24 09:28:10 GMT 2026 - 12.1K bytes - Click Count (0) -
docs/zh/docs/tutorial/security/index.md
/// ## OpenID Connect { #openid-connect } OpenID Connect 是另一个基于 **OAuth2** 的规范。 它只是扩展了 OAuth2,并明确了一些在 OAuth2 中相对模糊的内容,以尝试使其更具互操作性。 例如,Google 登录使用 OpenID Connect(底层使用OAuth2)。 但是 Facebook 登录不支持 OpenID Connect。它具有自己的 OAuth2 风格。 ### OpenID(非「OpenID Connect」) { #openid-not-openid-connect } 还有一个「OpenID」规范。它试图解决与 **OpenID Connect** 相同的问题,但它不是基于 OAuth2。 因此,它是一个完整的附加系统。 如今它已经不是很流行,没有被广泛使用了。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 13:37:57 GMT 2026 - 4.3K bytes - Click Count (0) -
docs/ja/docs/tutorial/security/index.md
OAuth2は、通信を暗号化する方法を指定せず、アプリケーションがHTTPSで提供されることを想定しています。 /// tip | 豆知識 **デプロイ**のセクションでは、TraefikとLet's Encryptを使用して、無料でHTTPSを設定する方法が紹介されています。 /// ## OpenID Connect { #openid-connect } OpenID Connectは、**OAuth2**をベースにした別の仕様です。 これはOAuth2を拡張したもので、OAuth2ではやや曖昧だった部分を明確にし、より相互運用性を高めようとしたものです。 例として、GoogleのログインはOpenID Connectを使用しています(これはOAuth2がベースになっています)。 しかし、FacebookのログインはOpenID Connectをサポートしていません。OAuth2を独自にアレンジしています。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 15:24:30 GMT 2026 - 6.1K bytes - Click Count (0) -
docs/en/docs/reference/security/index.md
::: fastapi.security.HTTPBasicCredentials ## OAuth2 Authentication ::: fastapi.security.OAuth2 ::: fastapi.security.OAuth2AuthorizationCodeBearer ::: fastapi.security.OAuth2PasswordBearer ## OAuth2 Password Form ::: fastapi.security.OAuth2PasswordRequestForm ::: fastapi.security.OAuth2PasswordRequestFormStrict ## OAuth2 Security Scopes in Dependencies ::: fastapi.security.SecurityScopes
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 04 12:41:54 GMT 2026 - 1.7K bytes - Click Count (0) -
tests/test_security_oauth2_optional_description.py
import pytest from fastapi import Depends, FastAPI, Security from fastapi.security import OAuth2, OAuth2PasswordRequestFormStrict from fastapi.testclient import TestClient from inline_snapshot import snapshot from pydantic import BaseModel app = FastAPI() reusable_oauth2 = OAuth2( flows={ "password": { "tokenUrl": "token", "scopes": {"read:users": "Read the users", "write:users": "Create users"}, }
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_authorization_code_bearer_scopes_openapi.py
}, "security": [{"OAuth2AuthorizationCodeBearer": []}], } }, "/with-oauth2-scheme": { "get": { "summary": "Read With Oauth2 Scheme", "operationId": "read_with_oauth2_scheme_with_oauth2_scheme_get", "responses": { "200": {Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 6.6K bytes - Click Count (0) -
tests/test_security_oauth2_authorization_code_bearer_description.py
"type": "oauth2", "flows": { "authorizationCode": { "authorizationUrl": "authorize", "tokenUrl": "token", "scopes": {}, } }, "description": "OAuth2 Code Bearer", }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 2.5K bytes - Click Count (0) -
tests/test_security_oauth2_optional.py
import pytest from fastapi import Depends, FastAPI, Security from fastapi.security import OAuth2, OAuth2PasswordRequestFormStrict from fastapi.testclient import TestClient from inline_snapshot import snapshot from pydantic import BaseModel app = FastAPI() reusable_oauth2 = OAuth2( flows={ "password": { "tokenUrl": "token", "scopes": {"read:users": "Read the users", "write:users": "Create users"}, }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 9.8K bytes - Click Count (0) -
tests/test_security_oauth2.py
import pytest from fastapi import Depends, FastAPI, Security from fastapi.security import OAuth2, OAuth2PasswordRequestFormStrict from fastapi.testclient import TestClient from inline_snapshot import snapshot from pydantic import BaseModel app = FastAPI() reusable_oauth2 = OAuth2( flows={ "password": { "tokenUrl": "token", "scopes": {"read:users": "Read the users", "write:users": "Create users"}, }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 9.8K bytes - Click Count (0)