package ez_api

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Encodings for data types used in server's requests/responses and for error cases that could be raised by one of them.

val auth_needed : TYPES.auth_needed Json_encoding.encoding
val auth_ok : (S.user_id, S.user_info) TYPES.auth Json_encoding.encoding
val connect_response : (S.user_id, S.user_info) TYPES.auth TYPES.connect_response Json_encoding.encoding
val foreign_message : TYPES.foreign_info Json_encoding.encoding
val local_message : TYPES.local_login_message Json_encoding.encoding
val login_message : TYPES.login_message Json_encoding.encoding
val login_response : (S.user_id, S.user_info) TYPES.login_response Json_encoding.encoding
val session_expired_case : TYPES.connect_error EzAPI.Err.case
val bad_user_case : TYPES.login_error EzAPI.Err.case
val user_not_registered_case : TYPES.login_error EzAPI.Err.case
val unverified_user_case : TYPES.login_error EzAPI.Err.case
val challenge_not_found_case : TYPES.login_error EzAPI.Err.case
val invalid_session_login_case : TYPES.login_error EzAPI.Err.case
val invalid_session_logout_case : [ `Invalid_session_logout of string ] EzAPI.Err.case
val invalid_session_connect_case : TYPES.connect_error EzAPI.Err.case
OCaml

Innovation. Community. Security.