Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Auth_sign.VARIABLESSourceVARIABLES is a module containing field variables based on MODEL
type entity is a type of authenticatable entity equal to MODEL.t
val authenticated : Base.bool Dream.fieldauthenticated is a variable valid for a single request, indicates if authentication has been previously completed. Should be set in SESSIONMANAGER.auth_setup
val current_user : entity Dream.fieldcurrent_user is a variable valid for a single request, holds an authenticated entity from a session. Should be set in SESSIONMANAGER.auth_setup
val auth_error : Base.Error.t Dream.fieldauth_error is a field with error which occured during any stage of authentication
val update_current_user : entity -> Dream.request -> Base.unit Dream.promiseupdate_current_user user request updates current_user and session.