package ez_api
Easy API library and tools
Install
Dune Dependency
Authors
Maintainers
Sources
2.1.0.tar.gz
md5=e1d03d141ef977fbd4521256c91431f1
sha512=51b0cc4e6afb0cd5ab55c0c40964946b79e0c2cc903b5d08c594292eec723a25e25463175d704c02fe559e2af5d95973514c248a603ad28ec0230c35ad2d6492
doc/ez_api.server_session/EzSessionServer/UserStoreInMemory/SessionArg/index.html
Module UserStoreInMemory.SessionArg
Source
See EzSession.TYPES.SessionArg
type user_id = S.user_id
User identifier, which generally is the same as login
type user_info = S.user_info
Associated to user information
Web host, that should be used in access control headers, if specified. If web_host isn't specified, then acces-control header in response will be set to '*' and authentication wwith cookies wouldn't work. Note : Cookies would be set by browser only if request's flag 'with_credentials' is set to true. Last one in turn, requires that "Access-control_allow_origin" header by reponse returns something different from "*".
val user_id_encoding : user_id Json_encoding.encoding
Json encoding for user's id
val user_info_encoding : user_info Json_encoding.encoding
Json encoding for user's information
RPC path where authentication services like connect, login and logout would be placed.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>