Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for OAuth (0.14 sec)

  1. docs/de/docs/tutorial/security/index.md

    Sie umfasst Möglichkeiten zur Authentifizierung mithilfe eines „Dritten“ („third party“).
    
    Das ist es, was alle diese „Login mit Facebook, Google, Twitter, GitHub“-Systeme unter der Haube verwenden.
    
    ### OAuth 1
    
    Es gab ein OAuth 1, das sich stark von OAuth2 unterscheidet und komplexer ist, da es direkte Spezifikationen enthält, wie die Kommunikation verschlüsselt wird.
    
    Heutzutage ist es nicht sehr populär und wird kaum verwendet.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:09:35 GMT 2024
    - 5K bytes
    - Viewed (0)
  2. docs/zh/docs/tutorial/handling-errors.md

    **FastAPI** 也提供了自有的 `HTTPException`。
    
    **FastAPI** 的 `HTTPException` 继承自 Starlette 的 `HTTPException` 错误类。
    
    它们之间的唯一区别是,**FastAPI** 的 `HTTPException` 可以在响应中添加响应头。
    
    OAuth 2.0 等安全工具需要在内部调用这些响应头。
    
    因此你可以继续像平常一样在代码中触发 **FastAPI** 的 `HTTPException` 。
    
    但注册异常处理器时,应该注册到来自 Starlette 的 `HTTPException`。
    
    这样做是为了,当 Starlette 的内部代码、扩展或插件触发 Starlette `HTTPException` 时,处理程序能够捕获、并处理此异常。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 8.4K bytes
    - Viewed (0)
Back to top