Skip to content

Commit 1286357

Browse files
authored
[oauthlib] Fix create_token_response() body argument type (#14570)
1 parent 21b9118 commit 1286357

File tree

1 file changed

+1
-1
lines changed
  • stubs/oauthlib/oauthlib/oauth2/rfc6749/endpoints

1 file changed

+1
-1
lines changed

stubs/oauthlib/oauthlib/oauth2/rfc6749/endpoints/token.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class TokenEndpoint(BaseEndpoint):
2323
self,
2424
uri: str,
2525
http_method: _HTTPMethod = "POST",
26-
body: str | None = None,
26+
body: str | dict[str, str] | list[tuple[str, str]] | None = None,
2727
headers: dict[str, str] | None = None,
2828
credentials=None,
2929
grant_type_for_scope=None,

0 commit comments

Comments
 (0)