Documentation ¶
Index ¶
- type APIKey
- type Manager
- func (m *Manager) Delete(username string, label string) (err error)
- func (m *Manager) GetByApplicationAndSecret(applicationid string, secret string) (apikey *APIKey, err error)
- func (m *Manager) GetByUser(username string) (apikeys []APIKey, err error)
- func (m *Manager) GetByUsernameAndLabel(username string, label string) (apikey *APIKey, err error)
- func (m *Manager) Save(apikey *APIKey) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIKey ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager is used to store users
func NewManager ¶
NewManager creates and initializes a new Manager
func (*Manager) GetByApplicationAndSecret ¶
func (*Manager) GetByUsernameAndLabel ¶
Click to show internal directories.
Click to hide internal directories.