Documentation
¶
Overview ¶
Package testkit provides local protocol fixtures for plugin conformance tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpireOIDCSession ¶
ExpireOIDCSession advances the starter's cached access-token expiry in fixture storage. This helper is only used by conformance against isolated memory/file backends.
Types ¶
type Issuer ¶
Issuer serves discovery, signed ID tokens, PKCE exchange, refresh, and revocation. It accepts no developer credentials and binds only to a local test listener.
func NewIssuer ¶
func NewIssuer(options ...IssuerOption) (*Issuer, error)
NewIssuer starts an isolated OIDC fixture.
type IssuerOption ¶
type IssuerOption func(*Issuer)
IssuerOption configures a deliberate protocol failure in a local test fixture.
func WithClaims ¶
func WithClaims(mutate func(map[string]any)) IssuerOption
WithClaims changes signed claims to exercise relying-party validation.
func WithInvalidSignature ¶
func WithInvalidSignature() IssuerOption
WithInvalidSignature signs with a key absent from the discovery JWKS.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package fakeplugin lets a Go test binary act as a native Atmos plugin without shell commands or platform-specific executables.
|
Package fakeplugin lets a Go test binary act as a native Atmos plugin without shell commands or platform-specific executables. |