token

package
v0.0.0-...-748f5db Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2017 License: MIT Imports: 9 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager interface {
	ValidateToken(tokenString string, request *http.Request) (int64, error)
	CreateAuthToken(userID int64, request *http.Request) (string, error)
	CreateRefreshToken(userID int64, request *http.Request) (string, error)
}

func NewManager

func NewManager(config config.TokenConfigProvider) Manager

Jump to

Keyboard shortcuts

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