- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 40 for flows (0.18 sec)
-
fastapi/security/oauth2.py
""" ), ] = True, ): if not scopes: scopes = {} flows = OAuthFlowsModel( password=cast(Any, {"tokenUrl": tokenUrl, "scopes": scopes}) ) super().__init__( flows=flows, scheme_name=scheme_name, description=description, auto_error=auto_error, )
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Apr 02 02:48:51 GMT 2024 - 21.1K bytes - Viewed (1) -
tests/test_tutorial/test_security/test_tutorial001_an.py
} } }, "components": { "securitySchemes": { "OAuth2PasswordBearer": { "type": "oauth2", "flows": {"password": {"scopes": {}, "tokenUrl": "token"}}, } } },
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 1.9K bytes - Viewed (0) -
docs/fa/docs/tutorial/security/index.md
* ویژگی HTTP Digest و غیره. * شیوه `oauth2`: تمام روشهای OAuth2 برای مدیریت امنیت (به نام "flows"). * چندین از این flows برای ساخت یک ارائهدهنده احراز هویت OAuth 2.0 مناسب هستند (مانند گوگل، فیسبوک، توییتر، گیتهاب و غیره): * ویژگی `implicit` * ویژگی `clientCredentials` * ویژگی `authorizationCode` * اما یک "flow" خاص وجود دارد که میتواند به طور کامل برای مدیریت احراز هویت در همان برنامه به کار رود:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Jan 23 15:06:11 GMT 2024 - 7.6K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial005_an.py
}, }, }, "securitySchemes": { "OAuth2PasswordBearer": { "type": "oauth2", "flows": { "password": { "scopes": { "me": "Read information about the current user.", "items": "Read items.",
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Wed Mar 13 19:07:10 GMT 2024 - 15.4K bytes - Viewed (0) -
tests/test_security_oauth2_optional.py
from fastapi.security import OAuth2, OAuth2PasswordRequestFormStrict from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() reusable_oauth2 = OAuth2( flows={ "password": { "tokenUrl": "token", "scopes": {"read:users": "Read the users", "write:users": "Create users"}, } }, auto_error=False, )
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 10.8K bytes - Viewed (0) -
docs/en/docs/tutorial/security/index.md
* HTTP Digest, etc. * `oauth2`: all the OAuth2 ways to handle security (called "flows"). * Several of these flows are appropriate for building an OAuth 2.0 authentication provider (like Google, Facebook, Twitter, GitHub, etc): * `implicit` * `clientCredentials` * `authorizationCode` * But there is one specific "flow" that can be perfectly used for handling authentication in the same application directly:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Jun 24 14:47:15 GMT 2023 - 4.3K bytes - Viewed (0) -
docs/ru/docs/tutorial/security/index.md
* Базовая аутентификация по протоколу HTTP. * HTTP Digest и т.д. * `oauth2`: все способы обеспечения безопасности OAuth2 называемые "потоки" (англ. "flows"). * Некоторые из этих "потоков" подходят для реализации аутентификации через сторонний сервис использующий OAuth 2.0 (например, Google, Facebook, Twitter, GitHub и т.д.): * `implicit` * `clientCredentials`
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Aug 02 15:14:19 GMT 2023 - 8.3K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial001.py
} } }, "components": { "securitySchemes": { "OAuth2PasswordBearer": { "type": "oauth2", "flows": {"password": {"scopes": {}, "tokenUrl": "token"}}, } } },
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 1.9K bytes - Viewed (0) -
tests/test_security_oauth2_password_bearer_optional_description.py
} } }, "components": { "securitySchemes": { "OAuth2PasswordBearer": { "type": "oauth2", "flows": {"password": {"scopes": {}, "tokenUrl": "/token"}}, "description": "OAuth2PasswordBearer security scheme", } } },
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 2.2K bytes - Viewed (0) -
tests/test_security_oauth2_authorization_code_bearer_description.py
} } }, "components": { "securitySchemes": { "OAuth2AuthorizationCodeBearer": { "type": "oauth2", "flows": { "authorizationCode": { "authorizationUrl": "authorize", "tokenUrl": "token", "scopes": {},
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 2.4K bytes - Viewed (0)