- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 227 for OAuth2 (0.05 seconds)
-
docs/zh-hant/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: Sat Feb 14 08:15:26 GMT 2026 - 4.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) -
docs/sts/web-identity.go
scopes = strings.Split(clientScopes, ",") } ctx := context.Background() config := oauth2.Config{ ClientID: clientID, ClientSecret: clientSec, Endpoint: oauth2.Endpoint{ AuthURL: ddoc.AuthEndpoint, TokenURL: ddoc.TokenEndpoint, }, RedirectURL: fmt.Sprintf("http://10.0.0.67:%d/oauth2/callback", port), Scopes: scopes, } state := randomState()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 19 09:13:33 GMT 2023 - 7.8K bytes - Click Count (0)