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

authmode

package
v0.112.15 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	EmbeddedTokenIssuer      = "http://localhost:8888" //nolint:gosec // URL, not a credential
	EmbeddedTokenAudience    = "http://localhost:8888" //nolint:gosec // URL, not a credential
	EmbeddedTokenServerURL   = "http://localhost:8888" //nolint:gosec // URL, not a credential
	EmbeddedTokenGRPCAddress = "localhost:7077"
	EmbeddedTokenTenantID    = "707d0855-80ab-4e1f-a156-f1c4546cbf52" //nolint:gosec // tenant UUID, not a credential
	EmbeddedTokenID          = "0a0a0a0a-0000-4000-8000-000000000001" //nolint:gosec // token UUID, not a credential
)

Fixed claims of the embedded auth-disabled token. The loader pins the JWT manager to these so the one committed token validates on every authdisabled instance.

View Source
const IsDisabled = false

Variables

This section is empty.

Functions

func EmbeddedPrivateKeyset

func EmbeddedPrivateKeyset() []byte

func EmbeddedPublicKeyset

func EmbeddedPublicKeyset() []byte

func EmbeddedToken

func EmbeddedToken() string

Types

This section is empty.

Directories

Path Synopsis
keyset
gen command
Command gen regenerates the embedded auth-disabled API token (keyset/token.jwt), signed with the committed private keyset.
Command gen regenerates the embedded auth-disabled API token (keyset/token.jwt), signed with the committed private keyset.

Jump to

Keyboard shortcuts

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