Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
An authenticated user that can be used to access user specific information.
val to_string : user:t -> (string, Serde.error) Stdlib.result
val of_string : user:string -> (t, Serde.error) Stdlib.result
val is_valid : user:t -> bool
A user token is usually only valid for 1h. You can use this function to check if the user token is expired.