Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth interface {
APIKey(token string) (interface{}, error)
Basic(user, password string) (interface{}, error)
OAuth2(token string, scopes []string) (interface{}, error)
// AuthStore is a function that stores authentication in the context object
Store(context.Context, interface{}) context.Context
}
Auth functions
Click to show internal directories.
Click to hide internal directories.