mirror of
https://github.com/golang/oauth2.git
synced 2025-07-21 00:00:09 +08:00
Reference: https://docs.gitlab.com/ee/api/oauth2.html#web-application-flow Change-Id: Id8b2189692c1b80b970f3af7ed71d7a59bd9aec4 Change-Id: Id8b2189692c1b80b970f3af7ed71d7a59bd9aec4 GitHub-Last-Rev: 5934217c4bd207ccf2f99947465dd1cd91e62c38 GitHub-Pull-Request: golang/oauth2#294 Reviewed-on: https://go-review.googlesource.com/113975 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
17 lines
494 B
Go
17 lines
494 B
Go
// Copyright 2018 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
// Package gitlab provides constants for using OAuth2 to access GitLab.
|
|
package gitlab // import "golang.org/x/oauth2/gitlab"
|
|
|
|
import (
|
|
"golang.org/x/oauth2"
|
|
)
|
|
|
|
// Endpoint is GitLab's OAuth 2.0 endpoint.
|
|
var Endpoint = oauth2.Endpoint{
|
|
AuthURL: "https://gitlab.com/oauth/authorize",
|
|
TokenURL: "https://gitlab.com/oauth/token",
|
|
}
|