auth

package
v0.0.0-...-a287f25 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MaiAuthTimeout   = time.Minute * 5
	JwtSigningMethod = "HS256"
	JwtExpiration    = time.Hour * 24
)

Functions

func SignJwt

func SignJwt(address string) (string, error)

func ValidateJwt

func ValidateJwt(token string) (string, error)

func ValidateMaiAuth

func ValidateMaiAuth(token string) (string, error)

validate Mai-Authentication

Types

This section is empty.

Jump to

Keyboard shortcuts

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