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

identity

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const SIGNATURE_SCHEME_HEADER = "X-Restate-Signature-Scheme"

Variables

This section is empty.

Functions

func ValidateRequestIdentity

func ValidateRequestIdentity(keySet KeySetV1, path string, headers map[string][]string) error

Types

type KeySetV1

type KeySetV1 = map[string]ed25519.PublicKey

func ParseKeySetV1

func ParseKeySetV1(keys []string) (KeySetV1, error)

type SignatureScheme

type SignatureScheme string
const (
	JWT_HEADER                 = "X-Restate-Jwt-V1"
	SchemeV1   SignatureScheme = "v1"
)
var (
	SchemeUnsigned SignatureScheme = "unsigned"
)

Jump to

Keyboard shortcuts

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