security

package
v0.0.0-...-eb336c4 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2022 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CharString

func CharString(n int) string

func CreateJWT

func CreateJWT(conf *storage.InternalConfig, email, project string) (string, error)

Types

type TokenClaims

type TokenClaims struct {
	Name        string `json:"name"`
	ProjectName string `json:"project_name"`
	jwt.RegisteredClaims
}

Jump to

Keyboard shortcuts

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