Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OAuthProvider ¶
type OAuthProvider struct {
// contains filtered or unexported fields
}
OAuthProvider provides oauth config for gitlab
func New ¶
func New(baseURL *url.URL, clientID, clientSecret string) *OAuthProvider
New returns a gitlab oauth provider
func (*OAuthProvider) Config ¶
func (provider *OAuthProvider) Config() *oauth2.Config
Config returns the gitlab oauth2 config
Click to show internal directories.
Click to hide internal directories.