Skip to main content

get_gitlab_auth

Function get_gitlab_auth 

Source
pub async fn get_gitlab_auth(host: Option<&str>) -> Result<GitLabAuthConfig>
Expand description

Get GitLab authentication

Priority:

  1. glab CLI (glab auth token)
  2. GITLAB_TOKEN environment variable
  3. GL_TOKEN environment variable