home / docs / sections

sections: internals:datasette-sign

This data as json

id page ref title content breadcrumbs references
internals:datasette-sign internals datasette-sign .sign(value, namespace="default") value - any serializable type The value to be signed. namespace - string, optional An alternative namespace, see the itsdangerous salt documentation . Utility method for signing values, such that you can safely pass data to and from an untrusted environment. This is a wrapper around the itsdangerous library. This method returns a signed string, which can be decoded and verified using .unsign(value, namespace="default") . ["Internals for plugins", "Datasette class"] [{"href": "https://itsdangerous.palletsprojects.com/en/1.1.x/serializer/#the-salt", "label": "itsdangerous salt documentation"}, {"href": "https://itsdangerous.palletsprojects.com/", "label": "itsdangerous"}]
Powered by Datasette · Queries took 1.289ms