Alex Bäuerle cd58194d2a
docs(docs): start implementing docs website (#1372)
* docs(docs): start implementing docs website

* update video url

* add autogenerated codebase docs for backend

* precommit

* update links

* fix config and video

* gh actions

* rename

* workdirs

* path

* path

* fix doc1

* redo markdown

* docs

* change main folder name

* simplify readme

* add back architecture

* Fix lint errors

* lint

* update poetry lock

---------

Co-authored-by: Jim Su <jimsu@protonmail.com>
2024-04-29 10:00:51 -07:00

480 B

sidebar_label, title
sidebar_label title
auth opendevin.server.auth.auth

get_sid_from_token

def get_sid_from_token(token: str) -> str

Retrieves the session id from a JWT token.

Arguments:

  • token str - The JWT token from which the session id is to be extracted.

Returns:

  • str - The session id if found and valid, otherwise an empty string.

sign_token

def sign_token(payload: Dict[str, object]) -> str

Signs a JWT token.