package kubecaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

User_info holds the information about the user needed to implement the user.info interface.

type t
val to_yojson : t -> Yojson.Safe.t
val make : ?username:string -> ?uid:string -> ?groups:string list -> ?extra:(string * string list) list -> unit -> t
val extra : t -> (string * string list) list option

Any additional information provided by the authenticator.

val groups : t -> string list option

The names of groups this user is a part of.

val uid : t -> string option

A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different Uids.

val username : t -> string option

The name that uniquely identifies this user among all active users.

module Object : Object.S with type value := t
OCaml

Innovation. Community. Security.