claims

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2020 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Claims

type Claims struct {
	ID      *uuid.UUID `json:"jti,omitempty"`
	Subject *uuid.UUID `json:"sub,omitempty"`
	jwt.StandardClaims
}

func New

func New(sub *uuid.UUID) *Claims

type ContextKeyEXP added in v1.3.0

type ContextKeyEXP struct{}

type ContextKeyJTI added in v1.3.0

type ContextKeyJTI struct{}

type ContextKeySUB added in v1.3.0

type ContextKeySUB struct{}

Jump to

Keyboard shortcuts

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