Module Equinoxe_hlc.User

A module to interact with Equinix user.

type id

A unique identifier for a user.

type config = {
id : id;
first_name : string;
last_name : string;
email : string;
created_at : Equinoxe__Equinoxe_intf.Date.t;
last_login_at : Equinoxe__Equinoxe_intf.Date.t;
}

Representation of a user configuration.

val id_of_string : string -> id
val to_string : config -> string

to_string config returns a string representing a user.

val get_current_user : t -> config io

get_current_user t returns the user interacting with the API.

val pp : config -> unit

pp config pretty-prints a user configuration.