MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / CreateAPIKeyRequest

Struct CreateAPIKeyRequest

api/model/api_key.go:5–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import "time"
4
5type CreateAPIKeyRequest struct {
6 Name string `json:"name" binding:"required"`
7 Scopes []string `json:"scopes" binding:"required"`
8 Owner string `json:"owner" binding:"required"`
9 ExpiresAt time.Time `json:"expires_at" binding:"required"`
10}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected