Help us shape the future of Go! Take the 2026 Go Developer Survey

keysmithadapter

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package keysmithadapter bridges AuthSome key management to the Keysmith extension.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter struct {
	// contains filtered or unexported fields
}

Adapter translates AuthSome key management to Keysmith operations.

func New

func New(engine *keysmith.Engine) *Adapter

New creates a Keysmith bridge adapter.

func (*Adapter) CreateKey

func (a *Adapter) CreateKey(ctx context.Context, input *bridge.CreateKeyInput) (*bridge.KeyResult, error)

CreateKey implements bridge.KeyManager.

func (*Adapter) RevokeKey

func (a *Adapter) RevokeKey(ctx context.Context, keyID string) error

RevokeKey implements bridge.KeyManager.

func (*Adapter) ValidateKey

func (a *Adapter) ValidateKey(ctx context.Context, rawKey string) (*bridge.ValidatedKey, error)

ValidateKey implements bridge.KeyManager.

Jump to

Keyboard shortcuts

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