mock

package
v0.17.2 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewJWTMock

func NewJWTMock() fiber.Handler

NewJWTMock creates a new JWT middleware for mocking This middleware will parse the JWT token and set the user context However, it will not perform any validation on it

func NewMockAccessToken

func NewMockAccessToken(env, group, team string, scopes []string) string

NewMockAccessToken creates a new mock access token that can be used for testing

Types

This section is empty.

Jump to

Keyboard shortcuts

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