customclaims

package
Version: v0.0.8 Latest Latest
Warning

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

Go to latest
Published: May 31, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ContextKeyUserId = ContextKey("authful_user_id")
	ContextJwt       = ContextKey("authful_jwt")
	ContextTraceId   = ContextKey("authful_trace_id")
)

Functions

This section is empty.

Types

type Claims

type Claims struct {
	Username string `json:"username"`
	UserId   string `json:"user_id"`
	jwt.StandardClaims
}

type ContextKey

type ContextKey string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL