api

package
v0.0.0-...-425066b Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2016 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildJWTAuthFunc

func BuildJWTAuthFunc(store users.UserStore, certs *auth.Certs) restful.FilterFunction

BuildJWTAuthFunc build the JWT authentication filter function

Types

type AuthResource

type AuthResource struct {
	// contains filtered or unexported fields
}

AuthResource user resource

func NewAuthResource

func NewAuthResource(store users.UserStore, authFilter restful.FilterFunction, certs *auth.Certs) *AuthResource

NewAuthResource create a new user resource

func (AuthResource) Register

func (ar AuthResource) Register(container *restful.Container)

Register register the user resource with the rest container.

type UserResource

type UserResource struct {
	// contains filtered or unexported fields
}

UserResource user resource

func NewUserResource

func NewUserResource(store users.UserStore, authFilter restful.FilterFunction) *UserResource

NewUserResource create a new user resource

func (UserResource) Register

func (ur UserResource) Register(container *restful.Container)

Register register the user resource with the rest container.

Jump to

Keyboard shortcuts

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