testutil

package
v1.136.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SeedDoorkeeperRefreshToken added in v1.118.0

func SeedDoorkeeperRefreshToken(t *testing.T, db storage.Database, hash, clientID, subject string, scopes []string, expiresAt, revokedAt *time.Time)

SeedDoorkeeperRefreshToken stores a refresh token as the Doorkeeper replication would, bypassing its replicated-client gate. A nil expiresAt never expires, and a nil revokedAt leaves the token live.

Types

This section is empty.

Jump to

Keyboard shortcuts

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