selfsignedjwt

package
v0.19.2 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Token

type Token struct {
	jwt.StandardClaims

	ID         string                          `json:"scid,omitempty"`
	Groups     []string                        `json:"scgr,omitempty"`
	Attributes map[auth.TokenAttribute]*string `json:"scat,omitempty"`
	// contains filtered or unexported fields
}

func NewOriginToken

func NewOriginToken(origin string) Token

func (Token) Valid

func (t Token) Valid() error

func (Token) VerifyOrigin

func (t Token) VerifyOrigin() error

Jump to

Keyboard shortcuts

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