コンテンツにスキップ
per page, with , order by , clip by
Results of 1 - 7 of about 7 for scopes (0.010 sec.)
OAuth2 scopes 13504
OAuth2 scopes Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . You can use OAuth2 scopes directly with FastAPI , they are integrated to work seamlessly. This would ... permission system, following the OAuth2 standard, integrated into your OpenAPI application (and the API docs). OAuth2 with scopes is the mechanism used by many big authentication providers, like Facebook, Google, GitHub, Microsoft, Twitter, etc. They u ... ications. Every time you "log in with" Facebook, Google, GitHub, Microsoft, Twitter, that application is using OAuth2 with scopes. In this section you will see how to manage authentication and authorization with the same OAuth2 with scopes in your Fast ... ning This is a more or less advanced section. If you are just starting, you can skip it. You don't necessarily need OAuth2 scopes, and you can handle authentication and authorization however you want. But OAuth2 with scopes can be nicely integrated int ...
https://man.mtool.work/fastapi/0.115/advanced/security/oauth2-scopes/
Security Tools 8760
Security Tools When you need to declare dependencies with OAuth2 scopes you use Security() . But you still need to define what is the dependable, the callable that you pass as a parameter to Depends() or Security() . There are multiple tool ... nCodeBearer , OAuth2PasswordBearer , OAuth2PasswordRequestForm , OAuth2PasswordRequestFormStrict , OpenIdConnect , SecurityScopes , ) API Key Security Schemes ::: fastapi.security.APIKeyCookie ::: fastapi.security.APIKeyHeader ::: fastapi.security.APIK ... d Form ::: fastapi.security.OAuth2PasswordRequestForm ::: fastapi.security.OAuth2PasswordRequestFormStrict OAuth2 Security Scopes in Dependencies ::: fastapi.security.SecurityScopes OpenID Connect ::: fastapi.security.OpenIdConnect ...
https://man.mtool.work/fastapi/0.115/reference/security/
Dependencies - Depends() and Security() 8506
Dependencies - Depends() and Security() Depends() Dependencies are handled mainly with the special function Depends() that takes a callable. Here is the reference for it and its parameters. You can import it directly from fastapi : from fas ... curity (authorization, authentication, etc.) with dependencies, using Depends() . But when you want to also declare OAuth2 scopes, you can use Security() instead of Depends() . You can import Security() directly from fastapi : from fastapi import Secur ...
https://man.mtool.work/fastapi/0.115/reference/dependencies/
Release Notes 8251
Release Notes Latest Changes 0.115.11 Fixes ? Add docs examples and tests (support) for Annotated custom validations, like AfterValidator , revert #13440 . PR #13442 by @tiangolo . New docs: Query Parameters and String Validations - Custom ... d system using PydanticAI. PR #13118 by @tiangolo . ? Update Chinese translation for docs/zh/docs/advanced/security/oauth2-scopes.md . PR #13110 by @ChenPu2002 . ? Add Indonesian translation for docs/id/docs/tutorial/path-params.md . PR #13086 by @gerr ... /docs/how-to/configure-swagger-ui.md . PR #12690 by @alissadb . ? Update includes in docs/en/docs/advanced/security/oauth2-scopes.md . PR #12572 by @krishnamadhavan . ? Update includes for docs/en/docs/how-to/conditional-openapi.md . PR #12624 by @rabi ... s/how-to/graphql.md . PR #12215 by @AnandaCampelo . ? Add Portuguese translation for docs/pt/docs/advanced/security/oauth2-scopes.md . PR #12263 by @ceb10n . ? Add Portuguese translation for docs/pt/docs/deployment/concepts.md . PR #12219 by @marceloma ...
https://man.mtool.work/fastapi/0.115/release-notes/
Simple OAuth2 with Password and Bearer 8233
Simple OAuth2 with Password and Bearer Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . Now let's build from the previous chapter and add the missing parts to have ... can send another form field " scope ". The form field name is scope (in singular), but it is actually a long string with "scopes" separated by spaces. Each "scope" is just a string (without spaces). They are normally used to declare specific security ... OAuth2PasswordRequestForm won't have an attribute scope with the long string separated by spaces, instead, it will have a scopes attribute with the actual list of strings for each scope sent. We are not using scopes in this example, but the functional ...
https://man.mtool.work/fastapi/0.115/tutorial/security/simple-oauth2/
Bigger Applications - Multiple Files 8179
Bigger Applications - Multiple Files Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . If you are building an application or a web API, it's rarely the case that you ... he dependencies in the decorator , and then the normal parameter dependencies. You can also add Security dependencies with scopes . Tip Having dependencies in the APIRouter can be used, for example, to require authentication for a whole group of path o ...
https://man.mtool.work/fastapi/0.115/tutorial/bigger-applications/
パスワード(およびハッシュ化)によるOAuth2、JWTトークンによるBearer 8124
パスワード(およびハッシュ化)によるOAuth2、JWTトークンによるBearer これでセキュリティの流れが全てわかったので、 JWT トークンと安全なパスワードのハッシュ化を使用して、実際にアプリケーションを安全にしてみましょう。 このコードは、アプリケーシ ... トでのみ送信され、その後は送信されないことがわかります。 備考 ヘッダーの Authorization には、 Bearer で始まる値があります。 scopes を使った高度なユースケース OAuth2には、「スコープ」という概念があります。 これらを利用して、JWTトークンに特定の権限セットを ...
https://man.mtool.work/fastapi/0.115/tutorial/security/oauth2-jwt/
PREV 1 NEXT