Documentation
¶
Overview ¶
Package testhttp is the adapters' preset over authtest.New.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Client ¶ added in v0.147.0
Client builds a Client serving httpCfg (nil: headless) with Google and GitHub providers, so provider routes exist; opts adjust the rest.
func ClientAt ¶ added in v0.147.0
func ClientAt(t testing.TB, issuer string, httpCfg *authkit.HTTPConfig, opts ...authtest.Option) *authkit.Client
ClientAt is Client with its issuer, whose path is the surface's base path. GitHub's static endpoints let a login start without network access.
func HTTP ¶ added in v0.147.0
func HTTP() *authkit.HTTPConfig
HTTP is a direct-peer HTTP configuration for tests; authtest's Deps have no rate limits.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.