package gitlab-jsoo

  1. Overview
  2. Docs
Gitlab APIv4 OCaml library

Install

Dune Dependency

Authors

Maintainers

Sources

lab-0.1.2.tbz
sha256=8ca701f1adcc5e13b6591a82d6d4f55e44571523efeeb47e46777c1cd22e2f2a
sha512=8f3ed8892d7c8545bb7d9f3d9a8035daed3bd8a9a4e6dfe5a7c84258ee45ddc6123bc994afb18d8a012ceb4dc1bd3b96bd109ac5c7a43c96152e69cb690d1815

doc/gitlab-jsoo/Gitlab/User/PersonalAccessToken/index.html

Module User.PersonalAccessTokenSource

Personal access tokens for User authentication.

They may be used to:

  • Authenticate with the GitLab API.
  • Authenticate with Git using HTTP Basic Authentication.
Sourceval tokens : token:Token.t -> ?user_id:int -> unit -> Gitlab_t.personal_access_tokens Response.t Monad.t

person_access_tokens ~token ?user_id () get the Personal Access Tokens for the current user. Administrators can use the ~user_id parameter to filter by user. See List personal access tokens.

Sourceval revoke : token:Token.t -> id:int -> unit -> unit Response.t Monad.t

revoke_person_access_tokens ~token ~id Revoke a personal access token. See Revoke a personal access token.

Sourceval create : token:Token.t -> user_id:int -> Gitlab_t.new_token -> unit -> Gitlab_t.personal_access_token Response.t Monad.t

Create a personal access token for ~user_id. See Create a personal access token.

OCaml

Innovation. Community. Security.