auth

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(claims jwt.Claims) string

func Resolve

func Resolve(tokenString string) (jwt.MapClaims, error)

Types

type IdentityContract

type IdentityContract struct {
	Id           int64
	EmailAddress string
	Type         string
}

func ExtractClaims

func ExtractClaims(c echo.Context) *IdentityContract

Jump to

Keyboard shortcuts

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