Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Keys ¶
type Keys interface {
CreateApiKeyForUser(userUUID string, name string) (string, error)
ListAllApiKeysForUser(userUUID string) ([]string, error) // only returns key names, not values
DeleteApiKeyForUser(userUUID string, name string) error
GetApiKeyForUser(userUUID string, name string) (string, error)
UpdateApiKeyForUser(userUUID string, name string, newName string) error
GetUserFromApiKey(apiKey string) (*models.User, error)
}
Click to show internal directories.
Click to hide internal directories.