- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 180 for OAuth2 (0.07 sec)
-
docs/pt/docs/tutorial/security/first-steps.md
## O Fluxo da `senha` Agora vamos voltar um pouco e entender o que é isso tudo. O "fluxo" da `senha` é um dos caminhos ("fluxos") definidos no OAuth2, para lidar com a segurança e autenticação. OAuth2 foi projetado para que o backend ou a API pudesse ser independente do servidor que autentica o usuário. Mas nesse caso, a mesma aplicação **FastAPI** irá lidar com a API e a autenticação.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.4K bytes - Viewed (0) -
tests/test_security_oauth2_optional_description.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"}, } }, description="OAuth2 security scheme", auto_error=False, )
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 10.9K bytes - Viewed (0) -
tests/test_security_oauth2_authorization_code_bearer_description.py
"type": "oauth2", "flows": { "authorizationCode": { "authorizationUrl": "authorize", "tokenUrl": "token", "scopes": {}, } }, "description": "OAuth2 Code Bearer", } }
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.4K bytes - Viewed (0) -
docs/ru/docs/tutorial/security/first-steps.md
## Аутентификация по паролю Теперь давайте вернемся немного назад и разберемся, что же это такое. Аутентификация по паролю является одним из способов, определенных в OAuth2, для обеспечения безопасности и аутентификации. OAuth2 был разработан для того, чтобы бэкэнд или API были независимы от сервера, который аутентифицирует пользователя.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 15.4K bytes - Viewed (0) -
docs/de/docs/tutorial/security/first-steps.md
## Der `password`-Flow Lassen Sie uns nun etwas zurückgehen und verstehen, was das alles ist. Der `password`-„Flow“ ist eine der in OAuth2 definierten Wege („Flows“) zur Handhabung von Sicherheit und Authentifizierung. OAuth2 wurde so konzipiert, dass das Backend oder die API unabhängig vom Server sein kann, der den Benutzer authentifiziert.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.2K bytes - Viewed (0) -
docs/zh/docs/tutorial/security/first-steps.md
虽然此文档不是给前端最终用户使用的,但这个自动工具非常实用,可在文档中与所有 API 交互。 前端团队(可能就是开发者本人)可以使用本工具。 第三方应用与系统也可以调用本工具。 开发者也可以用它来调试、检查、测试应用。 ## 密码流 现在,我们回过头来介绍这段代码的原理。 `Password` **流**是 OAuth2 定义的,用于处理安全与身份验证的方式(**流**)。 OAuth2 的设计目标是为了让后端或 API 独立于服务器验证用户身份。 但在本例中,**FastAPI** 应用会处理 API 与身份验证。 下面,我们来看一下简化的运行流程: - 用户在前端输入 `username` 与`password`,并点击**回车**
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.3K bytes - Viewed (0) -
tests/test_security_oauth2.py
from dirty_equals import IsDict from fastapi import Depends, FastAPI, Security 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"}, } } )
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 10.7K bytes - Viewed (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()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 19 09:13:33 UTC 2023 - 7.8K bytes - Viewed (0) -
docs/pt/docs/how-to/custom-docs-ui-assets.md
``` /// tip | Dica A *operação de rota* para `swagger_ui_redirect` é um auxiliar para quando você usa OAuth2. Se você integrar sua API com um provedor OAuth2, você poderá autenticar e voltar para a documentação da API com as credenciais adquiridas. E interagir com ela usando a autenticação OAuth2 real. Swagger UI lidará com isso nos bastidores para você, mas ele precisa desse auxiliar de "redirecionamento". ///
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Oct 18 12:02:35 UTC 2024 - 8.4K bytes - Viewed (0) -
docs/en/docs/how-to/custom-docs-ui-assets.md
/// tip The *path operation* for `swagger_ui_redirect` is a helper for when you use OAuth2. If you integrate your API with an OAuth2 provider, you will be able to authenticate and come back to the API docs with the acquired credentials. And interact with it using the real OAuth2 authentication. Swagger UI will handle it behind the scenes for you, but it needs this "redirect" helper. ///
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Oct 28 10:42:34 UTC 2024 - 7.3K bytes - Viewed (0)