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

testjwt

package
v1.39.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTestJWT

func CreateTestJWT(orgID string) string

CreateTestJWT creates a JWT token with default claims for a given organization ID.

func CreateTestJWTWithClaims

func CreateTestJWTWithClaims(claims map[string]interface{}) string

CreateTestJWTWithClaims creates a JWT token with custom claims for testing. The signature is a dummy value.

Types

This section is empty.

Jump to

Keyboard shortcuts

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