Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider interface { Login(ctx context.Context) (authToken string, err error) Type() string GetUsername() string SetDebug(bool) }
Provider is a common interface for managing auth tokens with the different third party authenticators
func NewProvider ¶
NewProvider creates a new provider based on the provider identifier
Click to show internal directories.
Click to hide internal directories.