Refresh Access Token
Refresh the access token using the refresh token stored in the cookie.
Args: request (Request): The request containing the cookie. session (Annotated[Session, Depends(get_db)]): the database session. refresh_token (Annotated[Str | None, Cookie()]): the refresh token, which is fetched from a cookie included in the response.
Returns: dict: A dictionary containing the new access token.
post/refresh
Request
- The document declares no server URL.
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Cookies
refresh_tokenstring nullable
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 2 revisions of this API.