Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document state_cache #740

Open
spaceone opened this issue Oct 28, 2020 · 2 comments
Open

Document state_cache #740

spaceone opened this issue Oct 28, 2020 · 2 comments

Comments

@spaceone
Copy link
Contributor

Hi,

I searched for state_cache in the documentation (https://pysaml2.readthedocs.io/en/latest/search.html?q=state_cache&check_keywords=yes&area=default#) without results.

I think it would be good to document this feature.
I assume Saml2Client's state_cache and identity_cache are the only in memory stored data which need to exist between multiple requests?!

An example how to use this with multiprocessing would be good.
Maybe https://pypi.org/project/shared-memory-dict/ helps.
Maybe also an example for memcached as well.

@spaceone
Copy link
Contributor Author

I also found in the docs for subject_data that it is possible to store things in memcached: https://pysaml2.readthedocs.io/en/latest/howto/config.html?highlight=memcached#subject-data
As subject_data is in the chapter including service providers, I don't know where/when this is used. Or is this only for IDP's?

@peppelinux
Copy link
Member

AFAIK I never used it, I'm sorry I can't help you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants