Service.MakeSourcemodule Log : Log.Service.Sig.SERVICEmodule Repo : Sig.REPOSITORYinclude Core.Container.SERVICEval create :
Core.Ctx.t ->
kind:string ->
?data:string ->
?expires_in:Utils.Time.duration ->
unit ->
Token__.Token_core.t Lwt.tCreate a token and store a token.
Provide expires_in to define a duration in which the token is valid, default is one day. Provide data to store optional data as string.
Returns an active and non-expired token.
Returns an active and non-expired token.