helpers

package
v0.0.0-...-ca24b28 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	UAAPrivateKey   string
	UAAPublicKey    string
	UAAPublicKeyRSA *rsa.PublicKey
)

Functions

func BuildHSATokenWithKey

func BuildHSATokenWithKey(header map[string]interface{}, claims map[string]interface{}, signingKey string) string

func BuildToken

func BuildToken(header map[string]interface{}, claims map[string]interface{}) string

func BuildTokenWithKey

func BuildTokenWithKey(header map[string]interface{}, claims map[string]interface{}, signingKey string) string

func ExpectToContainMiddlewareStack

func ExpectToContainMiddlewareStack(actualMiddleware []stack.Middleware, expectedMiddleware ...stack.Middleware)

func TruncateTables

func TruncateTables(database *db.DB)

Types

This section is empty.

Jump to

Keyboard shortcuts

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