HTTP Digest authentication.
**Warning**: this is only a stub to connect the components with OpenAPI in FastAPI,
- but it doesn't implement the full Digest scheme, you would need to to subclass it
+ but it doesn't implement the full Digest scheme, you would need to subclass it
and implement it in your code.
Ref: https://datatracker.ietf.org/doc/html/rfc7616
You could have custom internal logic to separate it by colon characters (`:`) or
similar, and get the two parts `items` and `read`. Many applications do that to
group and organize permissions, you could do it as well in your application, just
- know that that it is application specific, it's not part of the specification.
+ know that it is application specific, it's not part of the specification.
"""
def __init__(
You could have custom internal logic to separate it by colon characters (`:`) or
similar, and get the two parts `items` and `read`. Many applications do that to
group and organize permissions, you could do it as well in your application, just
- know that that it is application specific, it's not part of the specification.
+ know that it is application specific, it's not part of the specification.
grant_type: the OAuth2 spec says it is required and MUST be the fixed string "password".
**Warning**: this is only a stub to connect the components with OpenAPI in FastAPI,
but it doesn't implement the full OpenIdConnect scheme, for example, it doesn't use
- the OpenIDConnect URL. You would need to to subclass it and implement it in your
+ the OpenIDConnect URL. You would need to subclass it and implement it in your
code.
"""
"id": uuid.uuid4(),
"name": "Island In The Moon",
"price": 12.99,
- "description": "A place to be be playin' and havin' fun",
+ "description": "A place to be playin' and havin' fun",
"tags": ["breater"],
}
"name": "Island In The Moon",
"price": 12.99,
"tags": ["breater"],
- "description": "A place to be be playin' and havin' fun",
+ "description": "A place to be playin' and havin' fun",
"tax": None,
}
)