FastAPI - Authentication and Security
Given this FastAPI dependency:
oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token")
@app.get("/users/me")
async def read_users_me(token: str = Depends(oauth2_scheme)):
return {"token": token}
What will be the output if the client sends a request with header Authorization: Bearer abc123?