Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config is an implementation of `auth.Provider` for authenticating using a Gitlab account.
func (*Config) Revoke ¶
Revoke is a no-op revoke method. Gitlab doesn't allow token revocation - tokens live for an hour. Returns nil to satisfy the Provider interface.
func (*Config) StartSession ¶
StartSession retrieves an authentication endpoint from Gitlab.
Click to show internal directories.
Click to hide internal directories.