Documentation
¶
Index ¶
- type ApiKeyApp
- func (app *ApiKeyApp) AdminDeleteApiKey(apiKeyId string) error
- func (app *ApiKeyApp) CreateApiKey(input dto.CreateApiKeyInput) (*dto.CreateApiKeyOutput, error)
- func (app *ApiKeyApp) DeleteApiKey(input dto.DeleteApiKeyInput) error
- func (app *ApiKeyApp) GetAllApiKeys(limit, offset int) ([]domain.ApiKey, int64, error)
- func (app *ApiKeyApp) ListApiKeys(input dto.ListApiKeysInput) (*dto.ListApiKeysOutput, error)
- func (app *ApiKeyApp) UpdateApiKey(input dto.UpdateApiKeyInput) error
- func (app *ApiKeyApp) ValidateApiKey(input dto.ValidateApiKeyInput) (*dto.ValidateApiKeyOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiKeyApp ¶
func NewApiKeyApp ¶
func (*ApiKeyApp) AdminDeleteApiKey ¶
AdminDeleteApiKey deletes an API key without ownership check (admin only)
func (*ApiKeyApp) CreateApiKey ¶
func (app *ApiKeyApp) CreateApiKey(input dto.CreateApiKeyInput) (*dto.CreateApiKeyOutput, error)
func (*ApiKeyApp) DeleteApiKey ¶
func (app *ApiKeyApp) DeleteApiKey(input dto.DeleteApiKeyInput) error
func (*ApiKeyApp) GetAllApiKeys ¶
GetAllApiKeys returns all API keys with pagination (admin only)
func (*ApiKeyApp) ListApiKeys ¶
func (app *ApiKeyApp) ListApiKeys(input dto.ListApiKeysInput) (*dto.ListApiKeysOutput, error)
func (*ApiKeyApp) UpdateApiKey ¶
func (app *ApiKeyApp) UpdateApiKey(input dto.UpdateApiKeyInput) error
func (*ApiKeyApp) ValidateApiKey ¶
func (app *ApiKeyApp) ValidateApiKey(input dto.ValidateApiKeyInput) (*dto.ValidateApiKeyOutput, error)
Click to show internal directories.
Click to hide internal directories.