tokenauth

package module
v0.0.0-...-0a72f94 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2016 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TokenAuth

type TokenAuth struct {
	PublicKeyXVar  string
	PublicKeyYVar  string
	DatastoreKind  string // e.g. "ValidTokens"
	MemcachePrefix string // e.g. "valid-token-"
}

func (TokenAuth) CheckAuth

func (t TokenAuth) CheckAuth(r *http.Request) error

Jump to

Keyboard shortcuts

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