package sihl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val names : string list
val created_at : ([< `Read | `Set_and_create ], Sihl__.Token_core.t, Ptime.t) Fieldslib.Field.t_with_perm
val expires_at : ([< `Read | `Set_and_create ], Sihl__.Token_core.t, Ptime.t) Fieldslib.Field.t_with_perm
val status : ([< `Read | `Set_and_create ], Sihl__.Token_core.t, Sihl__.Token_core.Status.t) Fieldslib.Field.t_with_perm
val kind : ([< `Read | `Set_and_create ], Sihl__.Token_core.t, Base.string) Fieldslib.Field.t_with_perm
val data : ([< `Read | `Set_and_create ], Sihl__.Token_core.t, Base.string Base.option) Fieldslib.Field.t_with_perm
val value : ([< `Read | `Set_and_create ], Sihl__.Token_core.t, Base.string) Fieldslib.Field.t_with_perm
val id : ([< `Read | `Set_and_create ], Sihl__.Token_core.t, Base.string) Fieldslib.Field.t_with_perm
val make_creator : id: (([< `Read | `Set_and_create ], Sihl__.Token_core.t, Base.string) Fieldslib.Field.t_with_perm -> 'a -> ('b -> Base.string) * 'c) -> value: (([< `Read | `Set_and_create ], Sihl__.Token_core.t, Base.string) Fieldslib.Field.t_with_perm -> 'c -> ('b -> Base.string) * 'd) -> data: (([< `Read | `Set_and_create ], Sihl__.Token_core.t, Base.string Base.option) Fieldslib.Field.t_with_perm -> 'd -> ('b -> Base.string Base.option) * 'e) -> kind: (([< `Read | `Set_and_create ], Sihl__.Token_core.t, Base.string) Fieldslib.Field.t_with_perm -> 'e -> ('b -> Base.string) * 'f) -> status: (([< `Read | `Set_and_create ], Sihl__.Token_core.t, Sihl__.Token_core.Status.t) Fieldslib.Field.t_with_perm -> 'f -> ('b -> Sihl__.Token_core.Status.t) * 'g) -> expires_at: (([< `Read | `Set_and_create ], Sihl__.Token_core.t, Ptime.t) Fieldslib.Field.t_with_perm -> 'g -> ('b -> Ptime.t) * 'h) -> created_at: (([< `Read | `Set_and_create ], Sihl__.Token_core.t, Ptime.t) Fieldslib.Field.t_with_perm -> 'h -> ('b -> Ptime.t) * 'i) -> 'a -> ('b -> Sihl__.Token_core.t) * 'i
val create : id:Base.string -> value:Base.string -> data:Base.string Base.option -> kind:Base.string -> status:Sihl__.Token_core.Status.t -> expires_at:Ptime.t -> created_at:Ptime.t -> Sihl__.Token_core.t
val map : id: (([< `Read | `Set_and_create ], Sihl__.Token_core.t, Base.string) Fieldslib.Field.t_with_perm -> Base.string) -> value: (([< `Read | `Set_and_create ], Sihl__.Token_core.t, Base.string) Fieldslib.Field.t_with_perm -> Base.string) -> data: (([< `Read | `Set_and_create ], Sihl__.Token_core.t, Base.string Base.option) Fieldslib.Field.t_with_perm -> Base.string Base.option) -> kind: (([< `Read | `Set_and_create ], Sihl__.Token_core.t, Base.string) Fieldslib.Field.t_with_perm -> Base.string) -> status: (([< `Read | `Set_and_create ], Sihl__.Token_core.t, Sihl__.Token_core.Status.t) Fieldslib.Field.t_with_perm -> Sihl__.Token_core.Status.t) -> expires_at: (([< `Read | `Set_and_create ], Sihl__.Token_core.t, Ptime.t) Fieldslib.Field.t_with_perm -> Ptime.t) -> created_at: (([< `Read | `Set_and_create ], Sihl__.Token_core.t, Ptime.t) Fieldslib.Field.t_with_perm -> Ptime.t) -> Sihl__.Token_core.t
val iter : id: (([< `Read | `Set_and_create ], Sihl__.Token_core.t, Base.string) Fieldslib.Field.t_with_perm -> Base.unit) -> value: (([< `Read | `Set_and_create ], Sihl__.Token_core.t, Base.string) Fieldslib.Field.t_with_perm -> Base.unit) -> data: (([< `Read | `Set_and_create ], Sihl__.Token_core.t, Base.string Base.option) Fieldslib.Field.t_with_perm -> Base.unit) -> kind: (([< `Read | `Set_and_create ], Sihl__.Token_core.t, Base.string) Fieldslib.Field.t_with_perm -> Base.unit) -> status: (([< `Read | `Set_and_create ], Sihl__.Token_core.t, Sihl__.Token_core.Status.t) Fieldslib.Field.t_with_perm -> Base.unit) -> expires_at: (([< `Read | `Set_and_create ], Sihl__.Token_core.t, Ptime.t) Fieldslib.Field.t_with_perm -> Base.unit) -> created_at: (([< `Read | `Set_and_create ], Sihl__.Token_core.t, Ptime.t) Fieldslib.Field.t_with_perm -> Base.unit) -> Base.unit
val fold : init:'a -> id: ('a -> ([< `Read | `Set_and_create ], Sihl__.Token_core.t, Base.string) Fieldslib.Field.t_with_perm -> 'b) -> value: ('b -> ([< `Read | `Set_and_create ], Sihl__.Token_core.t, Base.string) Fieldslib.Field.t_with_perm -> 'c) -> data: ('c -> ([< `Read | `Set_and_create ], Sihl__.Token_core.t, Base.string Base.option) Fieldslib.Field.t_with_perm -> 'd) -> kind: ('d -> ([< `Read | `Set_and_create ], Sihl__.Token_core.t, Base.string) Fieldslib.Field.t_with_perm -> 'e) -> status: ('e -> ([< `Read | `Set_and_create ], Sihl__.Token_core.t, Sihl__.Token_core.Status.t) Fieldslib.Field.t_with_perm -> 'f) -> expires_at: ('f -> ([< `Read | `Set_and_create ], Sihl__.Token_core.t, Ptime.t) Fieldslib.Field.t_with_perm -> 'g) -> created_at: ('g -> ([< `Read | `Set_and_create ], Sihl__.Token_core.t, Ptime.t) Fieldslib.Field.t_with_perm -> 'h) -> 'h
val map_poly : ([< `Read | `Set_and_create ], Sihl__.Token_core.t, 'a) Fieldslib.Field.user -> 'a list
val for_all : id: (([< `Read | `Set_and_create ], Sihl__.Token_core.t, Base.string) Fieldslib.Field.t_with_perm -> Base.bool) -> value: (([< `Read | `Set_and_create ], Sihl__.Token_core.t, Base.string) Fieldslib.Field.t_with_perm -> Base.bool) -> data: (([< `Read | `Set_and_create ], Sihl__.Token_core.t, Base.string Base.option) Fieldslib.Field.t_with_perm -> Base.bool) -> kind: (([< `Read | `Set_and_create ], Sihl__.Token_core.t, Base.string) Fieldslib.Field.t_with_perm -> Base.bool) -> status: (([< `Read | `Set_and_create ], Sihl__.Token_core.t, Sihl__.Token_core.Status.t) Fieldslib.Field.t_with_perm -> Base.bool) -> expires_at: (([< `Read | `Set_and_create ], Sihl__.Token_core.t, Ptime.t) Fieldslib.Field.t_with_perm -> Base.bool) -> created_at: (([< `Read | `Set_and_create ], Sihl__.Token_core.t, Ptime.t) Fieldslib.Field.t_with_perm -> Base.bool) -> Base.bool
val exists : id: (([< `Read | `Set_and_create ], Sihl__.Token_core.t, Base.string) Fieldslib.Field.t_with_perm -> Base.bool) -> value: (([< `Read | `Set_and_create ], Sihl__.Token_core.t, Base.string) Fieldslib.Field.t_with_perm -> Base.bool) -> data: (([< `Read | `Set_and_create ], Sihl__.Token_core.t, Base.string Base.option) Fieldslib.Field.t_with_perm -> Base.bool) -> kind: (([< `Read | `Set_and_create ], Sihl__.Token_core.t, Base.string) Fieldslib.Field.t_with_perm -> Base.bool) -> status: (([< `Read | `Set_and_create ], Sihl__.Token_core.t, Sihl__.Token_core.Status.t) Fieldslib.Field.t_with_perm -> Base.bool) -> expires_at: (([< `Read | `Set_and_create ], Sihl__.Token_core.t, Ptime.t) Fieldslib.Field.t_with_perm -> Base.bool) -> created_at: (([< `Read | `Set_and_create ], Sihl__.Token_core.t, Ptime.t) Fieldslib.Field.t_with_perm -> Base.bool) -> Base.bool
val to_list : id: (([< `Read | `Set_and_create ], Sihl__.Token_core.t, Base.string) Fieldslib.Field.t_with_perm -> 'a) -> value: (([< `Read | `Set_and_create ], Sihl__.Token_core.t, Base.string) Fieldslib.Field.t_with_perm -> 'a) -> data: (([< `Read | `Set_and_create ], Sihl__.Token_core.t, Base.string Base.option) Fieldslib.Field.t_with_perm -> 'a) -> kind: (([< `Read | `Set_and_create ], Sihl__.Token_core.t, Base.string) Fieldslib.Field.t_with_perm -> 'a) -> status: (([< `Read | `Set_and_create ], Sihl__.Token_core.t, Sihl__.Token_core.Status.t) Fieldslib.Field.t_with_perm -> 'a) -> expires_at: (([< `Read | `Set_and_create ], Sihl__.Token_core.t, Ptime.t) Fieldslib.Field.t_with_perm -> 'a) -> created_at: (([< `Read | `Set_and_create ], Sihl__.Token_core.t, Ptime.t) Fieldslib.Field.t_with_perm -> 'a) -> 'a list
module Direct : sig ... end
OCaml

Innovation. Community. Security.