publishableapikey

package
v1.35.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Query

Types

type KeyType

type KeyType string
const (
	Publishable KeyType = "publishable"
	Secret      KeyType = "secret"
)

type PublishableApiKey

type PublishableApiKey struct {
	mixin.Model[PublishableApiKey]

	Title      string     `json:"title"`
	Type       KeyType    `json:"type"`
	Token      string     `json:"-"`
	Salt       string     `json:"-"`
	Redacted   string     `json:"redacted"`
	LastUsedAt *time.Time `json:"lastUsedAt,omitempty"`
	RevokedAt  *time.Time `json:"revokedAt,omitempty"`
	RevokedBy  string     `json:"revokedBy"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL