package kubecaml

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

Token_review_status is the result of the token authentication request.

type t
val to_yojson : t -> Yojson.Safe.t
val make : ?user:Kubernetes.Definitions.Api.Authentication.V1.User_info.t -> ?error:string -> ?authenticated:bool -> unit -> t
val authenticated : t -> bool option

Authenticated indicates that the token was associated with a known user.

val error : t -> string option

Error indicates that the token couldn't be checked

User is the User_info associated with the provided token.

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

Innovation. Community. Security.