R

Ravina • 3.96K Points
Extraordinary

Q. How does FastAPI support OAuth2 authentication?

  • (A) Using Flask-OAuth
  • (B) Using OAuth2PasswordBearer
  • (C) Using FastAuth
  • (D) Using JWTMiddleware
  • Correct Answer - Option(B)
  • Views: 12
  • Filed under category Fast API
  • Hashtags:

Explanation by: Ravina
`OAuth2PasswordBearer` is used to implement OAuth2 password flows in FastAPI.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.