(** Authentication mechanisms *) (** Log source for authentication operations *) val src : Logs.Src.t type t (** Abstract authentication type *) val none : t (** No authentication *) val basic : username:string -> password:string -> t (** HTTP Basic authentication *) val bearer : token:string -> t (** Bearer token authentication (e.g., OAuth 2.0) *) val digest : username:string -> password:string -> t (** HTTP Digest authentication *) val custom : (Headers.t -> Headers.t) -> t (** Custom authentication handler *) val apply : t -> Headers.t -> Headers.t (** Apply authentication to headers *)