authtest

package
v1.32.1 Latest Latest
Warning

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

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

Documentation

Overview

Package authtest provides shared test helpers for the auth package. The conventional "*test" suffix marks it as test-shaped, but it is a regular Go package importable from production code (e.g. manual harnesses) when needed.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StaticTokenProvider

type StaticTokenProvider string

StaticTokenProvider returns the same token for every call. Useful for manual harnesses and tests; not a production-grade provider (no expiry, no rotation, no per-receiver scoping).

func (StaticTokenProvider) GetToken

Jump to

Keyboard shortcuts

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