package slack

  1. Overview
  2. Docs

Module Slack_lib.ContextSource

Sourcetype t = {
  1. ua : string;
  2. secrets : Slack_t.secrets;
}
Sourceval make_secrets : ?slack_access_token:string -> ?slack_signing_secret:string -> unit -> Slack_t.secrets
Sourceval make : ua:string -> secrets:Slack_t.secrets -> t
Sourceval get_secrets_from_file : string -> Slack_j.secrets
Sourceval get_ctx : ?secrets_path:string -> ?ua:string -> unit -> t
Sourceval empty_ctx : unit -> t
Sourceval get_slack_access_token : t -> string
OCaml

Innovation. Community. Security.