auth

package
v0.0.0-...-c1aec90 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SigningKey = []byte(os.Getenv("MYCAP_JWT_TOKEN"))

SigningKey is a secret key to store in jwt claims

Functions

func GenerateJWT

func GenerateJWT(name, email string) (string, error)

GenerateJWT creates JWT token from payload

Types

This section is empty.

Jump to

Keyboard shortcuts

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