Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val decode : string -> (t, string) Stdlib.result
val get_signature : t -> string
val decode_and_verify : string -> string -> (t, string) Stdlib.result
val is_valid : string -> t -> bool
val make_unsigned_token : header -> payload -> unsigned_token
val make_signed_token : string -> unsigned_token -> (t, string) Stdlib.result
val pp : Stdlib.Format.formatter -> t -> unit
val algorithm_to_string : algorithm -> string
val show_algorithm : algorithm -> string
val header_to_string : header -> string
val show_header : header -> string
val payload_to_string : payload -> string
val show_payload : payload -> string
val get_claim : string -> payload -> string option