package krb

  1. Overview
  2. Docs
A library for using Kerberos for both Rpc and Tcp communication

Install

Dune Dependency

Authors

Maintainers

Sources

krb-v0.15.0.tar.gz
sha256=d0b4b946f4e53dff9091d2d02a235e861ab5ad9d64638b17ba1834dedfb4f53d

doc/krb.internal/Krb_internal_public/Auth_context/Client/index.html

Module Auth_context.ClientSource

Sourcetype 'a with_init_args = 'a V1.Client.with_init_args

Without setting addrs on the auth context, you can't encode/decode messages. Thus, you don't get back a t. However, you can still use the ap_req as a way for the client to claim its identity.

Sourceval read_and_verify_ap_rep : t -> ap_rep:Ap_rep.t -> unit Async.Deferred.Or_error.t

Read an AP_REP message from the server. This authenticates the server to the client

Sourceval make_krb_cred : t -> forwardable:bool -> client:Principal.t -> Cred_cache.t -> Krb_cred.t Async.Deferred.Or_error.t

Create a KRB-CRED message. This will be sent by the client to forward its credentials (really just TGT) to the server.

OCaml

Innovation. Community. Security.