FastAPI - Authentication and Security
Given this code snippet, what is the value of 'token' inside the endpoint if the Authorization header is 'Bearer abc123'?
oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token")
@app.get("/items/")
async def read_items(token: str = Depends(oauth2_scheme)):
return {"token": token}