Documentation
¶
Overview ¶
Package apitokenhttp adapts API token HTTP requests to the token usecase.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler adapts API token HTTP requests to the token usecase.
func (*Handler) CreateToken ¶
CreateToken creates an API token and returns the raw secret once.
func (*Handler) DeleteToken ¶
DeleteToken revokes an API token.
func (*Handler) ListTokens ¶
ListTokens returns token metadata without raw secrets or hashes.
Click to show internal directories.
Click to hide internal directories.