package gitlab-jsoo

  1. Overview
  2. Docs

Project access tokens for Project authentication.

They may be used to:

  • Authenticate with the GitLab API.
  • Authenticate with Git using HTTP Basic Authentication.
val tokens : token:Token.t -> project_id:int -> unit -> Gitlab_t.project_access_tokens Response.t Monad.t

tokens ~token ?project_id () get the Project Access Tokens for ~project_id. See List project access tokens.

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

revoke ~token ~id Revoke a project access token. See Revoke a project access token.

val create : token:Token.t -> project_id:int -> Gitlab_t.new_token -> unit -> Gitlab_t.project_access_token Response.t Monad.t

Create a project access token for ~project_id. See Create a project access token.

OCaml

Innovation. Community. Security.