api.token ========= .. py:module:: api.token Functions --------- .. autoapisummary:: api.token.jwt_decode api.token.jwt_encode api.token.get_token api.token.try_get_encoded_token Module Contents --------------- .. py:function:: jwt_decode(request: onegov.core.request.CoreRequest, token: str | bytes) -> Any .. py:function:: jwt_encode(request: onegov.core.request.CoreRequest, payload: dict[str, Any]) -> str .. py:function:: get_token(request: onegov.core.request.CoreRequest) -> dict[str, str] .. py:function:: try_get_encoded_token(request: onegov.core.request.CoreRequest) -> str