token

package
v0.0.0-...-7e68079 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateExpirationFreeAgentToken

func CreateExpirationFreeAgentToken(name, signingKey string) string

func CreateExpiringToken

func CreateExpiringToken(username, signingKey string, expirationLength time.Duration, backend string) string

func CreateToken

func CreateToken(signingKey string, claims jwt.MapClaims) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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