Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Make.Mval serialize : t -> Base.stringserialize is to make a string from t to store in a session between requests. It should represent entity in a way allowing to regain it later with deserialize
val deserialize : Base.string -> (t, Base.Error.t) Base.Result.tdeserialize is to make t from string to use it in handlers. The string should be created by serialize. Returns: Ok t if deserialization was successful or Error string if an error occured
val identificate :
Dream.request ->
(t, Base.Error.t) Base.Result.t Dream.promiseidentificate is to define which user is trying to authenticate. Retrieves its representation or returns an error
val applicable_strats : t -> Base.string Base.listapplicable_strats returns a list of strats which can be applied to the whole MODEL or to certain t. Strings are to be the same as STRATEGY.name