gitlab

package
v2.11.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package gitlab provides authentication strategies using Gitlab.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	BaseURL      string `json:"baseURL"`
	ClientID     string `json:"clientID"`
	ClientSecret string `json:"clientSecret"`
	RedirectURI  string `json:"redirectURI"`
}

Config holds configuration options for gilab logins.

func (*Config) Open

func (c *Config) Open(id string, logger logrus.FieldLogger) (connector.Connector, error)

Open returns a strategy for logging in through GitLab.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL