auth

package
v0.0.0-...-3bfc28e Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2020 License: MIT Imports: 2 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 {
	Username string `json:"username"`
	jwt.StandardClaims
}

type Credentials

type Credentials struct {
	Username string
	// contains filtered or unexported fields
}

type Token

type Token jwt.Token

func (*Token) New

func (*Token) New(username string) *jwt.Token

func (*Token) Validate

func (*Token) Validate()

Jump to

Keyboard shortcuts

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