auth

package
v0.18.3 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Header = "Authorization"
)

Variables

This section is empty.

Functions

func DecodeJWT

func DecodeJWT(token string) (map[string]interface{}, error)

Types

type TokenDetails

type TokenDetails struct {
	JTI string `json:"jti"`
	EXP int64  `json:"exp"`
}

Jump to

Keyboard shortcuts

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